IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
6b856d6
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "5", | |
"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.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1070.157824, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 49956.10624, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.8392158203125, | |
"mean": 8.8392158203125, | |
"stdev": 0.0, | |
"p50": 8.8392158203125, | |
"p90": 8.8392158203125, | |
"p95": 8.8392158203125, | |
"p99": 8.8392158203125, | |
"values": [ | |
8.8392158203125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1199.55456, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 250995.24096, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 123, | |
"total": 1.0001565713882443, | |
"mean": 0.00813135423892882, | |
"stdev": 0.005463852708911554, | |
"p50": 0.007497252941131592, | |
"p90": 0.007582596969604492, | |
"p95": 0.007630516052246094, | |
"p99": 0.03944823833465579, | |
"values": [ | |
0.007506213188171387, | |
0.007391493797302246, | |
0.00731069278717041, | |
0.0075460529327392575, | |
0.007504773139953613, | |
0.0075694131851196285, | |
0.0077945318222045895, | |
0.007597093105316162, | |
0.008574209213256835, | |
0.007030855178833008, | |
0.007050694942474366, | |
0.0071550140380859375, | |
0.006947175025939941, | |
0.0071745338439941405, | |
0.007178854942321777, | |
0.006949735164642334, | |
0.006854054927825928, | |
0.0067810959815979, | |
0.006792294979095459, | |
0.006812456130981445, | |
0.006856295108795166, | |
0.0071244540214538575, | |
0.006875656127929688, | |
0.0070050950050354, | |
0.006971654891967774, | |
0.006935175895690918, | |
0.006894215106964112, | |
0.006867175102233887, | |
0.006846216201782227, | |
0.05390892791748047, | |
0.00816477108001709, | |
0.007607333183288574, | |
0.0075262131690979, | |
0.007572452068328858, | |
0.007507973194122315, | |
0.007562532901763916, | |
0.0075343728065490724, | |
0.007533412933349609, | |
0.007517892837524414, | |
0.007500452995300293, | |
0.007563013076782227, | |
0.007511652946472168, | |
0.007492453098297119, | |
0.007490212917327881, | |
0.007530532836914063, | |
0.0075031728744506835, | |
0.007497252941131592, | |
0.007514372825622558, | |
0.007523812770843506, | |
0.007517093181610107, | |
0.007492133140563965, | |
0.007567333221435547, | |
0.00755629301071167, | |
0.007563972949981689, | |
0.0075434927940368655, | |
0.00750173282623291, | |
0.0075668530464172365, | |
0.007553253173828125, | |
0.007550211906433105, | |
0.007424613952636719, | |
0.01817353630065918, | |
0.007193734169006347, | |
0.0074890928268432615, | |
0.007579493045806885, | |
0.007553252220153808, | |
0.0075833330154418946, | |
0.007601253032684326, | |
0.007419332981109619, | |
0.007215013980865478, | |
0.007284133911132812, | |
0.007201414108276367, | |
0.007153735160827636, | |
0.007132294178009033, | |
0.007363813877105713, | |
0.007467012882232666, | |
0.007204453945159912, | |
0.007179334163665772, | |
0.007305093765258789, | |
0.007159493923187256, | |
0.007194054126739502, | |
0.007291014194488525, | |
0.00728973388671875, | |
0.007270693778991699, | |
0.007314533233642578, | |
0.007291173934936524, | |
0.00730445384979248, | |
0.007038694858551025, | |
0.007219014167785645, | |
0.006842695236206055, | |
0.006759335994720459, | |
0.006991334915161133, | |
0.006956134796142578, | |
0.006657415866851806, | |
0.006605256080627442, | |
0.006838215827941895, | |
0.007502213001251221, | |
0.0075100531578063965, | |
0.007516452789306641, | |
0.00751101303100586, | |
0.00750173282623291, | |
0.007491014003753662, | |
0.007501573085784912, | |
0.007494213104248047, | |
0.007474052906036377, | |
0.007532453060150147, | |
0.007447493076324463, | |
0.007543333053588867, | |
0.007496772766113281, | |
0.04544879531860352, | |
0.007538212776184082, | |
0.0075796527862548825, | |
0.007633091926574707, | |
0.0075882930755615235, | |
0.0075508527755737305, | |
0.007500933170318603, | |
0.007546372890472412, | |
0.0075246129035949705, | |
0.007555492877960205, | |
0.007551492214202881, | |
0.007558533191680908, | |
0.007591972827911377, | |
0.0075167732238769535, | |
0.0075295729637145994 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 122.9807447340696 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |