
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
fde5198
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 765.046784, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.4531787109375, | |
"mean": 7.4531787109375, | |
"stdev": 0.0, | |
"p50": 7.4531787109375, | |
"p90": 7.4531787109375, | |
"p95": 7.4531787109375, | |
"p99": 7.4531787109375, | |
"values": [ | |
7.4531787109375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0968255027784658e-06, | |
"ram": 5.626734409536839e-07, | |
"gpu": 1.865001491999866e-06, | |
"total": 3.5245004357320155e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 958.414848, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 150, | |
"total": 0.996429791927338, | |
"mean": 0.006642865279515584, | |
"stdev": 0.0001974270346504908, | |
"p50": 0.00669542407989502, | |
"p90": 0.006864838314056396, | |
"p95": 0.006911539268493652, | |
"p99": 0.007029262428283691, | |
"values": [ | |
0.007027711868286133, | |
0.007045119762420654, | |
0.006910975933074951, | |
0.007030752182006836, | |
0.006986752033233643, | |
0.006870016098022461, | |
0.006864831924438476, | |
0.0069283838272094726, | |
0.006946815967559815, | |
0.00683622407913208, | |
0.006864895820617676, | |
0.006799456119537354, | |
0.006751232147216797, | |
0.006724607944488525, | |
0.006649856090545654, | |
0.006659071922302246, | |
0.00672051191329956, | |
0.006716479778289795, | |
0.006770688056945801, | |
0.0070266880989074704, | |
0.006751232147216797, | |
0.006883327960968018, | |
0.006792191982269287, | |
0.006691679954528808, | |
0.006804480075836182, | |
0.006744063854217529, | |
0.006825984001159668, | |
0.006823935985565186, | |
0.006883327960968018, | |
0.00672051191329956, | |
0.006807519912719727, | |
0.00676966381072998, | |
0.00675328016281128, | |
0.0067758078575134275, | |
0.006750207901000976, | |
0.006685696125030518, | |
0.006649856090545654, | |
0.006691904067993164, | |
0.006739967823028564, | |
0.0067276802062988285, | |
0.006744063854217529, | |
0.006780928134918213, | |
0.006779903888702392, | |
0.006778880119323731, | |
0.006841343879699707, | |
0.006873087882995605, | |
0.006804480075836182, | |
0.006825984001159668, | |
0.0067983360290527345, | |
0.006790143966674805, | |
0.00672870397567749, | |
0.006793216228485107, | |
0.006912000179290771, | |
0.006783999919891357, | |
0.0068351998329162595, | |
0.006858751773834228, | |
0.006791168212890625, | |
0.006665215969085693, | |
0.006743040084838867, | |
0.006747136116027832, | |
0.0067205758094787595, | |
0.006849535942077637, | |
0.006817791938781738, | |
0.006615039825439453, | |
0.006738944053649902, | |
0.006813695907592773, | |
0.006779903888702392, | |
0.006696959972381592, | |
0.006774784088134766, | |
0.006729728221893311, | |
0.00682700777053833, | |
0.0068618240356445315, | |
0.006874112129211426, | |
0.006793216228485107, | |
0.006855679988861084, | |
0.006804480075836182, | |
0.00672870397567749, | |
0.0066938881874084475, | |
0.00676966381072998, | |
0.006676479816436768, | |
0.006781951904296875, | |
0.0067645440101623535, | |
0.006665215969085693, | |
0.006618112087249756, | |
0.0065146880149841305, | |
0.006534143924713135, | |
0.006663199901580811, | |
0.006536191940307618, | |
0.006411263942718506, | |
0.006391808032989502, | |
0.006576064109802246, | |
0.006632448196411133, | |
0.006639616012573242, | |
0.0066375679969787596, | |
0.006602752208709717, | |
0.006703104019165039, | |
0.0066979842185974124, | |
0.006690815925598144, | |
0.006666240215301514, | |
0.006419456005096436, | |
0.006313983917236328, | |
0.006428671836853027, | |
0.006402048110961914, | |
0.006392831802368164, | |
0.0063805441856384275, | |
0.0063498239517211915, | |
0.006393856048583985, | |
0.006360064029693604, | |
0.006411263942718506, | |
0.006404096126556396, | |
0.006369279861450195, | |
0.006337535858154297, | |
0.006495232105255127, | |
0.006847487926483154, | |
0.006347904205322266, | |
0.006342656135559082, | |
0.006385663986206055, | |
0.0063937602043151855, | |
0.006352896213531494, | |
0.006435840129852295, | |
0.006403071880340576, | |
0.006411263942718506, | |
0.006398975849151611, | |
0.006388735771179199, | |
0.00637440013885498, | |
0.00638259220123291, | |
0.006412191867828369, | |
0.006461440086364746, | |
0.006428671836853027, | |
0.0064133119583129885, | |
0.006434815883636475, | |
0.006388735771179199, | |
0.006392831802368164, | |
0.006362112045288086, | |
0.0063805761337280276, | |
0.006605792045593262, | |
0.006668288230895996, | |
0.006523903846740723, | |
0.006433728218078613, | |
0.006367231845855713, | |
0.006398975849151611, | |
0.006363135814666748, | |
0.006346752166748047, | |
0.006353024005889892, | |
0.0063498239517211915, | |
0.006384640216827392, | |
0.0064174079895019534, | |
0.006415359973907471, | |
0.006419456005096436, | |
0.006354944229125976 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 150.5374500192969 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.151395013805145e-08, | |
"ram": 3.9101141007227635e-08, | |
"gpu": 1.3883377907229344e-07, | |
"total": 2.494488702175725e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4008837.5590869067 | |
} | |
} | |
} | |
} |