IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
7d9569c verified
raw
history blame
11.2 kB
{
"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.1",
"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": 902.012928,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 151,
"total": 0.998418304920196,
"mean": 0.006612041754438387,
"stdev": 0.0005444868291755606,
"p50": 0.006565887928009034,
"p90": 0.007101439952850342,
"p95": 0.007401968002319336,
"p99": 0.009071616172790528,
"values": [
0.009693183898925782,
0.009179136276245118,
0.008964096069335938,
0.007106560230255127,
0.007069695949554444,
0.007233503818511963,
0.007101439952850342,
0.007024640083312988,
0.006657023906707763,
0.006575104236602783,
0.006589375972747803,
0.006575104236602783,
0.006603775978088379,
0.006467584133148193,
0.006463488101959228,
0.0065177597999572755,
0.006472703933715821,
0.006558720111846924,
0.006696959972381592,
0.006601727962493896,
0.006632448196411133,
0.006590464115142822,
0.006499328136444092,
0.006563839912414551,
0.006621183872222901,
0.0066304001808166506,
0.006636544227600098,
0.006681600093841553,
0.006620160102844238,
0.0067041277885437015,
0.006602752208709717,
0.006594560146331787,
0.0066078720092773435,
0.006617087841033936,
0.006702079772949219,
0.00676966381072998,
0.0067758078575134275,
0.006813727855682373,
0.006853631973266602,
0.006840320110321045,
0.006852608203887939,
0.007121920108795166,
0.0069253120422363285,
0.006923264026641846,
0.006967296123504638,
0.006933504104614257,
0.006913023948669434,
0.006920191764831543,
0.00679423999786377,
0.006550528049468994,
0.006623231887817383,
0.006608831882476807,
0.00653926420211792,
0.006597631931304931,
0.006574079990386963,
0.006436863899230957,
0.0066406397819519045,
0.006833151817321777,
0.00676966381072998,
0.006945792198181152,
0.006920191764831543,
0.00678604793548584,
0.006762495994567871,
0.0068392958641052244,
0.006841343879699707,
0.007184383869171143,
0.006970367908477783,
0.006912000179290771,
0.006880256175994873,
0.006897664070129395,
0.00713318395614624,
0.007104512214660645,
0.007016448020935059,
0.006647808074951172,
0.006648831844329834,
0.006603775978088379,
0.0065075201988220215,
0.006565887928009034,
0.006635519981384277,
0.006456319808959961,
0.006459392070770263,
0.0064102401733398436,
0.006363135814666748,
0.0065372161865234375,
0.007147456169128418,
0.006623231887817383,
0.006534143924713135,
0.006552576065063476,
0.006523903846740723,
0.007570432186126709,
0.00793497610092163,
0.007921664237976075,
0.008059904098510743,
0.0076984319686889645,
0.006759424209594727,
0.006322175979614258,
0.006310912132263183,
0.00621670389175415,
0.006238207817077636,
0.006255616188049316,
0.006211584091186524,
0.0062156801223754886,
0.006176767826080322,
0.006211584091186524,
0.006162432193756104,
0.0062156481742858885,
0.006161407947540283,
0.006171648025512695,
0.006169600009918213,
0.00616755199432373,
0.0062044157981872555,
0.006155263900756836,
0.006210559844970703,
0.006158336162567139,
0.0062044157981872555,
0.00616755199432373,
0.006214655876159668,
0.006187007904052734,
0.006154240131378174,
0.006174719810485839,
0.00617574405670166,
0.006194176197052002,
0.006170623779296875,
0.006189119815826416,
0.006139904022216797,
0.006178815841674804,
0.006153215885162353,
0.006141952037811279,
0.006217728137969971,
0.006168575763702393,
0.006182911872863769,
0.0061521921157836916,
0.006168575763702393,
0.006161407947540283,
0.006218751907348633,
0.006177792072296143,
0.006209536075592041,
0.006172639846801758,
0.006157311916351318,
0.006165503978729248,
0.006158336162567139,
0.00618393611907959,
0.006160384178161621,
0.0061634559631347655,
0.006108160018920898,
0.0061224961280822755,
0.0061010560989379885,
0.006141952037811279,
0.006120448112487793,
0.006097919940948486,
0.00613478422164917
]
},
"throughput": {
"unit": "samples/s",
"value": 151.23921432116515
},
"energy": {
"unit": "kWh",
"cpu": 7.723547077454187e-08,
"ram": 4.2222344433996895e-08,
"gpu": 1.4577392614285818e-07,
"total": 2.6523174135139693e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3770287.8053163798
}
}
}
}