IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
11cfe74 verified
raw
history blame
11.6 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",
"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.75264,
"max_global_vram": 68702.69952,
"max_process_vram": 4709.982208,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.07786551666259765
],
"count": 1,
"total": 0.07786551666259765,
"mean": 0.07786551666259765,
"p50": 0.07786551666259765,
"p90": 0.07786551666259765,
"p95": 0.07786551666259765,
"p99": 0.07786551666259765,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1227.616256,
"max_global_vram": 68702.69952,
"max_process_vram": 212637.192192,
"max_reserved": 555.74528,
"max_allocated": 499.442688
},
"latency": {
"unit": "s",
"values": [
0.007985929012298583,
0.007706567764282226,
0.007750247955322266,
0.0077545690536499024,
0.007818088054656983,
0.007777608871459961,
0.00781440782546997,
0.00780496883392334,
0.007796167850494385,
0.007797449111938476,
0.0077915282249450685,
0.007792969226837158,
0.007831687927246095,
0.007787209033966064,
0.007800168037414551,
0.007750729084014893,
0.007794248104095459,
0.007765929222106934,
0.007824967861175538,
0.0077681679725646975,
0.00779968786239624,
0.007783048152923584,
0.007762887954711914,
0.007832808017730713,
0.007838888168334961,
0.007839529037475586,
0.007822567939758301,
0.007791209220886231,
0.007792168140411377,
0.0078062481880187985,
0.007681608200073242,
0.007611847877502441,
0.007411528110504151,
0.007285768032073974,
0.007428967952728271,
0.0072684879302978515,
0.007321288108825683,
0.007439688205718994,
0.007333928108215332,
0.007673449039459228,
0.007877607822418213,
0.007820009231567383,
0.007816328048706054,
0.0078595290184021,
0.007899847984313965,
0.007904648780822754,
0.007883368968963623,
0.00791152811050415,
0.007927528858184815,
0.007898727893829345,
0.008107527732849121,
0.00787152910232544,
0.007944808959960938,
0.007860167980194092,
0.00730128812789917,
0.007374087810516358,
0.007665607929229736,
0.007427049160003662,
0.007059047222137451,
0.007205927848815918,
0.007233607769012451,
0.007247848033905029,
0.007374407768249512,
0.007445127964019776,
0.0070948882102966305,
0.00707664680480957,
0.007280007839202881,
0.0073252878189086915,
0.007871849060058594,
0.007907848834991455,
0.007766088008880615,
0.007472807884216308,
0.007531847953796387,
0.007518727779388428,
0.0073059267997741695,
0.007146567821502686,
0.0069926481246948245,
0.006965607166290283,
0.007020487785339356,
0.007238408088684082,
0.0072758479118347165,
0.007863848209381104,
0.007714568138122558,
0.007358888149261475,
0.0074339280128479,
0.007330408096313476,
0.007183047771453857,
0.0072110481262207034,
0.007051686763763428,
0.007013607978820801,
0.007326888084411621,
0.007904969215393066,
0.007901768207550048,
0.007884008884429932,
0.007762728214263916,
0.007260647773742676,
0.0076408090591430665,
0.007438888072967529,
0.007320807933807373,
0.007182086944580078,
0.007574728965759277,
0.007489607810974121,
0.007443848133087158,
0.007426407814025879,
0.007235688209533691,
0.0075980877876281735,
0.007245448112487793,
0.007439208030700683,
0.007614408016204834,
0.009778409957885743,
0.007990569114685058,
0.007849607944488525,
0.0077545690536499024,
0.007334887981414795,
0.007493447780609131,
0.007364327907562256,
0.007517288208007813,
0.007418568134307861,
0.0077049689292907715,
0.007390727996826172,
0.007480167865753174,
0.007458568096160889,
0.007431528091430664,
0.007296487808227539,
0.0073249669075012205,
0.007207208156585694,
0.007133448123931884,
0.007435048103332519,
0.0072184081077575684,
0.007198566913604736,
0.007723049163818359,
0.007626728057861328
],
"count": 132,
"total": 1.0001314802169798,
"mean": 0.007576753638007425,
"p50": 0.007604967832565307,
"p90": 0.0078839448928833,
"p95": 0.007909504508972168,
"p99": 0.008071270561218261,
"stdev": 0.00033677182302203245,
"stdev_": 4.444803660141159
},
"throughput": {
"unit": "samples/s",
"value": 131.9826468929489
},
"energy": null,
"efficiency": null
}
}
}