IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3b2492b verified
raw
history blame
11.5 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+rocm6.1",
"_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": "4",
"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": "error",
"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.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1388.081152,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.6780888671875,
"mean": 7.6780888671875,
"stdev": 0.0,
"p50": 7.6780888671875,
"p90": 7.6780888671875,
"p95": 7.6780888671875,
"p99": 7.6780888671875,
"values": [
7.6780888671875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1517.510656,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 133,
"total": 1.0024009599685668,
"mean": 0.007536849323071931,
"stdev": 0.00069820583168799,
"p50": 0.007382716178894043,
"p90": 0.008013019180297853,
"p95": 0.008292826461791993,
"p99": 0.010042578773498541,
"values": [
0.007999354839324952,
0.008014715194702149,
0.00804191493988037,
0.00809439468383789,
0.008300314903259278,
0.007715674877166748,
0.007696314811706543,
0.007622554779052735,
0.007616954803466797,
0.007564955234527588,
0.007516954898834229,
0.0075079951286315914,
0.007495676040649414,
0.007473755836486817,
0.007433754920959473,
0.00741647481918335,
0.007426555156707764,
0.007426236152648926,
0.0074651150703430175,
0.007448315143585205,
0.0074508748054504395,
0.007462234973907471,
0.007461434841156006,
0.0074630360603332516,
0.007428955078125,
0.00744751501083374,
0.007571835041046143,
0.007606235027313233,
0.0075862350463867185,
0.007537274837493896,
0.009393914222717285,
0.008277114868164062,
0.007125915050506592,
0.007158875942230225,
0.007173594951629639,
0.007167675971984863,
0.010347832679748535,
0.007387354850769043,
0.007370395183563232,
0.00740639591217041,
0.007397594928741455,
0.007339835166931152,
0.007367354869842529,
0.007362395763397217,
0.007383194923400879,
0.007406875133514405,
0.007390554904937744,
0.0073663959503173825,
0.0074019160270690915,
0.007355195045471191,
0.007347994804382324,
0.007387835025787354,
0.007403835773468017,
0.007381754875183106,
0.0073793549537658695,
0.007416315078735351,
0.007375356197357178,
0.007366555213928223,
0.007328794956207275,
0.007331194877624511,
0.007354556083679199,
0.0073561549186706545,
0.007361754894256591,
0.007362235069274903,
0.007340635776519775,
0.007370075225830078,
0.0074129548072814945,
0.007441275119781494,
0.007395356178283691,
0.007676956176757813,
0.00736671495437622,
0.007350074768066406,
0.007387195110321045,
0.0073633561134338376,
0.00735151481628418,
0.007343675136566162,
0.007350395202636719,
0.007362555980682373,
0.0076051149368286134,
0.007703835010528564,
0.00769583511352539,
0.007695515155792237,
0.007420955181121826,
0.0073366351127624515,
0.007352954864501953,
0.007347996234893799,
0.007368315219879151,
0.007348635196685791,
0.007373915195465088,
0.007379995822906494,
0.00734767484664917,
0.007372954845428467,
0.007368635177612304,
0.007382716178894043,
0.007375195026397705,
0.00735199499130249,
0.007326714992523194,
0.0073425559997558594,
0.007340475082397461,
0.007327354907989502,
0.0073708748817443845,
0.007326876163482666,
0.012557751655578613,
0.003157278060913086,
0.00737823486328125,
0.007337914943695068,
0.007355995178222656,
0.00733919620513916,
0.007353435039520264,
0.0073702349662780765,
0.007354074954986572,
0.0073468761444091795,
0.007367994785308838,
0.00737983512878418,
0.007364634990692139,
0.007334556102752686,
0.007394236087799072,
0.007372475147247314,
0.007363834857940674,
0.007377755165100097,
0.0073748760223388676,
0.007373595237731933,
0.008006235122680665,
0.00828783416748047,
0.008325275421142577,
0.008091514587402343,
0.007703034877777099,
0.008244154930114746,
0.008354555130004883,
0.008316155433654784,
0.007996315002441407,
0.007722875118255615,
0.007694075107574463
]
},
"throughput": {
"unit": "samples/s",
"value": 132.6814371807571
},
"energy": null,
"efficiency": null
}
}
}