IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
85f6be1 verified
raw
history blame
11.7 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": "5",
"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": 2,
"sequence_length": 16,
"num_choices": 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.490624,
"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.47.0",
"transformers_commit": null,
"accelerate_version": "1.2.0",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.12",
"timm_commit": null,
"peft_version": "0.14.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1068.249088,
"max_global_vram": 68702.69952,
"max_process_vram": 11572.953088,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.23851908874511718
],
"count": 1,
"total": 0.23851908874511718,
"mean": 0.23851908874511718,
"p50": 0.23851908874511718,
"p90": 0.23851908874511718,
"p95": 0.23851908874511718,
"p99": 0.23851908874511718,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1186.357248,
"max_global_vram": 68702.69952,
"max_process_vram": 210330.697728,
"max_reserved": 555.74528,
"max_allocated": 500.456448
},
"latency": {
"unit": "s",
"values": [
0.00762013578414917,
0.0072847771644592284,
0.007325417041778565,
0.007524136066436767,
0.007551655769348144,
0.007303816795349121,
0.007452617168426514,
0.0072783780097961425,
0.007259657859802246,
0.00728125810623169,
0.007300776958465576,
0.007292296886444092,
0.007338376998901367,
0.007318696975708008,
0.007298536777496338,
0.007275177001953125,
0.0073158168792724606,
0.007319016933441162,
0.007308297157287598,
0.0072993369102478025,
0.0073489370346069335,
0.007306376934051514,
0.007327977180480957,
0.007336936950683594,
0.007284457206726074,
0.007320296764373779,
0.007311176776885986,
0.007294696807861328,
0.007309416770935059,
0.0072914972305297854,
0.007245737075805664,
0.007280296802520752,
0.007279656887054444,
0.007286056995391845,
0.007342536926269531,
0.007318056106567382,
0.007316136837005615,
0.0072724571228027345,
0.0074607768058776855,
0.007334376811981201,
0.00733981704711914,
0.0072967767715454105,
0.0073225369453430176,
0.0073298969268798825,
0.007311976909637451,
0.007367496967315674,
0.0073346967697143555,
0.007324616909027099,
0.007316777229309082,
0.007309096813201904,
0.007349417209625244,
0.007362216949462891,
0.007366536140441894,
0.007421257019042969,
0.007363495826721192,
0.008140934944152831,
0.008217734336853027,
0.008315973281860352,
0.008236774444580078,
0.008218853950500489,
0.00831373405456543,
0.00798269510269165,
0.00784605598449707,
0.007852614879608154,
0.00782221508026123,
0.00791453504562378,
0.007945415019989013,
0.007827014923095703,
0.00793469476699829,
0.008283173561096192,
0.008299013137817383,
0.008269413948059082,
0.008246213912963866,
0.007800934791564941,
0.007646376132965088,
0.007606855869293213,
0.007650856018066406,
0.0074617362022399904,
0.007335977077484131,
0.007417736053466797,
0.0073537368774414065,
0.007344936847686768,
0.007399496078491211,
0.007343337059020996,
0.007358857154846191,
0.00738813591003418,
0.00737421703338623,
0.0073396568298339845,
0.007339016914367676,
0.007311497211456299,
0.0073751769065856934,
0.007278536796569824,
0.0073244571685791016,
0.007318696022033691,
0.007357256889343262,
0.007279177188873291,
0.007354536056518555,
0.007342057228088379,
0.007338057041168213,
0.007334376811981201,
0.007334695816040039,
0.007319976806640625,
0.007290057182312012,
0.007343817234039307,
0.00732509708404541,
0.007318696022033691,
0.0073489370346069335,
0.007327177047729492,
0.007342856884002685,
0.007305097103118896,
0.007336936950683594,
0.00734365701675415,
0.007303816795349121,
0.007335657119750976,
0.007331336975097656,
0.007289896965026856,
0.007326056957244873,
0.007323176860809326,
0.007357576847076416,
0.007336936950683594,
0.007351177215576172,
0.00728205680847168,
0.007340776920318604,
0.007311336040496826,
0.0073226971626281735,
0.007322856903076172,
0.007342536926269531,
0.007311656951904297,
0.007327016830444336,
0.007293416976928711,
0.0073506970405578615,
0.007329737186431885,
0.007336135864257813,
0.007323017120361328
],
"count": 134,
"total": 0.9978619718551639,
"mean": 0.007446731133247489,
"p50": 0.007335817098617553,
"p90": 0.007895958995819092,
"p95": 0.008225126123428345,
"p99": 0.008308876152038574,
"stdev": 0.0002746374300684816,
"stdev_": 3.688026667732172
},
"throughput": {
"unit": "samples/s",
"value": 268.57421923971197
},
"energy": null,
"efficiency": null
}
}
}