IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
865cb7b verified
raw
history blame
11.2 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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": {},
"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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.224-212.876.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 799.813632,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.03243505859375,
"mean": 8.03243505859375,
"stdev": 0.0,
"p50": 8.03243505859375,
"p90": 8.03243505859375,
"p95": 8.03243505859375,
"p99": 8.03243505859375,
"values": [
8.03243505859375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.4062184152752606e-06,
"ram": 1.2557112861980013e-06,
"gpu": 3.5061139159985044e-06,
"total": 7.168043617471767e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1095.774208,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 125,
"total": 0.9991353602409366,
"mean": 0.00799308288192749,
"stdev": 0.00028542777908318175,
"p50": 0.008064000129699708,
"p90": 0.008177459335327148,
"p95": 0.008266751861572266,
"p99": 0.008845885200500489,
"values": [
0.008276991844177246,
0.0082227201461792,
0.008169471740722656,
0.008215583801269532,
0.008143872261047362,
0.008141823768615723,
0.008613887786865235,
0.008156160354614257,
0.008121343612670898,
0.008169471740722656,
0.008152064323425292,
0.008069120407104492,
0.008028160095214844,
0.008095744132995606,
0.008175616264343261,
0.0081725435256958,
0.008148991584777832,
0.008168448448181152,
0.008112128257751466,
0.008076255798339843,
0.008038399696350097,
0.008117247581481933,
0.008138751983642578,
0.008119296073913575,
0.008159232139587403,
0.008151040077209473,
0.008124416351318359,
0.008085503578186035,
0.008138751983642578,
0.008089599609375,
0.0081080322265625,
0.008060928344726562,
0.008043519973754883,
0.008062975883483887,
0.00808140754699707,
0.008078335762023926,
0.008057855606079101,
0.00809881591796875,
0.008132608413696289,
0.008165375709533691,
0.008185855865478516,
0.008162303924560547,
0.008118271827697754,
0.008281056404113769,
0.008064000129699708,
0.008099840164184571,
0.0081428804397583,
0.008175616264343261,
0.008117247581481933,
0.008847359657287598,
0.008140800476074218,
0.008027135848999023,
0.008038399696350097,
0.008053759574890136,
0.008126463890075684,
0.00810905647277832,
0.008014847755432129,
0.008054783821105957,
0.008010751724243164,
0.008067071914672852,
0.00800051212310791,
0.008037376403808593,
0.008151040077209473,
0.008160256385803222,
0.008181759834289551,
0.008170495986938477,
0.008178688049316407,
0.008059904098510743,
0.008129599571228028,
0.008121343612670898,
0.008027135848999023,
0.008164352416992187,
0.008036352157592774,
0.008005632400512695,
0.007932928085327149,
0.007938047885894776,
0.008043519973754883,
0.007873536109924317,
0.007771200180053711,
0.007827487945556641,
0.007977983951568603,
0.008106016159057617,
0.007979008197784423,
0.007974912166595459,
0.008012800216674805,
0.008103936195373536,
0.008841216087341308,
0.00912384033203125,
0.008679424285888672,
0.008095744132995606,
0.007831552028656007,
0.007663616180419922,
0.008225791931152344,
0.007703551769256592,
0.007631872177124023,
0.007671807765960693,
0.007692287921905518,
0.007683072090148926,
0.007696383953094482,
0.00764415979385376,
0.007635968208312988,
0.007600128173828125,
0.007624703884124756,
0.00760316801071167,
0.007628799915313721,
0.007613440036773681,
0.007605247974395752,
0.007619584083557129,
0.007600128173828125,
0.007605247974395752,
0.0076195521354675295,
0.007650303840637207,
0.007654399871826172,
0.0076687359809875484,
0.0076912641525268555,
0.0075008001327514645,
0.007516160011291504,
0.007477248191833496,
0.007523327827453613,
0.007517183780670166,
0.007521279811859131,
0.007508992195129394,
0.00748748779296875,
0.007555071830749512,
0.007636991977691651
]
},
"throughput": {
"unit": "samples/s",
"value": 125.1081735009928
},
"energy": {
"unit": "kWh",
"cpu": 8.742460303818372e-08,
"ram": 4.7772841207121465e-08,
"gpu": 1.661316688529412e-07,
"total": 3.0132911309824637e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3318630.5488973996
}
}
}
}