IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b295048 verified
raw
history blame
13.5 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+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.225-213.878.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 803.610624,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.08325545501708985
],
"count": 1,
"total": 0.08325545501708985,
"mean": 0.08325545501708985,
"p50": 0.08325545501708985,
"p90": 0.08325545501708985,
"p95": 0.08325545501708985,
"p99": 0.08325545501708985,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1079.54176,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.992512
},
"latency": {
"unit": "s",
"values": [
0.006115327835083008,
0.0056483840942382815,
0.005553120136260986,
0.0055214080810546875,
0.005480415821075439,
0.005618688106536865,
0.005509119987487793,
0.005556032180786132,
0.005639167785644531,
0.005701632022857666,
0.0055920639038085935,
0.005786623954772949,
0.0055838079452514644,
0.005601280212402344,
0.005552127838134766,
0.005496831893920898,
0.005554175853729248,
0.005539711952209473,
0.0055316481590271,
0.005534719944000244,
0.005582848072052002,
0.005570496082305908,
0.005464992046356201,
0.005367904186248779,
0.005359551906585693,
0.0053534722328186036,
0.005459968090057373,
0.005583871841430664,
0.005493760108947754,
0.005506048202514649,
0.0057784318923950195,
0.006178815841674804,
0.006478847980499268,
0.006301695823669433,
0.006526976108551025,
0.005986303806304932,
0.005830656051635743,
0.005819392204284668,
0.005858304023742676,
0.0058122239112854005,
0.005847040176391601,
0.005804031848907471,
0.005568511962890625,
0.005499807834625245,
0.005467135906219483,
0.005463039875030518,
0.005709663867950439,
0.005654528141021729,
0.005577727794647217,
0.005510303974151611,
0.005575679779052735,
0.005610496044158936,
0.005502975940704345,
0.00567193603515625,
0.005408768177032471,
0.00537395191192627,
0.005386240005493164,
0.0054241280555725096,
0.0054917120933532714,
0.005759039878845215,
0.0054876160621643065,
0.005578752040863037,
0.005480607986450195,
0.005396383762359619,
0.005488639831542969,
0.005438464164733887,
0.005509119987487793,
0.005458943843841553,
0.0054618239402770994,
0.005387263774871826,
0.005415103912353516,
0.005595071792602539,
0.00557862377166748,
0.005606400012969971,
0.005596096038818359,
0.00562063980102539,
0.005642240047454834,
0.005592991828918457,
0.005566463947296142,
0.005600255966186523,
0.005596159934997558,
0.00557260799407959,
0.005469183921813964,
0.005388288021087646,
0.0055203838348388675,
0.005497856140136719,
0.005561344146728516,
0.0053768959045410155,
0.005354496002197265,
0.005679103851318359,
0.005463039875030518,
0.005489664077758789,
0.005370880126953125,
0.005472256183624268,
0.005234752178192139,
0.005208159923553467,
0.005384191989898681,
0.005482495784759522,
0.0052641921043395995,
0.005131264209747314,
0.0051138558387756345,
0.005258207798004151,
0.0064787201881408695,
0.006700032234191895,
0.006688767910003662,
0.006651904106140137,
0.006660096168518067,
0.006005760192871094,
0.005776383876800537,
0.005832704067230224,
0.006692863941192627,
0.0063836159706115725,
0.005426176071166992,
0.0055203838348388675,
0.005513216018676758,
0.005467072010040284,
0.005483520030975342,
0.005420032024383545,
0.006426464080810547,
0.0055214080810546875,
0.005384191989898681,
0.00542310380935669,
0.005370880126953125,
0.005628928184509278,
0.005362656116485596,
0.005342207908630371,
0.0058009600639343266,
0.00541593599319458,
0.0056145920753479005,
0.005369855880737305,
0.0055214080810546875,
0.0054988799095153805,
0.005315584182739258,
0.00529804801940918,
0.005323775768280029,
0.005315584182739258,
0.005359615802764893,
0.005317696094512939,
0.005298175811767578,
0.005299200057983398,
0.005593088150024414,
0.005342207908630371,
0.005359615802764893,
0.005327871799468994,
0.0054271998405456545,
0.005292031764984131,
0.005323775768280029,
0.005278719902038574,
0.0053012480735778805,
0.005287968158721924,
0.0053136320114135745,
0.005205056190490723,
0.005089280128479004,
0.005045248031616211,
0.005059584140777588,
0.005030911922454834,
0.005073919773101807,
0.005053440093994141,
0.005061632156372071,
0.005261312007904053,
0.005224448204040527,
0.005228544235229492,
0.00526643180847168,
0.005221375942230225,
0.005662720203399658,
0.005380095958709717,
0.0053534722328186036,
0.005343232154846191,
0.00536678409576416,
0.005311488151550293,
0.005458943843841553,
0.005468160152435303,
0.005306367874145508,
0.00530944013595581,
0.005395328044891358,
0.005344255924224854,
0.005310463905334473,
0.005307392120361328,
0.005380095958709717,
0.00522649621963501
],
"count": 180,
"total": 0.9966320314407349,
"mean": 0.005536844619115194,
"p50": 0.005483007907867432,
"p90": 0.005830860853195191,
"p95": 0.00638575837612152,
"p99": 0.006689628076553345,
"stdev": 0.00032158305524068574,
"stdev_": 5.808056345494409
},
"throughput": {
"unit": "samples/s",
"value": 180.60828301875
},
"energy": {
"unit": "kWh",
"cpu": 6.492262241574762e-08,
"ram": 3.54242684246728e-08,
"gpu": 1.2853835419670505e-07,
"total": 2.2888524503712547e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4369001.592207478
}
}
}
}