IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
42186e1 verified
raw
history blame
12.2 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_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": "6",
"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": false,
"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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082014.482432,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"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": 1104.674816,
"max_global_vram": 68702.69952,
"max_process_vram": 3625.24672,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.0781129150390625
],
"count": 1,
"total": 0.0781129150390625,
"mean": 0.0781129150390625,
"p50": 0.0781129150390625,
"p90": 0.0781129150390625,
"p95": 0.0781129150390625,
"p99": 0.0781129150390625,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1227.526144,
"max_global_vram": 68702.69952,
"max_process_vram": 221101.039616,
"max_reserved": 555.74528,
"max_allocated": 499.442688
},
"latency": {
"unit": "s",
"values": [
0.0071657710075378415,
0.006806409835815429,
0.006878250122070313,
0.006889450073242188,
0.007018889904022217,
0.0067744097709655764,
0.006859529972076416,
0.006807690143585205,
0.006841450214385986,
0.006829609870910644,
0.006869929790496826,
0.006878890037536621,
0.006867690086364746,
0.006880650043487549,
0.006814889907836914,
0.006833449840545654,
0.006868490219116211,
0.0068571300506591795,
0.00679872989654541,
0.006877449989318848,
0.006884809970855713,
0.006856810092926025,
0.006868169784545898,
0.006874249935150146,
0.006863049983978272,
0.006913770198822022,
0.006888810157775879,
0.006901289939880371,
0.006904489994049072,
0.006867690086364746,
0.006873129844665527,
0.006836329936981201,
0.006975369930267334,
0.006874249935150146,
0.0068662500381469725,
0.0068803300857543945,
0.006909289836883545,
0.006835370063781738,
0.006904650211334229,
0.006912169933319091,
0.006911690235137939,
0.006853610038757324,
0.006959529876708984,
0.006910250186920166,
0.0069756898880004884,
0.006940010070800781,
0.006966249942779541,
0.006897290229797363,
0.006846570014953614,
0.00693248987197876,
0.007140651226043702,
0.007035689830780029,
0.007029769897460937,
0.006942251205444336,
0.006937449932098389,
0.006934569835662842,
0.006924650192260742,
0.006955850124359131,
0.006939051151275635,
0.006963850021362305,
0.006907690048217774,
0.006964330196380615,
0.006956651210784912,
0.007114250183105469,
0.0070160098075866695,
0.007242731094360352,
0.007246251106262207,
0.006924650192260742,
0.006967050075531006,
0.006938889980316162,
0.007109450817108154,
0.0069299302101135255,
0.00693409013748169,
0.006904489994049072,
0.006521289825439453,
0.006510569095611572,
0.006494409084320069,
0.006509290218353271,
0.006497448921203614,
0.006490409851074219,
0.006499208927154541,
0.006501930236816406,
0.006511369228363037,
0.006516170024871826,
0.006531050205230713,
0.006509288787841797,
0.006518730163574219,
0.006471209049224854,
0.006505449771881103,
0.006487689018249512,
0.006530250072479248,
0.006501129150390625,
0.0064867291450500485,
0.006489290237426758,
0.006529929161071778,
0.006491049766540528,
0.006532488822937011,
0.0065128102302551266,
0.0064777698516845705,
0.00649984884262085,
0.006503210067749023,
0.006481928825378418,
0.006528170108795166,
0.006487689018249512,
0.006492809772491455,
0.0064958491325378415,
0.006508649826049805,
0.006502570152282715,
0.006820809841156006,
0.007441131114959717,
0.007398409843444824,
0.007410891056060791,
0.007434570789337158,
0.007394570827484131,
0.007412971019744873,
0.0071491308212280275,
0.00693297004699707,
0.006981450080871582,
0.006924170017242432,
0.0068428897857666015,
0.006948010921478271,
0.006992809772491455,
0.007385130882263184,
0.007290890216827392,
0.00696721076965332,
0.007040810108184814,
0.007606410980224609,
0.007393930912017822,
0.00759329080581665,
0.007698572158813476,
0.007453930854797363,
0.00752561092376709,
0.007242090225219726,
0.0074684910774230956,
0.007104011058807373,
0.006504008769989014,
0.006492169857025146,
0.006487849235534668,
0.006523690223693848,
0.006472010135650635,
0.006516489028930664,
0.006498569965362549,
0.006517609119415283,
0.006509769916534424,
0.006510249137878418,
0.0064913687705993655
],
"count": 146,
"total": 1.0007693052291868,
"mean": 0.006854584282391692,
"p50": 0.0068778500556945805,
"p90": 0.0072685706615448,
"p95": 0.007429170846939087,
"p99": 0.007600506901741028,
"stdev": 0.0002937092126757445,
"stdev_": 4.2848581412914495
},
"throughput": {
"unit": "samples/s",
"value": 145.88776777737445
},
"energy": null,
"efficiency": null
}
}
}