IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ed52b04
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_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": "0", | |
"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.33.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": 1389.666304, | |
"max_global_vram": 11.132928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.8595, | |
"mean": 7.8595, | |
"stdev": 0.0, | |
"p50": 7.8595, | |
"p90": 7.8595, | |
"p95": 7.8595, | |
"p99": 7.8595, | |
"values": [ | |
7.8595 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1515.143168, | |
"max_global_vram": 11.169792, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 119, | |
"total": 1.0000855102539064, | |
"mean": 0.008404079918100053, | |
"stdev": 0.0004545853113946353, | |
"p50": 0.008257895469665528, | |
"p90": 0.008983332824707032, | |
"p95": 0.009015844631195069, | |
"p99": 0.009040356903076172, | |
"values": [ | |
0.008742693901062012, | |
0.009147172927856445, | |
0.0090098934173584, | |
0.00871389389038086, | |
0.008642374038696289, | |
0.008774534225463867, | |
0.00841773509979248, | |
0.00851949405670166, | |
0.00816589641571045, | |
0.008195975303649902, | |
0.008193256378173829, | |
0.008138376235961914, | |
0.008180295944213867, | |
0.008082856178283691, | |
0.008257895469665528, | |
0.008217096328735352, | |
0.008148295402526855, | |
0.007953416824340821, | |
0.007964136123657227, | |
0.007959976196289062, | |
0.007991335868835448, | |
0.007998216152191161, | |
0.008033576011657715, | |
0.008051655769348144, | |
0.008034855842590331, | |
0.00800109577178955, | |
0.007993256092071533, | |
0.007983976840972901, | |
0.007975656986236573, | |
0.008253094673156738, | |
0.007976935863494874, | |
0.008004936218261718, | |
0.007977735996246339, | |
0.007909576892852783, | |
0.00793005609512329, | |
0.007886376857757569, | |
0.007888456821441651, | |
0.007874695777893067, | |
0.007877737045288087, | |
0.007885896205902099, | |
0.007933577060699464, | |
0.007929096221923828, | |
0.007929736137390137, | |
0.007952297210693359, | |
0.007924936771392822, | |
0.007951816082000733, | |
0.007947815895080566, | |
0.007904296875, | |
0.007941895961761475, | |
0.008289255142211915, | |
0.008355975151062012, | |
0.007915816783905029, | |
0.007924776077270507, | |
0.008255334854125976, | |
0.008945894241333009, | |
0.008946693420410157, | |
0.008920772552490235, | |
0.008939813613891602, | |
0.00893757438659668, | |
0.008940773010253906, | |
0.008906213760375977, | |
0.008908933639526367, | |
0.008938693046569824, | |
0.008886054039001464, | |
0.0089300537109375, | |
0.008931492805480957, | |
0.008915814399719238, | |
0.008908453941345216, | |
0.00894221305847168, | |
0.008989892959594726, | |
0.009010212898254395, | |
0.009019014358520507, | |
0.009028614044189453, | |
0.009037734031677246, | |
0.00897309398651123, | |
0.008969573020935059, | |
0.008941412925720215, | |
0.00898093318939209, | |
0.008955014228820802, | |
0.00895741367340088, | |
0.00900237274169922, | |
0.008985893249511719, | |
0.009031493186950684, | |
0.00898269271850586, | |
0.008962373733520507, | |
0.008959174156188965, | |
0.008972292900085449, | |
0.009040932655334472, | |
0.008230854988098144, | |
0.007940937042236328, | |
0.007950857162475585, | |
0.007952775955200195, | |
0.007904776096343994, | |
0.00791949701309204, | |
0.007888455867767334, | |
0.008844614028930664, | |
0.008777894020080567, | |
0.008307496070861816, | |
0.008311494827270508, | |
0.008330855369567871, | |
0.008367175102233887, | |
0.008399174690246583, | |
0.008109095573425294, | |
0.007915656089782714, | |
0.007916776180267334, | |
0.007913577079772948, | |
0.007872136116027832, | |
0.007902856826782226, | |
0.007862855911254883, | |
0.007917097091674805, | |
0.007880617141723632, | |
0.008429254531860352, | |
0.008959012985229492, | |
0.008728774070739746, | |
0.008404455184936523, | |
0.008895333290100099, | |
0.00901549243927002, | |
0.008968294143676758, | |
0.008456774711608887 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 118.98982514983918 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |