IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
af7fdea
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_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": "0", | |
"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.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": 1386.295296, | |
"max_global_vram": 11.075584, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.72250390625, | |
"mean": 7.72250390625, | |
"stdev": 0.0, | |
"p50": 7.72250390625, | |
"p90": 7.72250390625, | |
"p95": 7.72250390625, | |
"p99": 7.72250390625, | |
"values": [ | |
7.72250390625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1485.74208, | |
"max_global_vram": 11.14112, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 149, | |
"total": 1.0048536100387568, | |
"mean": 0.006743983959991659, | |
"stdev": 0.00046732393598980873, | |
"p50": 0.006559018135070801, | |
"p90": 0.007237319850921631, | |
"p95": 0.007262568092346191, | |
"p99": 0.00734000078201294, | |
"values": [ | |
0.006815018177032471, | |
0.006684617042541504, | |
0.006481898784637451, | |
0.006476297855377198, | |
0.006494218826293945, | |
0.006513738155364991, | |
0.006502217769622802, | |
0.006486538887023926, | |
0.006455177783966064, | |
0.006764936923980713, | |
0.006500938892364502, | |
0.006439017772674561, | |
0.006785098075866699, | |
0.006964776039123535, | |
0.006782698154449463, | |
0.0066874980926513675, | |
0.006369099140167236, | |
0.006727017879486084, | |
0.007182536125183106, | |
0.007213575839996338, | |
0.007224616050720215, | |
0.007224616050720215, | |
0.007223176002502441, | |
0.007225574970245362, | |
0.007190375804901123, | |
0.007231336116790771, | |
0.007218056201934815, | |
0.007196616172790527, | |
0.0071759757995605465, | |
0.007201255798339844, | |
0.007254216194152832, | |
0.00724781608581543, | |
0.007245096206665039, | |
0.00728349494934082, | |
0.007304615974426269, | |
0.00725213623046875, | |
0.007277575016021729, | |
0.007268136024475098, | |
0.0072420558929443355, | |
0.007286375999450684, | |
0.007242856025695801, | |
0.007219655990600586, | |
0.007212775230407715, | |
0.00719325590133667, | |
0.007175016880035401, | |
0.00717901611328125, | |
0.007186056137084961, | |
0.007171815872192383, | |
0.007171815872192383, | |
0.007130856037139892, | |
0.007136295795440674, | |
0.010255166053771973, | |
0.007326855182647705, | |
0.007132297039031983, | |
0.007190375804901123, | |
0.007184135913848877, | |
0.007171976089477539, | |
0.007209735870361328, | |
0.007218376159667968, | |
0.007237256050109863, | |
0.0072058959007263185, | |
0.007213575839996338, | |
0.0067975778579711914, | |
0.006574217796325684, | |
0.006611978054046631, | |
0.006545097827911377, | |
0.00678205680847168, | |
0.006546538829803467, | |
0.006555498123168945, | |
0.006612937927246093, | |
0.006559018135070801, | |
0.006589417934417725, | |
0.006545417785644532, | |
0.006769736766815185, | |
0.006558857917785645, | |
0.006496778964996338, | |
0.006350698947906494, | |
0.006378858089447021, | |
0.006356459140777588, | |
0.006362858772277832, | |
0.006408298969268799, | |
0.006370058059692383, | |
0.006371979236602783, | |
0.006386538982391357, | |
0.006367178916931152, | |
0.0063726181983947755, | |
0.0063545389175415036, | |
0.006347818851470947, | |
0.0063430190086364744, | |
0.006319979190826416, | |
0.0065198178291320805, | |
0.0064250979423522946, | |
0.006331018924713135, | |
0.00634653902053833, | |
0.0063716588020324705, | |
0.006351978778839112, | |
0.006345738887786865, | |
0.0063511781692504885, | |
0.006352458953857422, | |
0.006482698917388916, | |
0.0067703771591186524, | |
0.006564457893371582, | |
0.006645738124847412, | |
0.006682218074798584, | |
0.0065151782035827634, | |
0.006714858055114746, | |
0.006686057090759277, | |
0.006536777973175049, | |
0.006493739128112793, | |
0.006346219062805176, | |
0.006347817897796631, | |
0.006329739093780517, | |
0.0063466992378234865, | |
0.006368779182434082, | |
0.006377738952636719, | |
0.0063521389961242675, | |
0.006351978778839112, | |
0.0063614192008972165, | |
0.0063594989776611325, | |
0.0063783788681030275, | |
0.006355177879333496, | |
0.006360619068145752, | |
0.006335178852081299, | |
0.006329898834228516, | |
0.006363338947296142, | |
0.006362538814544677, | |
0.006342058181762695, | |
0.006369739055633545, | |
0.0063447790145874025, | |
0.006381578922271728, | |
0.006357577800750733, | |
0.006341578960418701, | |
0.006348299026489258, | |
0.006372138977050781, | |
0.006352778911590576, | |
0.006365738868713379, | |
0.006667977809906006, | |
0.0066521382331848145, | |
0.006762857913970947, | |
0.00667229700088501, | |
0.006439339160919189, | |
0.006351179122924805, | |
0.006547018051147461, | |
0.006341578960418701, | |
0.007352135181427002, | |
0.007237575054168701, | |
0.007236135959625244, | |
0.0071850957870483395, | |
0.007216135978698731 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 148.2803052220244 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |