
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
79584c0
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"model": "FacebookAI/roberta-base", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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.14", | |
"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.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 889.99936, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 152, | |
"total": 0.9956670055389397, | |
"mean": 0.006550440825914081, | |
"stdev": 0.00020321217843591294, | |
"p50": 0.0066206719875335695, | |
"p90": 0.006772531270980835, | |
"p95": 0.006805401682853699, | |
"p99": 0.0069843455123901384, | |
"values": [ | |
0.007175168037414551, | |
0.006770688056945801, | |
0.006804480075836182, | |
0.00676966381072998, | |
0.006762495994567871, | |
0.00672051191329956, | |
0.00677785587310791, | |
0.0067983360290527345, | |
0.006725632190704346, | |
0.0066979842185974124, | |
0.0067358717918396, | |
0.006731808185577393, | |
0.006686719894409179, | |
0.006729728221893311, | |
0.006681600093841553, | |
0.006598656177520752, | |
0.006647808074951172, | |
0.0066826238632202144, | |
0.006649856090545654, | |
0.006793216228485107, | |
0.006772736072540283, | |
0.006803455829620361, | |
0.006750207901000976, | |
0.006721536159515381, | |
0.006661119937896728, | |
0.006603775978088379, | |
0.007080959796905518, | |
0.006809599876403808, | |
0.006762495994567871, | |
0.006879231929779053, | |
0.006731776237487793, | |
0.006702079772949219, | |
0.006599679946899414, | |
0.006721471786499024, | |
0.00672051191329956, | |
0.006696959972381592, | |
0.00667955207824707, | |
0.006551551818847656, | |
0.006511616230010986, | |
0.0066375679969787596, | |
0.0066447358131408694, | |
0.006590464115142822, | |
0.006604800224304199, | |
0.0067276802062988285, | |
0.006683648109436035, | |
0.006690815925598144, | |
0.006752255916595459, | |
0.006685696125030518, | |
0.006804480075836182, | |
0.006746111869812011, | |
0.006694911956787109, | |
0.006627327919006347, | |
0.006680575847625733, | |
0.006680575847625733, | |
0.006686719894409179, | |
0.0067040958404541015, | |
0.0068915200233459475, | |
0.006599679946899414, | |
0.006646783828735352, | |
0.006622208118438721, | |
0.006590496063232422, | |
0.006673408031463623, | |
0.006874112129211426, | |
0.0067358717918396, | |
0.006647808074951172, | |
0.006685696125030518, | |
0.006628352165222168, | |
0.006694911956787109, | |
0.006680575847625733, | |
0.006603775978088379, | |
0.006619135856628418, | |
0.006642687797546387, | |
0.006646783828735352, | |
0.006806528091430664, | |
0.006780928134918213, | |
0.006750207901000976, | |
0.006840320110321045, | |
0.0067338237762451176, | |
0.006661119937896728, | |
0.0067010560035705566, | |
0.00667852783203125, | |
0.006638591766357422, | |
0.006707200050354004, | |
0.006676544189453125, | |
0.006625279903411865, | |
0.006465536117553711, | |
0.006516767978668213, | |
0.006635519981384277, | |
0.006512639999389648, | |
0.006341631889343262, | |
0.00628326416015625, | |
0.00639686393737793, | |
0.006387712001800537, | |
0.0064849920272827145, | |
0.0064245758056640625, | |
0.0064440321922302245, | |
0.006658048152923584, | |
0.006590464115142822, | |
0.006300672054290772, | |
0.006344704151153564, | |
0.006285312175750732, | |
0.0063836159706115725, | |
0.0063907837867736815, | |
0.006364160060882569, | |
0.006388735771179199, | |
0.0063272957801818845, | |
0.006329343795776367, | |
0.006335487842559814, | |
0.006294528007507324, | |
0.0063836159706115725, | |
0.006318079948425293, | |
0.006377471923828125, | |
0.006335487842559814, | |
0.00626585578918457, | |
0.006303743839263916, | |
0.006280159950256348, | |
0.006305791854858398, | |
0.006290527820587158, | |
0.006284287929534912, | |
0.006308864116668702, | |
0.00626585578918457, | |
0.006316031932830811, | |
0.006288383960723877, | |
0.006289408206939697, | |
0.006276095867156982, | |
0.006264832019805908, | |
0.006288383960723877, | |
0.00626585578918457, | |
0.006355967998504639, | |
0.006362112045288086, | |
0.006397952079772949, | |
0.00643891191482544, | |
0.006344704151153564, | |
0.006339583873748779, | |
0.006277120113372803, | |
0.006322175979614258, | |
0.0062904319763183595, | |
0.006276095867156982, | |
0.006298624038696289, | |
0.00628326416015625, | |
0.006301695823669433, | |
0.006281216144561768, | |
0.006293504238128662, | |
0.006333439826965332, | |
0.006250495910644531, | |
0.0062873601913452145, | |
0.006246399879455566, | |
0.006301695823669433, | |
0.006306816101074219, | |
0.006334464073181153, | |
0.00637440013885498, | |
0.006345727920532227 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 152.66148135312022 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.38967598266154e-08, | |
"ram": 4.039728372173039e-08, | |
"gpu": 1.3393730521772734e-07, | |
"total": 2.4823134876607313e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4028500.0463111307 | |
} | |
} | |
} | |
} |