IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
def450d
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": "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": "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": 1034.985472, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 45163.139072, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.33163671875, | |
"mean": 8.33163671875, | |
"stdev": 0.0, | |
"p50": 8.33163671875, | |
"p90": 8.33163671875, | |
"p95": 8.33163671875, | |
"p99": 8.33163671875, | |
"values": [ | |
8.33163671875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1164.787712, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 214605.275136, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 1.0024391036033633, | |
"mean": 0.007211792112254409, | |
"stdev": 0.0013221887390662706, | |
"p50": 0.006874895095825196, | |
"p90": 0.007623984050750732, | |
"p95": 0.00767623987197876, | |
"p99": 0.013065967340469397, | |
"values": [ | |
0.007346095085144043, | |
0.006846735000610352, | |
0.006851055145263672, | |
0.006840973854064941, | |
0.0068334550857543945, | |
0.00688721513748169, | |
0.006811374187469482, | |
0.006850415229797363, | |
0.007959537029266358, | |
0.007565296173095703, | |
0.006841294765472412, | |
0.0068921751976013185, | |
0.006820653915405274, | |
0.006876494884490967, | |
0.0068352150917053225, | |
0.006895054817199707, | |
0.006883213996887207, | |
0.0068620948791503905, | |
0.006859214782714844, | |
0.00688177490234375, | |
0.006924014091491699, | |
0.006906575202941895, | |
0.006887374877929687, | |
0.006931855201721192, | |
0.006874895095825196, | |
0.006902413845062256, | |
0.006939054965972901, | |
0.016195714950561522, | |
0.007408656120300293, | |
0.006852175235748291, | |
0.006772014141082763, | |
0.006750895023345947, | |
0.006811853885650635, | |
0.006810414791107178, | |
0.006800014019012451, | |
0.006808174133300781, | |
0.0067766551971435544, | |
0.006789773941040039, | |
0.0068022551536560056, | |
0.006787693977355957, | |
0.006772815227508545, | |
0.006768494129180908, | |
0.006747055053710938, | |
0.006894414901733399, | |
0.006808494091033936, | |
0.007211696147918701, | |
0.007086414813995362, | |
0.007105935096740723, | |
0.0072612957954406735, | |
0.007048494815826416, | |
0.007224015235900879, | |
0.007189936161041259, | |
0.006962574958801269, | |
0.0070652952194213865, | |
0.006906253814697266, | |
0.00675809383392334, | |
0.006956814765930176, | |
0.006727374076843261, | |
0.006775374889373779, | |
0.006771374225616455, | |
0.006786574840545654, | |
0.006754893779754639, | |
0.006780495166778564, | |
0.006834575176239014, | |
0.0067828941345214845, | |
0.006795054912567139, | |
0.006789453983306885, | |
0.006829615116119385, | |
0.006823214054107666, | |
0.006839853763580322, | |
0.006797295093536377, | |
0.006797773838043213, | |
0.006795054912567139, | |
0.006781454086303711, | |
0.0068737750053405764, | |
0.006827694892883301, | |
0.006746094226837158, | |
0.0067552151679992675, | |
0.006820653915405274, | |
0.00680257511138916, | |
0.00672801399230957, | |
0.006797134876251221, | |
0.006755373954772949, | |
0.006725934982299805, | |
0.006752654075622559, | |
0.006785134792327881, | |
0.006771374225616455, | |
0.006747055053710938, | |
0.0067974538803100585, | |
0.006777615070343018, | |
0.006757453918457031, | |
0.0067931351661682125, | |
0.006736333847045898, | |
0.006729294776916504, | |
0.0068208141326904295, | |
0.006758413791656494, | |
0.00680865478515625, | |
0.006839213848114013, | |
0.0068811349868774414, | |
0.006901295185089112, | |
0.00686369514465332, | |
0.006927053928375244, | |
0.006896174907684326, | |
0.007324336051940918, | |
0.007115855216979981, | |
0.007425615787506104, | |
0.007580495834350586, | |
0.007600976943969727, | |
0.007556015968322754, | |
0.007532815933227539, | |
0.0075568161010742185, | |
0.007912177085876465, | |
0.0077688169479370114, | |
0.007597616195678711, | |
0.0075518560409545896, | |
0.007656177043914795, | |
0.0076257758140563965, | |
0.0075995359420776365, | |
0.0076208171844482425, | |
0.007623536109924316, | |
0.007603216171264649, | |
0.019119239807128905, | |
0.007486735820770264, | |
0.007523375988006592, | |
0.00757729721069336, | |
0.007636176109313965, | |
0.007598735809326172, | |
0.007796176910400391, | |
0.007568175792694092, | |
0.0076422572135925295, | |
0.0075518560409545896, | |
0.007718575000762939, | |
0.007613296985626221, | |
0.007600815773010254, | |
0.007671535968780518, | |
0.007665777206420898, | |
0.007590735912322998, | |
0.007663056850433349, | |
0.007584176063537598 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.66178952950983 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |