IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0488d08
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": "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": 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": 1042.591744, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 46441.762816, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.11390478515625, | |
"mean": 8.11390478515625, | |
"stdev": 0.0, | |
"p50": 8.11390478515625, | |
"p90": 8.11390478515625, | |
"p95": 8.11390478515625, | |
"p99": 8.11390478515625, | |
"values": [ | |
8.11390478515625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null, | |
"measures": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1160.163328, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 235847.913472, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 125, | |
"total": 0.9965823888778683, | |
"mean": 0.00797265911102295, | |
"stdev": 0.0013725735228393612, | |
"p50": 0.007850521087646485, | |
"p90": 0.008469718170166016, | |
"p95": 0.008908819389343261, | |
"p99": 0.014436823768615744, | |
"values": [ | |
0.009107475280761718, | |
0.008931795120239257, | |
0.008949395179748534, | |
0.008968114852905273, | |
0.008816916465759278, | |
0.008574836730957032, | |
0.008728755950927734, | |
0.008574357032775879, | |
0.008144919395446776, | |
0.008087799072265625, | |
0.008253719329833984, | |
0.00821515941619873, | |
0.00810491943359375, | |
0.008038840293884277, | |
0.00806347942352295, | |
0.007983960151672364, | |
0.008154679298400878, | |
0.008136119842529297, | |
0.008443798065185547, | |
0.008041239738464356, | |
0.007693080902099609, | |
0.007690522193908691, | |
0.007847001075744629, | |
0.0083677978515625, | |
0.008445557594299316, | |
0.008438998222351075, | |
0.008474838256835938, | |
0.008443477630615235, | |
0.008462038040161133, | |
0.008420598030090333, | |
0.011359143257141113, | |
0.008518197059631348, | |
0.008251639366149902, | |
0.00822555923461914, | |
0.008229558944702148, | |
0.008215799331665039, | |
0.008232759475708009, | |
0.008203478813171386, | |
0.008214359283447265, | |
0.008214038848876953, | |
0.008211318969726562, | |
0.008231159210205077, | |
0.008258679389953612, | |
0.008264598846435546, | |
0.008266839027404785, | |
0.008272759437561035, | |
0.00829163932800293, | |
0.01750743293762207, | |
0.00428157901763916, | |
0.008255478858947753, | |
0.007585562229156494, | |
0.007890201091766358, | |
0.007827641010284424, | |
0.00776668119430542, | |
0.007850521087646485, | |
0.007835000991821288, | |
0.007754200935363769, | |
0.007275322914123535, | |
0.007333563804626465, | |
0.0073161239624023435, | |
0.007325723171234131, | |
0.007261404037475586, | |
0.007335322856903076, | |
0.007418683052062988, | |
0.007321722984313965, | |
0.007337722778320312, | |
0.007348123073577881, | |
0.007348124027252197, | |
0.0073369240760803225, | |
0.007371802806854248, | |
0.007373083114624024, | |
0.007453082084655761, | |
0.007352764129638672, | |
0.007366844177246094, | |
0.0073510041236877445, | |
0.007381563186645508, | |
0.007552762031555176, | |
0.00736508321762085, | |
0.0073982028961181645, | |
0.007396762847900391, | |
0.007387803077697754, | |
0.007372922897338867, | |
0.007342362880706787, | |
0.007390202999114991, | |
0.0075898818969726565, | |
0.007384283065795898, | |
0.007353562831878662, | |
0.007372763156890869, | |
0.007369722843170166, | |
0.007353403091430664, | |
0.00753452205657959, | |
0.015408722877502442, | |
0.002409748077392578, | |
0.005552133083343506, | |
0.007314844131469727, | |
0.0073199629783630375, | |
0.00737820291519165, | |
0.007346522808074951, | |
0.007361403942108154, | |
0.00732668399810791, | |
0.007347002983093261, | |
0.007751961231231689, | |
0.007659162044525146, | |
0.007455001831054688, | |
0.007591322898864746, | |
0.007683961868286133, | |
0.008281719207763672, | |
0.008260759353637695, | |
0.008246519088745118, | |
0.008208119392395019, | |
0.00826491928100586, | |
0.008331957817077637, | |
0.008310038566589356, | |
0.0077031607627868655, | |
0.007651321887969971, | |
0.007669880867004395, | |
0.008276759147644043, | |
0.00827755832672119, | |
0.007994519233703614, | |
0.007831320762634278, | |
0.008274038314819336, | |
0.00829595947265625, | |
0.008317877769470215, | |
0.008322197914123535, | |
0.007763960838317871 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 125.42866640534099 | |
}, | |
"energy": null, | |
"efficiency": null, | |
"measures": null | |
} | |
} | |
} |