IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5aa52bc
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_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": 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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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.4.0", | |
"optimum_benchmark_commit": "65fa416fd503cfe9a2be7637ee30c70a4a1f96f1", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"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": 903.180288, | |
"max_global_vram": 841.76896, | |
"max_process_vram": 45891.321856, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.16346142578125, | |
"mean": 7.16346142578125, | |
"stdev": 0.0, | |
"p50": 7.16346142578125, | |
"p90": 7.16346142578125, | |
"p95": 7.16346142578125, | |
"p99": 7.16346142578125, | |
"values": [ | |
7.16346142578125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1016.774656, | |
"max_global_vram": 896.335872, | |
"max_process_vram": 210329.690112, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 142, | |
"total": 0.997850569009781, | |
"mean": 0.007027116683167471, | |
"stdev": 0.001211544997441332, | |
"p50": 0.006848674058914185, | |
"p90": 0.007212708139419556, | |
"p95": 0.007453437113761902, | |
"p99": 0.009323262262344369, | |
"values": [ | |
0.007285796165466309, | |
0.007286116123199463, | |
0.007539078235626221, | |
0.007598917961120605, | |
0.00789875888824463, | |
0.007596037864685059, | |
0.007508677005767822, | |
0.007455397129058838, | |
0.007416196823120117, | |
0.007222916126251221, | |
0.007205795764923095, | |
0.0072241959571838375, | |
0.007184676170349121, | |
0.020005859375, | |
0.0022944109439849854, | |
0.006813794136047363, | |
0.007060675144195556, | |
0.007048514842987061, | |
0.007077314853668213, | |
0.007049795150756836, | |
0.01031317138671875, | |
0.006991714954376221, | |
0.006806114196777344, | |
0.006775232791900634, | |
0.006813154220581054, | |
0.0068313941955566405, | |
0.006873953819274903, | |
0.006846913814544678, | |
0.006824994087219238, | |
0.006829954147338867, | |
0.006836674213409424, | |
0.006849473953247071, | |
0.006835073947906494, | |
0.006813154220581054, | |
0.006838274002075195, | |
0.006835554122924805, | |
0.006917954921722412, | |
0.006923075199127197, | |
0.006845794200897217, | |
0.006829954147338867, | |
0.006834114074707031, | |
0.006842275142669677, | |
0.006857793807983398, | |
0.006835554122924805, | |
0.0068304347991943355, | |
0.006846434116363526, | |
0.006846593856811523, | |
0.0068317151069641115, | |
0.006867554187774658, | |
0.006852513790130616, | |
0.006835874080657959, | |
0.0068025941848754885, | |
0.006919075012207032, | |
0.006840514183044434, | |
0.00681075382232666, | |
0.006842433929443359, | |
0.006852993965148926, | |
0.006859873771667481, | |
0.00687059497833252, | |
0.0068459539413452146, | |
0.006898594856262207, | |
0.006872513771057129, | |
0.0067651538848876955, | |
0.006792674064636231, | |
0.006834115028381348, | |
0.0068693141937255855, | |
0.00682659387588501, | |
0.00684051513671875, | |
0.006867713928222656, | |
0.006789793968200683, | |
0.0068037137985229494, | |
0.006863074779510498, | |
0.006852354049682617, | |
0.006801154136657715, | |
0.006850114822387695, | |
0.00683859395980835, | |
0.006814434051513672, | |
0.006847554206848144, | |
0.006829154014587402, | |
0.006807074069976806, | |
0.006856674194335937, | |
0.0068027529716491696, | |
0.006847393989562988, | |
0.006832193851470947, | |
0.006810433864593506, | |
0.006839875221252441, | |
0.006848194122314453, | |
0.0068081941604614254, | |
0.006861635208129883, | |
0.006808834075927734, | |
0.006809154033660889, | |
0.006849954128265381, | |
0.006803073883056641, | |
0.0067771530151367184, | |
0.006853154182434082, | |
0.006772833824157715, | |
0.006796673774719238, | |
0.00679219388961792, | |
0.006785473823547363, | |
0.00682659387588501, | |
0.006801794052124024, | |
0.006792994022369385, | |
0.006853154182434082, | |
0.006785793781280518, | |
0.006819394111633301, | |
0.007172036170959473, | |
0.007142274856567383, | |
0.007151555061340332, | |
0.007213476181030273, | |
0.007123875141143799, | |
0.007201475143432617, | |
0.0071803550720214845, | |
0.007174435138702392, | |
0.0071400351524353025, | |
0.007188035011291504, | |
0.007355395793914795, | |
0.007162115097045898, | |
0.007086115837097168, | |
0.006934275150299072, | |
0.0071497950553894045, | |
0.007167715072631836, | |
0.007170595169067383, | |
0.007192036151885986, | |
0.007140995025634766, | |
0.0071569948196411135, | |
0.006946273803710937, | |
0.006876514911651611, | |
0.006818433761596679, | |
0.006858273983001709, | |
0.006780673027038575, | |
0.00682435417175293, | |
0.006836353778839111, | |
0.00690499496459961, | |
0.006848834037780762, | |
0.006850112915039062, | |
0.006806592941284179, | |
0.006835554122924805, | |
0.006831714153289795, | |
0.006844674110412598, | |
0.006848514080047607, | |
0.006851714134216308, | |
0.006853475093841553 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.30587666138626 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |