
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
bf2cebe
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_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": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 901.955584, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 144, | |
"total": 0.9981171216964722, | |
"mean": 0.006931368900669945, | |
"stdev": 0.00039718874705697816, | |
"p50": 0.006967296123504638, | |
"p90": 0.007132979154586792, | |
"p95": 0.007193753576278686, | |
"p99": 0.009083207502365109, | |
"values": [ | |
0.009705471992492675, | |
0.009248767852783203, | |
0.008863743782043456, | |
0.007229440212249756, | |
0.007302144050598145, | |
0.007219200134277344, | |
0.0072468481063842774, | |
0.007153664112091064, | |
0.0070553598403930665, | |
0.007029759883880615, | |
0.007057407855987549, | |
0.007045119762420654, | |
0.007066624164581299, | |
0.0069918718338012695, | |
0.006917119979858399, | |
0.006971392154693603, | |
0.007024640083312988, | |
0.007007232189178467, | |
0.007065599918365479, | |
0.007069695949554444, | |
0.0069918718338012695, | |
0.007003039836883545, | |
0.007196671962738037, | |
0.007109600067138672, | |
0.007012320041656494, | |
0.006999040126800537, | |
0.0069764480590820315, | |
0.006982656002044678, | |
0.007007199764251709, | |
0.006923264026641846, | |
0.006931456089019775, | |
0.007020544052124023, | |
0.006977536201477051, | |
0.0069582400321960445, | |
0.006930431842803955, | |
0.006870016098022461, | |
0.006904831886291504, | |
0.00679423999786377, | |
0.006978559970855713, | |
0.007024640083312988, | |
0.0069959678649902345, | |
0.007016448020935059, | |
0.007037951946258545, | |
0.007121920108795166, | |
0.007142399787902832, | |
0.007137279987335205, | |
0.00714137601852417, | |
0.007048192024230957, | |
0.007039999961853028, | |
0.0070594558715820314, | |
0.00709939193725586, | |
0.0069632000923156735, | |
0.007051263809204102, | |
0.006998015880584717, | |
0.006993919849395752, | |
0.0069918718338012695, | |
0.0070256638526916505, | |
0.007035903930664063, | |
0.007053311824798584, | |
0.0071526398658752445, | |
0.006993919849395752, | |
0.006973440170288086, | |
0.006988800048828125, | |
0.006990816116333008, | |
0.0069816322326660156, | |
0.007116799831390381, | |
0.007038976192474365, | |
0.00707583999633789, | |
0.007058432102203369, | |
0.007168000221252442, | |
0.007177216053009033, | |
0.0071188478469848635, | |
0.007122943878173828, | |
0.00704307222366333, | |
0.007080959796905518, | |
0.007073791980743408, | |
0.006986752033233643, | |
0.007069695949554444, | |
0.006951903820037842, | |
0.006944767951965332, | |
0.0068577280044555666, | |
0.006814720153808594, | |
0.007031807899475098, | |
0.006846464157104492, | |
0.006663167953491211, | |
0.006658048152923584, | |
0.00667955207824707, | |
0.006722559928894043, | |
0.0068577280044555666, | |
0.006851583957672119, | |
0.00679423999786377, | |
0.006897664070129395, | |
0.007065599918365479, | |
0.006983744144439697, | |
0.006738944053649902, | |
0.006700032234191895, | |
0.006747136116027832, | |
0.006749152183532715, | |
0.006767615795135498, | |
0.0066979842185974124, | |
0.006692863941192627, | |
0.006659071922302246, | |
0.006686719894409179, | |
0.0066416640281677245, | |
0.006645760059356689, | |
0.006666240215301514, | |
0.006668288230895996, | |
0.0066713600158691405, | |
0.0066304001808166506, | |
0.0066590080261230465, | |
0.006658048152923584, | |
0.0066641921997070315, | |
0.0066375679969787596, | |
0.006636544227600098, | |
0.006626304149627686, | |
0.006635519981384277, | |
0.006669312000274658, | |
0.0066007041931152345, | |
0.006632448196411133, | |
0.006615039825439453, | |
0.006624256134033203, | |
0.0066344962120056155, | |
0.006628352165222168, | |
0.006644703865051269, | |
0.006684671878814697, | |
0.006635519981384277, | |
0.006643712043762207, | |
0.006584320068359375, | |
0.006624256134033203, | |
0.006597663879394531, | |
0.006601727962493896, | |
0.006597631931304931, | |
0.00659660816192627, | |
0.006594560146331787, | |
0.006632448196411133, | |
0.006603775978088379, | |
0.006729728221893311, | |
0.0066375679969787596, | |
0.006614016056060791, | |
0.006635488033294678, | |
0.0066999998092651366, | |
0.006621183872222901, | |
0.006609920024871826, | |
0.006591487884521485 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 144.27164595197723 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.419745748241743e-08, | |
"ram": 4.056152516795918e-08, | |
"gpu": 1.3818413832499703e-07, | |
"total": 2.5294312097537366e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3953457.979580157 | |
} | |
} | |
} | |
} |