IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a2a894c
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"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, | |
"latency": true, | |
"memory": true, | |
"energy": false, | |
"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 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.2.1", | |
"optimum_benchmark_commit": "3731aa19b0b76022fb42f78436721c579f50c777", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1009.184768, | |
"max_global_vram": 897.671168, | |
"max_process_vram": 195785.351168, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.443712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 122, | |
"total": 0.9971536002159119, | |
"mean": 0.008173390165704196, | |
"stdev": 0.0004158763560911645, | |
"p50": 0.00804012393951416, | |
"p90": 0.008482169437408447, | |
"p95": 0.008640017223358153, | |
"p99": 0.009876699361801135, | |
"values": [ | |
0.008206522941589356, | |
0.008352441787719727, | |
0.008676920890808106, | |
0.008797880172729491, | |
0.008784119606018066, | |
0.008714521408081054, | |
0.008642041206359863, | |
0.008484121322631835, | |
0.008361883163452148, | |
0.008384602546691895, | |
0.008377882957458496, | |
0.008355961799621583, | |
0.008235483169555665, | |
0.0084519624710083, | |
0.008209564208984376, | |
0.008207483291625977, | |
0.008228443145751952, | |
0.008151482582092286, | |
0.008302522659301757, | |
0.008278681755065917, | |
0.008162363052368164, | |
0.008190523147583008, | |
0.008229883193969726, | |
0.008175003051757812, | |
0.008181882858276366, | |
0.008191963195800782, | |
0.008149402618408203, | |
0.008138202667236328, | |
0.00810892391204834, | |
0.00809276294708252, | |
0.008536122322082519, | |
0.008601561546325683, | |
0.008581082344055175, | |
0.008561881065368652, | |
0.00846460247039795, | |
0.008431002616882325, | |
0.008311323165893555, | |
0.008298201560974121, | |
0.008521882057189942, | |
0.010163474082946777, | |
0.008429402351379395, | |
0.008176603317260743, | |
0.008041563987731934, | |
0.00814892292022705, | |
0.008051963806152343, | |
0.007985404014587402, | |
0.007997084140777587, | |
0.007956284046173096, | |
0.007976123809814453, | |
0.007942523956298828, | |
0.00798284387588501, | |
0.007953564167022704, | |
0.007936604976654053, | |
0.008003164291381835, | |
0.008008764266967774, | |
0.008015164375305176, | |
0.007994204044342042, | |
0.008001243591308594, | |
0.007984924793243408, | |
0.008014524459838867, | |
0.007974204063415527, | |
0.008005884170532227, | |
0.008043964385986329, | |
0.008029563903808594, | |
0.008063963890075684, | |
0.007996284008026123, | |
0.008019964218139648, | |
0.008038683891296387, | |
0.008067963600158691, | |
0.008086043357849121, | |
0.008133084297180175, | |
0.008078683853149414, | |
0.008100282669067383, | |
0.008100604057312012, | |
0.008030203819274903, | |
0.008083643913269043, | |
0.008000123977661132, | |
0.00797516393661499, | |
0.007997404098510743, | |
0.007930045127868652, | |
0.008017244338989258, | |
0.007979165077209473, | |
0.011600268363952638, | |
0.00830956268310547, | |
0.008061564445495606, | |
0.008043483734130859, | |
0.008047642707824708, | |
0.007993564128875733, | |
0.007948284149169921, | |
0.007991323947906494, | |
0.007958683967590332, | |
0.008024124145507813, | |
0.00799212408065796, | |
0.007972603797912597, | |
0.008011323928833008, | |
0.007947003841400147, | |
0.008034363746643066, | |
0.007945565223693848, | |
0.007983963966369629, | |
0.00800284481048584, | |
0.007997724056243896, | |
0.008043804168701173, | |
0.008016923904418945, | |
0.007955324172973633, | |
0.00795996379852295, | |
0.008047324180603027, | |
0.008029884338378906, | |
0.007974843978881836, | |
0.007894044876098632, | |
0.007913723945617675, | |
0.007900603771209717, | |
0.007908764839172364, | |
0.007907965183258057, | |
0.008032923698425292, | |
0.007995644092559814, | |
0.008033723831176757, | |
0.008021723747253419, | |
0.008022844314575195, | |
0.008006684303283692, | |
0.00800908374786377, | |
0.008001242637634277, | |
0.00796092414855957 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 122.34825203818504 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |