IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0984ea3
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": "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": "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.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": 1032.482816, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 43484.299264, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.484265625, | |
"mean": 7.484265625, | |
"stdev": 0.0, | |
"p50": 7.484265625, | |
"p90": 7.484265625, | |
"p95": 7.484265625, | |
"p99": 7.484265625, | |
"values": [ | |
7.484265625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1149.956096, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 213437.550592, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 0.9994852151870729, | |
"mean": 0.007571857690811158, | |
"stdev": 0.0008762317290195927, | |
"p50": 0.007403336048126221, | |
"p90": 0.008197956943511962, | |
"p95": 0.008373637199401856, | |
"p99": 0.011234156789779657, | |
"values": [ | |
0.008368453025817872, | |
0.00832189178466797, | |
0.00840781307220459, | |
0.008278532981872559, | |
0.008293252944946289, | |
0.008620132446289062, | |
0.00837997341156006, | |
0.008381571769714356, | |
0.008092453956604004, | |
0.008159173011779786, | |
0.008312132835388184, | |
0.008131173133850098, | |
0.008180133819580078, | |
0.008148292541503906, | |
0.008172292709350586, | |
0.008127174377441405, | |
0.008142213821411132, | |
0.008187012672424316, | |
0.008182052612304688, | |
0.00812541389465332, | |
0.008149413108825684, | |
0.008160613059997558, | |
0.008223652839660645, | |
0.008199172973632813, | |
0.009174209594726562, | |
0.013178196907043457, | |
0.007316297054290772, | |
0.007877574920654298, | |
0.007878853797912597, | |
0.007913253784179687, | |
0.007905573844909667, | |
0.00791357421875, | |
0.00779165506362915, | |
0.007856133937835694, | |
0.0078820538520813, | |
0.00791421413421631, | |
0.0074286160469055175, | |
0.007626375198364258, | |
0.007972293853759766, | |
0.007914373874664307, | |
0.00794301414489746, | |
0.0078820538520813, | |
0.007934053897857667, | |
0.007925734043121338, | |
0.007908453941345215, | |
0.007620134830474854, | |
0.007919174194335937, | |
0.007871174812316894, | |
0.007875013828277587, | |
0.007880454063415527, | |
0.00787101411819458, | |
0.007900134086608886, | |
0.007544295787811279, | |
0.0075058951377868655, | |
0.007330696105957032, | |
0.007290855884552002, | |
0.007139657020568848, | |
0.007166215896606445, | |
0.006932777881622314, | |
0.006959816932678223, | |
0.00694685697555542, | |
0.006939978122711182, | |
0.006941418170928955, | |
0.0069678168296813964, | |
0.006962536811828613, | |
0.0069566178321838375, | |
0.006973097801208496, | |
0.007022057056427002, | |
0.007587975025177002, | |
0.006992776870727539, | |
0.006945736885070801, | |
0.006962216854095459, | |
0.006973897933959961, | |
0.006963976860046387, | |
0.006932937145233155, | |
0.006962536811828613, | |
0.0069370980262756345, | |
0.0069599771499633785, | |
0.006920776844024658, | |
0.006926698207855225, | |
0.006960136890411377, | |
0.0069274969100952145, | |
0.00693869686126709, | |
0.006955177783966065, | |
0.0069409370422363285, | |
0.006928617000579834, | |
0.007111337184906006, | |
0.006932297229766846, | |
0.00695261812210083, | |
0.006925096988677978, | |
0.0071212568283081056, | |
0.00696541690826416, | |
0.006938217163085937, | |
0.006901257991790771, | |
0.007153417110443115, | |
0.007636935234069824, | |
0.007907174110412597, | |
0.00790541410446167, | |
0.007927175045013429, | |
0.0075330958366394045, | |
0.007354375839233399, | |
0.007339176177978516, | |
0.007274055957794189, | |
0.007873733997344971, | |
0.00736029577255249, | |
0.007386536121368408, | |
0.007406055927276611, | |
0.007359655857086181, | |
0.0074854159355163576, | |
0.00735805606842041, | |
0.007292935848236084, | |
0.0073694162368774414, | |
0.007372136116027832, | |
0.00740061616897583, | |
0.007296617031097412, | |
0.012159640312194825, | |
0.003715188026428223, | |
0.007298696041107178, | |
0.007351016044616699, | |
0.0073857359886169436, | |
0.00743965482711792, | |
0.0074242959022521975, | |
0.007441256046295166, | |
0.006942216873168945, | |
0.006951336860656738, | |
0.007168937206268311, | |
0.0072433362007141115, | |
0.007238536834716797, | |
0.006939338207244873, | |
0.0069430160522460935, | |
0.006939336776733398, | |
0.006947978019714356 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.06798659377233 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |