IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1cf500a verified
raw
history blame
11.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": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"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.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1079.713792,
"max_global_vram": 68702.69952,
"max_process_vram": 51853.094912,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 20.15109765625,
"mean": 20.15109765625,
"stdev": 0.0,
"p50": 20.15109765625,
"p90": 20.15109765625,
"p95": 20.15109765625,
"p99": 20.15109765625,
"values": [
20.15109765625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1196.699648,
"max_global_vram": 68702.69952,
"max_process_vram": 272516.17792,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 126,
"total": 0.9981764845848089,
"mean": 0.007922035591942924,
"stdev": 0.0014151254353711989,
"p50": 0.007847453117370607,
"p90": 0.007998573303222657,
"p95": 0.00806277322769165,
"p99": 0.012746500253677368,
"values": [
0.007874892234802247,
0.007844013214111328,
0.007844333171844482,
0.007963851928710937,
0.008109453201293946,
0.00788289213180542,
0.007936492919921875,
0.008211532592773437,
0.007967371940612793,
0.007913612842559814,
0.007898892879486084,
0.007874252796173096,
0.007861291885375977,
0.007767373085021972,
0.007781773090362549,
0.007800811767578125,
0.00776641321182251,
0.007838572025299072,
0.007806093215942383,
0.00782321310043335,
0.00780049180984497,
0.007780333042144775,
0.007741291999816894,
0.007703853130340576,
0.007828493118286133,
0.008402732849121094,
0.00798689317703247,
0.007935533046722412,
0.007805452823638916,
0.020262432098388673,
0.0023502440452575686,
0.005673929214477539,
0.007833932876586914,
0.008052812576293946,
0.00780577278137207,
0.007766411781311035,
0.007838572978973389,
0.008034893035888672,
0.007828493118286133,
0.007780332088470459,
0.008009933471679687,
0.008051213264465331,
0.007987213134765626,
0.007936333179473877,
0.00786961317062378,
0.00784673309326172,
0.008066093444824219,
0.007919212818145753,
0.0079233717918396,
0.007848173141479493,
0.007908812999725342,
0.007826892852783204,
0.007944972038269042,
0.007825771808624267,
0.007882253170013427,
0.007869452953338622,
0.007872491836547852,
0.007895692825317383,
0.007816493034362793,
0.007833292961120605,
0.007833611965179444,
0.00785281276702881,
0.007884172916412354,
0.007897933006286622,
0.007820491790771484,
0.007831693172454834,
0.007823692798614503,
0.007917451858520507,
0.007875372886657715,
0.007947052955627441,
0.00783521318435669,
0.00785617208480835,
0.007810411930084228,
0.014194422721862793,
0.0031062450408935547,
0.007868332862854004,
0.0078772931098938,
0.007817612171173096,
0.007834893226623535,
0.007946252822875977,
0.007932332992553711,
0.007801772117614746,
0.00788657283782959,
0.007855372905731201,
0.008026412963867188,
0.007801291942596436,
0.00801841163635254,
0.007783371925354004,
0.007908173084259033,
0.007890573024749756,
0.00783985185623169,
0.008091214179992676,
0.00783873176574707,
0.007868972778320313,
0.007809933185577393,
0.007801132202148437,
0.007782893180847168,
0.007774572849273681,
0.007790252208709717,
0.0078020930290222164,
0.00787185287475586,
0.007838252067565919,
0.007917293071746826,
0.007972332954406738,
0.007917452812194824,
0.007782732963562012,
0.007865452766418457,
0.007797292232513428,
0.007827853202819824,
0.007786091804504395,
0.007809132099151611,
0.00783025312423706,
0.007818411827087403,
0.007800811767578125,
0.0077609729766845706,
0.007868492126464843,
0.007802092075347901,
0.007971373081207276,
0.0078014531135559085,
0.007862092018127442,
0.007785612106323242,
0.007796011924743653,
0.007885612010955811,
0.007888492107391357,
0.007848652839660644,
0.007821292877197265
]
},
"throughput": {
"unit": "samples/s",
"value": 126.2301826839867
},
"energy": null,
"efficiency": null
}
}
}