
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
7fa9399
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu124", | |
"_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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-211.872.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.1", | |
"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.180992, | |
"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.424380859375, | |
"mean": 7.424380859375, | |
"stdev": 0.0, | |
"p50": 7.424380859375, | |
"p90": 7.424380859375, | |
"p95": 7.424380859375, | |
"p99": 7.424380859375, | |
"values": [ | |
7.424380859375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0719099958332695e-06, | |
"ram": 5.716064019103128e-07, | |
"gpu": 0.0, | |
"total": 1.6435163977435824e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1078.407168, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 145, | |
"total": 0.9961167068481449, | |
"mean": 0.006869770392056169, | |
"stdev": 0.0002793688847444557, | |
"p50": 0.006853631973266602, | |
"p90": 0.007200563144683838, | |
"p95": 0.007306239986419677, | |
"p99": 0.007415234489440918, | |
"values": [ | |
0.007401472091674805, | |
0.007426047801971435, | |
0.007361504077911377, | |
0.007379968166351319, | |
0.007336959838867187, | |
0.0073175039291381834, | |
0.007261184215545655, | |
0.00716703987121582, | |
0.007103487968444824, | |
0.00722431993484497, | |
0.007217152118682861, | |
0.007155712127685547, | |
0.007031807899475098, | |
0.007046144008636474, | |
0.007060480117797851, | |
0.007074816226959229, | |
0.007162879943847656, | |
0.007090176105499267, | |
0.0072325119972229, | |
0.007216127872467041, | |
0.007100448131561279, | |
0.007066688060760498, | |
0.00709939193725586, | |
0.007189504146575928, | |
0.007180287837982178, | |
0.007153664112091064, | |
0.007129087924957276, | |
0.0071199040412902835, | |
0.007114751815795899, | |
0.007131135940551757, | |
0.007126016139984131, | |
0.007105535984039306, | |
0.007054336071014404, | |
0.007029759883880615, | |
0.007039999961853028, | |
0.00704307222366333, | |
0.007104512214660645, | |
0.007079936027526855, | |
0.00710041618347168, | |
0.0070594558715820314, | |
0.00713318395614624, | |
0.007152703762054444, | |
0.007187456130981445, | |
0.007168000221252442, | |
0.007328767776489258, | |
0.0070594558715820314, | |
0.006972415924072266, | |
0.007061503887176514, | |
0.007111680030822754, | |
0.007072768211364746, | |
0.006803455829620361, | |
0.0068280320167541505, | |
0.006800384044647217, | |
0.006747136116027832, | |
0.006749184131622315, | |
0.006802432060241699, | |
0.006848512172698974, | |
0.006913023948669434, | |
0.006773759841918945, | |
0.006760447978973389, | |
0.006853631973266602, | |
0.00679423999786377, | |
0.0068197760581970215, | |
0.0068577280044555666, | |
0.006791168212890625, | |
0.006851583957672119, | |
0.0069283838272094726, | |
0.00690176010131836, | |
0.006851583957672119, | |
0.006907904148101806, | |
0.00688640022277832, | |
0.006760447978973389, | |
0.006842368125915528, | |
0.006853631973266602, | |
0.006755328178405762, | |
0.007017471790313721, | |
0.007080959796905518, | |
0.007081984043121338, | |
0.007539743900299072, | |
0.007250944137573242, | |
0.00692633581161499, | |
0.007039999961853028, | |
0.006875135898590088, | |
0.006719520092010498, | |
0.006700032234191895, | |
0.006755328178405762, | |
0.006957056045532227, | |
0.006940671920776367, | |
0.007039999961853028, | |
0.007038976192474365, | |
0.0070563840866088865, | |
0.007207935810089112, | |
0.006945792198181152, | |
0.00678604793548584, | |
0.006709248065948486, | |
0.006647808074951172, | |
0.006689792156219483, | |
0.0067051520347595215, | |
0.006667263984680176, | |
0.00667955207824707, | |
0.006694911956787109, | |
0.006657023906707763, | |
0.0066979842185974124, | |
0.006689792156219483, | |
0.006687744140625, | |
0.006681600093841553, | |
0.006751232147216797, | |
0.006635519981384277, | |
0.006676511764526367, | |
0.006732800006866455, | |
0.006756351947784424, | |
0.00667852783203125, | |
0.006752255916595459, | |
0.006721536159515381, | |
0.006697919845581055, | |
0.0068280320167541505, | |
0.006732800006866455, | |
0.00667955207824707, | |
0.006687776088714599, | |
0.006666240215301514, | |
0.00643071985244751, | |
0.006446080207824707, | |
0.006441984176635742, | |
0.006406144142150879, | |
0.006523903846740723, | |
0.006405119895935059, | |
0.006448128223419189, | |
0.00643993616104126, | |
0.006411263942718506, | |
0.0064245758056640625, | |
0.006457344055175781, | |
0.006405119895935059, | |
0.00643071985244751, | |
0.006405119895935059, | |
0.006426623821258545, | |
0.006433728218078613, | |
0.006408192157745361, | |
0.006418432235717773, | |
0.00643993616104126, | |
0.006441984176635742, | |
0.0064245758056640625, | |
0.006406144142150879, | |
0.006428671836853027, | |
0.006372416019439697, | |
0.006449151992797852 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.56527262633784 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.921973870370504e-08, | |
"ram": 4.331379319253196e-08, | |
"gpu": 1.4460011568000023e-07, | |
"total": 2.6713364757623723e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3743444.560702935 | |
} | |
} | |
} | |
} |