
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6b17284
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.223-212.873.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.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 788.717568, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.3524931640625, | |
"mean": 7.3524931640625, | |
"stdev": 0.0, | |
"p50": 7.3524931640625, | |
"p90": 7.3524931640625, | |
"p95": 7.3524931640625, | |
"p99": 7.3524931640625, | |
"values": [ | |
7.3524931640625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.799189965277066e-07, | |
"ram": 4.6603392119407206e-07, | |
"gpu": 1.6688902240002274e-06, | |
"total": 3.0148431417220063e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1085.2352, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 1.0007388195991511, | |
"mean": 0.00781827202811837, | |
"stdev": 0.000449926393128884, | |
"p50": 0.00785203218460083, | |
"p90": 0.00817959041595459, | |
"p95": 0.00862018551826477, | |
"p99": 0.009263485660552979, | |
"values": [ | |
0.008523776054382324, | |
0.008230912208557128, | |
0.007930880069732665, | |
0.007990272045135497, | |
0.008152064323425292, | |
0.008171520233154296, | |
0.008178688049316407, | |
0.008004608154296875, | |
0.008018943786621094, | |
0.007972864151000977, | |
0.008054783821105957, | |
0.00799129581451416, | |
0.00791756820678711, | |
0.00800870418548584, | |
0.00800767993927002, | |
0.008037376403808593, | |
0.008048640251159669, | |
0.008046591758728027, | |
0.007986176013946533, | |
0.00793497610092163, | |
0.00799948787689209, | |
0.0080250883102417, | |
0.007996416091918946, | |
0.008011775970458984, | |
0.008032256126403809, | |
0.008035264015197753, | |
0.00800972843170166, | |
0.007971839904785156, | |
0.008064000129699708, | |
0.00799948787689209, | |
0.007882751941680909, | |
0.007697408199310303, | |
0.007872511863708496, | |
0.0079268479347229, | |
0.007974912166595459, | |
0.00797388792037964, | |
0.00799129581451416, | |
0.008077312469482421, | |
0.007910399913787843, | |
0.008033280372619628, | |
0.008022015571594238, | |
0.007713791847229004, | |
0.007740416049957275, | |
0.007787519931793213, | |
0.007806975841522217, | |
0.007835584163665772, | |
0.007788544178009033, | |
0.007776256084442139, | |
0.0076308479309082035, | |
0.0076984319686889645, | |
0.007693312168121338, | |
0.007726079940795898, | |
0.008638463973999023, | |
0.009092096328735352, | |
0.008401920318603515, | |
0.007974912166595459, | |
0.007992383956909179, | |
0.007987199783325195, | |
0.008351743698120117, | |
0.007725056171417236, | |
0.007849984169006348, | |
0.007779327869415284, | |
0.00922214412689209, | |
0.00818169593811035, | |
0.007990272045135497, | |
0.008027135848999023, | |
0.00800870418548584, | |
0.007925759792327881, | |
0.007968768119812012, | |
0.00790015983581543, | |
0.007889920234680176, | |
0.00774454402923584, | |
0.007846911907196046, | |
0.007890944004058837, | |
0.007693312168121338, | |
0.007589888095855713, | |
0.007589888095855713, | |
0.008586239814758301, | |
0.009231295585632324, | |
0.009368576049804688, | |
0.009275391578674316, | |
0.009041919708251953, | |
0.00796569585800171, | |
0.007854080200195313, | |
0.007661568164825439, | |
0.007617536067962646, | |
0.007576576232910156, | |
0.007667712211608887, | |
0.007560192108154297, | |
0.007561215877532959, | |
0.007535615921020508, | |
0.0075304961204528805, | |
0.007588863849639893, | |
0.007549983978271484, | |
0.00753868818283081, | |
0.007359488010406494, | |
0.007306303977966309, | |
0.007321599960327148, | |
0.007285759925842285, | |
0.007311359882354736, | |
0.007291903972625732, | |
0.007310336112976074, | |
0.007300127983093261, | |
0.007310336112976074, | |
0.007259136199951172, | |
0.007305215835571289, | |
0.007310336112976074, | |
0.00729702377319336, | |
0.007312384128570557, | |
0.007294976234436036, | |
0.007259136199951172, | |
0.007304192066192627, | |
0.007312384128570557, | |
0.007304192066192627, | |
0.007292928218841553, | |
0.007307263851165771, | |
0.007261184215545655, | |
0.007274496078491211, | |
0.007284736156463623, | |
0.007301119804382325, | |
0.007299071788787842, | |
0.007321599960327148, | |
0.007258111953735351, | |
0.007302144050598145, | |
0.007289824008941651, | |
0.007315455913543701, | |
0.00729702377319336, | |
0.007288832187652588 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.9055009090891 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.656618730231238e-08, | |
"ram": 4.728614380956148e-08, | |
"gpu": 1.7710881970803196e-07, | |
"total": 3.1096115081990583e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3215835.796090018 | |
} | |
} | |
} | |
} |