IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
550c63a
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", | |
"model": "google-bert/bert-base-uncased", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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, | |
"latency": true, | |
"memory": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.2.0", | |
"optimum_benchmark_commit": "ebd20fcf042acf5db8d8956e7057fa93c82e14ab", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1005.727744, | |
"max_global_vram": 930.574336, | |
"max_process_vram": 259865.595904, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 123, | |
"total": 1.0065305576324461, | |
"mean": 0.00818317526530444, | |
"stdev": 0.00019375278184622732, | |
"p50": 0.008150562286376953, | |
"p90": 0.008266273880004883, | |
"p95": 0.008314194297790527, | |
"p99": 0.008399951305389404, | |
"values": [ | |
0.008048322677612305, | |
0.008166881561279296, | |
0.008141283035278321, | |
0.008251683235168457, | |
0.008315522193908692, | |
0.008338083267211914, | |
0.008298401832580566, | |
0.00833840274810791, | |
0.008343043327331543, | |
0.008270241737365723, | |
0.008243682861328126, | |
0.00830224323272705, | |
0.00829872226715088, | |
0.008272163391113281, | |
0.008171682357788085, | |
0.008202082633972168, | |
0.008114723205566407, | |
0.008159042358398438, | |
0.008178563117980956, | |
0.008136801719665528, | |
0.008144163131713867, | |
0.008165602684020995, | |
0.008192642211914063, | |
0.008160162925720214, | |
0.008144322395324708, | |
0.0080921630859375, | |
0.008134242057800292, | |
0.00814288330078125, | |
0.008152003288269044, | |
0.0081284818649292, | |
0.008091362953186035, | |
0.00809568214416504, | |
0.008106082916259765, | |
0.008104641914367676, | |
0.008122882843017577, | |
0.008187522888183594, | |
0.008159201622009277, | |
0.008234723091125488, | |
0.00816544246673584, | |
0.008174242973327637, | |
0.008140803337097168, | |
0.008140321731567382, | |
0.008139203071594239, | |
0.008139681816101075, | |
0.008131842613220214, | |
0.008127362251281738, | |
0.008165923118591309, | |
0.008150882720947265, | |
0.008137762069702148, | |
0.008127202987670898, | |
0.008104962348937988, | |
0.008142083168029786, | |
0.008147201538085937, | |
0.008231363296508788, | |
0.00822480297088623, | |
0.008254081726074218, | |
0.008214242935180664, | |
0.008240483283996581, | |
0.00810880184173584, | |
0.008119842529296876, | |
0.008111521720886231, | |
0.008147043228149414, | |
0.008131841659545898, | |
0.008215043067932129, | |
0.008143683433532715, | |
0.008110721588134766, | |
0.008168642997741699, | |
0.00825872230529785, | |
0.008155363082885742, | |
0.008201763153076172, | |
0.00815792179107666, | |
0.008143362998962402, | |
0.008125282287597657, | |
0.008093282699584961, | |
0.008121441841125489, | |
0.00815824317932129, | |
0.008173282623291016, | |
0.008237281799316406, | |
0.008316482543945312, | |
0.00821728229522705, | |
0.008227362632751464, | |
0.008149442672729492, | |
0.008173122406005859, | |
0.008251362800598145, | |
0.008268161773681641, | |
0.010190403938293457, | |
0.00841600227355957, | |
0.008179682731628418, | |
0.008113922119140625, | |
0.008116803169250487, | |
0.008085923194885254, | |
0.008099202156066895, | |
0.008076163291931152, | |
0.008115681648254394, | |
0.008139203071594239, | |
0.008129761695861817, | |
0.008200802803039552, | |
0.008212162971496581, | |
0.00814208221435547, | |
0.008132802963256835, | |
0.008132481575012207, | |
0.008115842819213867, | |
0.008077922821044923, | |
0.008078882217407227, | |
0.008043362617492675, | |
0.008094402313232421, | |
0.00807136344909668, | |
0.00809952163696289, | |
0.00806272315979004, | |
0.00810000228881836, | |
0.008192322731018066, | |
0.008171683311462402, | |
0.00823600196838379, | |
0.008136322975158691, | |
0.008184962272644043, | |
0.008127042770385742, | |
0.008166242599487304, | |
0.008124161720275878, | |
0.008180322647094727, | |
0.008181442260742187, | |
0.008163202285766601, | |
0.00815264320373535, | |
0.008150562286376953 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 122.20195310246685 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |