IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
53126b8
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": 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.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1109.590016, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 3857.526784, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.12998019409179687 | |
], | |
"count": 1, | |
"total": 0.12998019409179687, | |
"mean": 0.12998019409179687, | |
"p50": 0.12998019409179687, | |
"p90": 0.12998019409179687, | |
"p95": 0.12998019409179687, | |
"p99": 0.12998019409179687, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1227.943936, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 269743.775744, | |
"max_reserved": 557.842432, | |
"max_allocated": 501.534208 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.009048984527587891, | |
0.008910104751586915, | |
0.00888514518737793, | |
0.00876594352722168, | |
0.008519224166870117, | |
0.008536184310913086, | |
0.008731863975524902, | |
0.00872706413269043, | |
0.008698583602905274, | |
0.008629143714904785, | |
0.008484503746032716, | |
0.008424983024597169, | |
0.008491703987121582, | |
0.008572983741760253, | |
0.008494743347167969, | |
0.008460502624511718, | |
0.008433624267578125, | |
0.008400663375854493, | |
0.008391222953796386, | |
0.008408662796020507, | |
0.008689623832702636, | |
0.00883442497253418, | |
0.008876344680786134, | |
0.008661463737487793, | |
0.00862226390838623, | |
0.008600024223327637, | |
0.008675864219665527, | |
0.008781305313110352, | |
0.008781463623046874, | |
0.008509143829345703, | |
0.008677783966064454, | |
0.00854802417755127, | |
0.008354903221130371, | |
0.008294583320617676, | |
0.008337943077087403, | |
0.008255382537841797, | |
0.008288983345031739, | |
0.008271223068237304, | |
0.008306423187255859, | |
0.008306902885437012, | |
0.008186263084411621, | |
0.008317942619323731, | |
0.008227542877197265, | |
0.008242583274841309, | |
0.008205303192138672, | |
0.00841170310974121, | |
0.00824642276763916, | |
0.00821202278137207, | |
0.008346423149108887, | |
0.008300023078918457, | |
0.008622103691101075, | |
0.00854162311553955, | |
0.008551543235778808, | |
0.008396343231201172, | |
0.008354103088378906, | |
0.008298262596130371, | |
0.008324664115905761, | |
0.008393142700195312, | |
0.00824306297302246, | |
0.00827314281463623, | |
0.008371703147888184, | |
0.008297463417053223, | |
0.008325303077697754, | |
0.00836002254486084, | |
0.008318263053894043, | |
0.008510103225708008, | |
0.008414104461669921, | |
0.008333462715148926, | |
0.008392183303833008, | |
0.008344983100891113, | |
0.008369462966918945, | |
0.008554583549499511, | |
0.008454903602600098, | |
0.008332983016967773, | |
0.008307063102722168, | |
0.00832274341583252, | |
0.008325143814086914, | |
0.008299062728881836, | |
0.0082965030670166, | |
0.008288662910461425, | |
0.008267382621765136, | |
0.008341623306274413, | |
0.008270262718200683, | |
0.008327862739562989, | |
0.008413943290710449, | |
0.00846114444732666, | |
0.008445463180541991, | |
0.008426102638244629, | |
0.008428983688354492, | |
0.00838130283355713, | |
0.008368022918701172, | |
0.008402423858642578, | |
0.008486424446105957, | |
0.008637463569641114, | |
0.008790424346923828, | |
0.008695863723754882, | |
0.008693623542785644, | |
0.008535702705383301, | |
0.008487064361572266, | |
0.008432984352111816, | |
0.008304503440856934, | |
0.008320343017578126, | |
0.00830146312713623, | |
0.00823698329925537, | |
0.008287702560424805, | |
0.00827314281463623, | |
0.008219383239746093, | |
0.00822834300994873, | |
0.008245142936706543, | |
0.008242423057556153, | |
0.008282743453979492, | |
0.008295223236083985, | |
0.008349621772766113, | |
0.008222743034362793, | |
0.008235222816467285, | |
0.008232663154602051, | |
0.008321622848510742, | |
0.008296182632446289 | |
], | |
"count": 118, | |
"total": 0.9947923593521115, | |
"mean": 0.008430443723322982, | |
"p50": 0.008370583057403565, | |
"p90": 0.0086966796875, | |
"p95": 0.008782807731628418, | |
"p99": 0.008905861625671387, | |
"stdev": 0.00018185536836531248, | |
"stdev_": 2.157126888377253 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 237.23543690434255 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |