IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
4a9564e
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"model_type": "bert", | |
"model": "google-bert/bert-base-uncased", | |
"processor": "google-bert/bert-base-uncased", | |
"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": "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.1", | |
"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": 904.667136, | |
"max_global_vram": 875.462656, | |
"max_process_vram": 40492.978176, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.17184228515625, | |
"mean": 7.17184228515625, | |
"stdev": 0.0, | |
"p50": 7.17184228515625, | |
"p90": 7.17184228515625, | |
"p95": 7.17184228515625, | |
"p99": 7.17184228515625, | |
"values": [ | |
7.17184228515625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1023.766528, | |
"max_global_vram": 939.008, | |
"max_process_vram": 224943.65696, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 1.0017044363021845, | |
"mean": 0.007206506735986944, | |
"stdev": 0.0005427867910987838, | |
"p50": 0.0073388991355896, | |
"p90": 0.007397106742858886, | |
"p95": 0.007441010284423828, | |
"p99": 0.00753054386138916, | |
"values": [ | |
0.007491858005523682, | |
0.007484498977661133, | |
0.007368498802185058, | |
0.007343539237976074, | |
0.007439698219299316, | |
0.007354259014129639, | |
0.006892656803131104, | |
0.006744657039642334, | |
0.006727217197418213, | |
0.0066635370254516605, | |
0.0075316991806030275, | |
0.006572657108306885, | |
0.006520495891571045, | |
0.006555696964263916, | |
0.006508016109466553, | |
0.006688817024230957, | |
0.006696496963500977, | |
0.012638751983642577, | |
0.006438896179199218, | |
0.006693616867065429, | |
0.007166577816009522, | |
0.006886577129364014, | |
0.006734097003936767, | |
0.006767696857452392, | |
0.006806736946105957, | |
0.0068382568359375, | |
0.006604977130889892, | |
0.006464975833892822, | |
0.006563537120819092, | |
0.006976497173309326, | |
0.006751536846160889, | |
0.0069840168952941895, | |
0.007080657958984375, | |
0.00684801721572876, | |
0.0068420968055725095, | |
0.006753296852111817, | |
0.006700177192687989, | |
0.007033298015594483, | |
0.00743441915512085, | |
0.007401457786560059, | |
0.0073664188385009766, | |
0.00738001823425293, | |
0.007360017776489257, | |
0.007348339080810547, | |
0.007361618041992188, | |
0.0073732991218566895, | |
0.007361618041992188, | |
0.007385939121246338, | |
0.007347377777099609, | |
0.007367379188537597, | |
0.0073899378776550294, | |
0.007353778839111328, | |
0.007362418174743653, | |
0.0073408188819885254, | |
0.007347377777099609, | |
0.007348019123077393, | |
0.007322257995605469, | |
0.007528658866882324, | |
0.007454099178314209, | |
0.007417298793792724, | |
0.0073401780128479, | |
0.007378899097442627, | |
0.007337778091430664, | |
0.007360498905181884, | |
0.007353777885437012, | |
0.007085618019104004, | |
0.006883377075195312, | |
0.007058738231658935, | |
0.007327858924865723, | |
0.007358098030090332, | |
0.007337938785552978, | |
0.007317937850952148, | |
0.00733969783782959, | |
0.007340019226074219, | |
0.007345297813415527, | |
0.007364499092102051, | |
0.007324818134307861, | |
0.007329298973083496, | |
0.007306578159332275, | |
0.007325778961181641, | |
0.007303378105163574, | |
0.007310418128967286, | |
0.007348498821258545, | |
0.007348338127136231, | |
0.007339859008789062, | |
0.007378898143768311, | |
0.007325139045715332, | |
0.007371858119964599, | |
0.0073640189170837405, | |
0.007357617855072021, | |
0.007379858016967773, | |
0.007347858905792236, | |
0.007349778175354004, | |
0.007371539115905761, | |
0.007345297813415527, | |
0.007363698959350586, | |
0.007360177993774414, | |
0.007309298038482666, | |
0.0073355379104614255, | |
0.0073592190742492675, | |
0.00732977819442749, | |
0.007371539115905761, | |
0.0073569779396057125, | |
0.007346579074859619, | |
0.0073563380241394045, | |
0.0073388991355896, | |
0.007356497764587402, | |
0.00736785888671875, | |
0.007340817928314209, | |
0.007396018981933593, | |
0.007325778007507324, | |
0.007282578945159912, | |
0.007343698024749756, | |
0.007421779155731201, | |
0.007254898071289062, | |
0.006826736927032471, | |
0.006912178039550782, | |
0.006919217109680176, | |
0.0067846570014953615, | |
0.0071948981285095215, | |
0.007452818870544433, | |
0.007420339107513428, | |
0.006917296886444092, | |
0.006802577018737793, | |
0.006928977966308594, | |
0.007023537158966064, | |
0.006874417781829834, | |
0.006836977005004883, | |
0.007352017879486084, | |
0.007412818908691407, | |
0.007389459133148193, | |
0.007245937824249268, | |
0.006795056819915771, | |
0.006960658073425293, | |
0.006850097179412842, | |
0.006776977062225342, | |
0.0069270567893981935, | |
0.0072188968658447265, | |
0.007392658233642578 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.76348647623212 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |