IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2439cfe
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"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": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1031.028736, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 43248.467968, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.70135302734375, | |
"mean": 7.70135302734375, | |
"stdev": 0.0, | |
"p50": 7.70135302734375, | |
"p90": 7.70135302734375, | |
"p95": 7.70135302734375, | |
"p99": 7.70135302734375, | |
"values": [ | |
7.70135302734375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1148.33408, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 211202.048, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 131, | |
"total": 1.0011928222179418, | |
"mean": 0.007642693299373597, | |
"stdev": 0.0018883905585774827, | |
"p50": 0.007370256900787354, | |
"p90": 0.008073779106140136, | |
"p95": 0.008486579418182373, | |
"p99": 0.018086472034454286, | |
"values": [ | |
0.008713299751281739, | |
0.008611379623413086, | |
0.008302099227905273, | |
0.008216338157653809, | |
0.008281139373779297, | |
0.00856369972229004, | |
0.008110418319702148, | |
0.008102898597717284, | |
0.008000337600708007, | |
0.007983538150787353, | |
0.007876177787780762, | |
0.007830577850341797, | |
0.014402112007141114, | |
0.007352497100830078, | |
0.007817937850952148, | |
0.00781073808670044, | |
0.00783201789855957, | |
0.007724017143249512, | |
0.007753617763519287, | |
0.00781777811050415, | |
0.007734736919403076, | |
0.007731537818908691, | |
0.007690257072448731, | |
0.011262745857238769, | |
0.008409459114074707, | |
0.00799793815612793, | |
0.007993138790130616, | |
0.007896657943725585, | |
0.007542256832122803, | |
0.007531857013702393, | |
0.007606417179107666, | |
0.007795217990875244, | |
0.007558577060699463, | |
0.007485456943511963, | |
0.007700977802276611, | |
0.007449616909027099, | |
0.007288176059722901, | |
0.007359857082366943, | |
0.007501136779785156, | |
0.007589137077331543, | |
0.007709617137908935, | |
0.007591856956481934, | |
0.007747858047485351, | |
0.007729776859283447, | |
0.007542097091674805, | |
0.007617776870727539, | |
0.007573936939239502, | |
0.00773809814453125, | |
0.007599536895751953, | |
0.007647377014160156, | |
0.007632018089294434, | |
0.007370256900787354, | |
0.007216815948486328, | |
0.007310737133026123, | |
0.0072612957954406735, | |
0.0072440171241760255, | |
0.007186895847320557, | |
0.007284336090087891, | |
0.007280655860900879, | |
0.007236495971679687, | |
0.007180816173553467, | |
0.00732209587097168, | |
0.0072742562294006346, | |
0.0072411360740661625, | |
0.007207376003265381, | |
0.020342605590820313, | |
0.0025214459896087645, | |
0.0043776102066040035, | |
0.007239696025848389, | |
0.007212976932525635, | |
0.007189136028289795, | |
0.007223375797271728, | |
0.007229297161102295, | |
0.007177775859832764, | |
0.007160016059875488, | |
0.007139697074890137, | |
0.007213295936584473, | |
0.007211535930633545, | |
0.00716785717010498, | |
0.00716977596282959, | |
0.007239376068115234, | |
0.007249616146087647, | |
0.0072276959419250485, | |
0.007265777111053467, | |
0.007277935981750488, | |
0.007252655982971192, | |
0.007018735885620117, | |
0.007043375968933106, | |
0.007052015781402588, | |
0.0070070562362670894, | |
0.0070428957939147946, | |
0.007088016033172608, | |
0.007200175762176513, | |
0.007226096153259277, | |
0.007044976234436035, | |
0.007054736137390136, | |
0.007033616065979004, | |
0.007064335823059082, | |
0.00720033597946167, | |
0.007015535831451416, | |
0.007015855789184571, | |
0.00803489875793457, | |
0.007971377849578857, | |
0.00798545789718628, | |
0.008073779106140136, | |
0.008064977645874024, | |
0.0076849770545959475, | |
0.0075641770362854, | |
0.007361135959625244, | |
0.008009617805480956, | |
0.019665483474731446, | |
0.0025139260292053223, | |
0.00343776798248291, | |
0.007988977909088134, | |
0.00798145818710327, | |
0.007908338069915772, | |
0.007409136772155761, | |
0.007478416919708252, | |
0.007379056930541993, | |
0.007392656803131103, | |
0.007257135868072509, | |
0.007009776115417481, | |
0.007010575771331787, | |
0.007044976234436035, | |
0.0073627371788024904, | |
0.007231056213378906, | |
0.007019375801086426, | |
0.007048495769500732, | |
0.00704753589630127, | |
0.0070523362159729, | |
0.007031374931335449 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.8439264574389 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |