IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5fdc0c2 verified
raw
history blame
11.8 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"hub_kwargs": {},
"no_weights": true,
"device_map": null,
"torch_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"autocast_enabled": false,
"autocast_dtype": null,
"torch_compile": false,
"torch_compile_target": "forward",
"torch_compile_config": {},
"quantization_scheme": null,
"quantization_config": {},
"deepspeed_inference": false,
"deepspeed_inference_config": {},
"peft_type": null,
"peft_config": {}
},
"scenario": {
"name": "inference",
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
"iterations": 1,
"duration": 1,
"warmup_runs": 1,
"input_shapes": {
"batch_size": 1,
"num_choices": 2,
"sequence_length": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": true,
"forward_kwargs": {},
"generate_kwargs": {
"max_new_tokens": 2,
"min_new_tokens": 2
},
"call_kwargs": {
"num_inference_steps": 2
}
},
"launcher": {
"name": "process",
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
"device_isolation": true,
"device_isolation_action": "error",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 716.865536,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.372544
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.19010595703125,
"mean": 7.19010595703125,
"stdev": 0.0,
"p50": 7.19010595703125,
"p90": 7.19010595703125,
"p95": 7.19010595703125,
"p99": 7.19010595703125,
"values": [
7.19010595703125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.007458885510763e-07,
"ram": 4.778481651867613e-07,
"gpu": 1.8325014659995899e-06,
"total": 3.2110955197374277e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 916.918272,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 137,
"total": 0.9995757150650024,
"mean": 0.007296173102664252,
"stdev": 0.00023776907766749308,
"p50": 0.007198719978332519,
"p90": 0.0076224513053894044,
"p95": 0.007657625770568847,
"p99": 0.007776665687561035,
"values": [
0.007780352115631104,
0.0073994240760803225,
0.007464960098266602,
0.007417856216430664,
0.007364607810974121,
0.00729702377319336,
0.007311391830444336,
0.00719974422454834,
0.007202816009521484,
0.007243775844573975,
0.007466015815734864,
0.007506944179534912,
0.007478271961212158,
0.00754585599899292,
0.007549952030181885,
0.007592959880828858,
0.0077506561279296875,
0.007610367774963379,
0.0075980801582336424,
0.007628799915313721,
0.0076267518997192385,
0.007621632099151611,
0.007924736022949219,
0.007619584083557129,
0.007639039993286132,
0.007571455955505371,
0.007568384170532226,
0.007558144092559814,
0.007770112037658691,
0.007570432186126709,
0.007554048061370849,
0.007713791847229004,
0.0076063041687011715,
0.007553023815155029,
0.00753766393661499,
0.0075632638931274416,
0.007679999828338623,
0.007634912014007568,
0.007655360221862793,
0.007591936111450195,
0.007666687965393066,
0.007561215877532959,
0.007535615921020508,
0.007625728130340576,
0.007623680114746094,
0.007588863849639893,
0.007571455955505371,
0.007528448104858398,
0.0074670081138610836,
0.007169023990631103,
0.0071823358535766605,
0.00725708818435669,
0.007102464199066162,
0.0071495680809020995,
0.007198719978332519,
0.007177216053009033,
0.0071833600997924804,
0.0071526398658752445,
0.007223296165466309,
0.00729804801940918,
0.007365632057189942,
0.007249887943267822,
0.007277567863464355,
0.007331840038299561,
0.0072540159225463864,
0.007192575931549072,
0.00714035177230835,
0.007168000221252442,
0.007147520065307617,
0.007121920108795166,
0.007029759883880615,
0.006965280055999756,
0.00710041618347168,
0.007014400005340577,
0.006809599876403808,
0.006808576107025147,
0.006813727855682373,
0.006830080032348633,
0.006907904148101806,
0.007435264110565186,
0.007432191848754883,
0.007511040210723877,
0.007611423969268799,
0.007501823902130127,
0.007436287879943848,
0.007314432144165039,
0.007325695991516113,
0.007292928218841553,
0.007184383869171143,
0.007231488227844239,
0.00713318395614624,
0.007129087924957276,
0.007022624015808106,
0.006993919849395752,
0.007072768211364746,
0.007013376235961914,
0.007013376235961914,
0.007049215793609619,
0.007124991893768311,
0.007102464199066162,
0.007105535984039306,
0.007143424034118652,
0.007108607769012451,
0.007126016139984131,
0.007136256217956543,
0.00714137601852417,
0.007103487968444824,
0.007116799831390381,
0.007123936176300049,
0.007111680030822754,
0.007135231971740722,
0.00709939193725586,
0.007322624206542969,
0.007106560230255127,
0.007132160186767578,
0.0071198720932006835,
0.0070891518592834475,
0.0071270718574523925,
0.007114751815795899,
0.007131135940551757,
0.007123968124389648,
0.007096320152282715,
0.007095295906066895,
0.007121920108795166,
0.007161856174468994,
0.007094272136688232,
0.007123968124389648,
0.007137279987335205,
0.007138304233551026,
0.007137279987335205,
0.007128064155578613,
0.007128064155578613,
0.007193600177764893,
0.007187456130981445,
0.007127103805541993,
0.007135231971740722,
0.007156735897064209
]
},
"throughput": {
"unit": "samples/s",
"value": 137.05815170898873
},
"energy": {
"unit": "kWh",
"cpu": 8.498434982602559e-08,
"ram": 4.630131570140842e-08,
"gpu": 1.7330966245714193e-07,
"total": 3.045953279845759e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3283044.4465997783
}
}
}
}