IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
8338877
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": "4", | |
"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.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": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1033.895936, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 45160.67328, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.0182578125, | |
"mean": 8.0182578125, | |
"stdev": 0.0, | |
"p50": 8.0182578125, | |
"p90": 8.0182578125, | |
"p95": 8.0182578125, | |
"p99": 8.0182578125, | |
"values": [ | |
8.0182578125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1163.689984, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 241314.004992, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 0.999619447231293, | |
"mean": 0.007191506814613617, | |
"stdev": 0.0016209652142599108, | |
"p50": 0.006820455074310303, | |
"p90": 0.0075690598487854, | |
"p95": 0.007611763858795167, | |
"p99": 0.016676546020507815, | |
"values": [ | |
0.007609570980072021, | |
0.007611331939697266, | |
0.00731069278717041, | |
0.007286373138427734, | |
0.007238372802734375, | |
0.007170213222503662, | |
0.0072114930152893065, | |
0.007176932811737061, | |
0.007470692157745361, | |
0.007171173095703125, | |
0.00708829402923584, | |
0.00703773307800293, | |
0.007022533893585205, | |
0.0070058941841125485, | |
0.00690813398361206, | |
0.0069465341567993165, | |
0.006865573883056641, | |
0.006879973888397217, | |
0.0068470139503479, | |
0.006877734184265137, | |
0.006872294902801513, | |
0.006853573799133301, | |
0.0068876538276672365, | |
0.006895174026489257, | |
0.006856934070587158, | |
0.006826855182647705, | |
0.006843974113464355, | |
0.006878374099731445, | |
0.006865253925323486, | |
0.006871494770050049, | |
0.006838054180145264, | |
0.006870534896850586, | |
0.006948133945465088, | |
0.006866374969482422, | |
0.0068447737693786625, | |
0.006817413806915283, | |
0.006820455074310303, | |
0.0068055739402771, | |
0.01947496795654297, | |
0.01098379898071289, | |
0.006906854152679443, | |
0.006788454055786133, | |
0.006701254844665527, | |
0.006707974910736084, | |
0.006722694873809815, | |
0.007009092807769775, | |
0.006989734172821045, | |
0.007081093788146972, | |
0.007192132949829101, | |
0.007175333023071289, | |
0.006998532772064209, | |
0.00705437421798706, | |
0.00693213415145874, | |
0.0067217350006103516, | |
0.006700454235076904, | |
0.006721095085144043, | |
0.006731975078582764, | |
0.006716774940490723, | |
0.006703494071960449, | |
0.006710054874420166, | |
0.006718375205993652, | |
0.006711015224456787, | |
0.006739335060119629, | |
0.006755494117736817, | |
0.006694375038146972, | |
0.006756295204162597, | |
0.006738053798675537, | |
0.006757414817810058, | |
0.006741734981536865, | |
0.006745573997497559, | |
0.006743655204772949, | |
0.006747334957122803, | |
0.0067855739593505856, | |
0.006750854969024658, | |
0.006745893955230713, | |
0.006759974956512451, | |
0.006698054790496826, | |
0.006715815067291259, | |
0.006741734027862549, | |
0.006703654766082764, | |
0.00670813512802124, | |
0.006676774978637695, | |
0.006736615180969238, | |
0.006727973937988282, | |
0.006722855091094971, | |
0.006760934829711914, | |
0.01673065757751465, | |
0.006674214839935303, | |
0.006753095149993896, | |
0.006709253787994385, | |
0.006745254993438721, | |
0.006721095085144043, | |
0.006670694828033447, | |
0.0066606149673461915, | |
0.006747334003448486, | |
0.00669565486907959, | |
0.006738534927368164, | |
0.00672749376296997, | |
0.0067193350791931155, | |
0.006720614910125732, | |
0.006727015018463135, | |
0.006747014045715332, | |
0.006707334995269775, | |
0.0067193350791931155, | |
0.006792133808135987, | |
0.006738534927368164, | |
0.006666055202484131, | |
0.006666854858398437, | |
0.006693894863128662, | |
0.006637734889984131, | |
0.0067310152053833006, | |
0.006738214015960693, | |
0.00670765495300293, | |
0.006721415042877197, | |
0.006972933769226074, | |
0.007512290954589843, | |
0.007534212112426758, | |
0.007598052024841309, | |
0.007089892864227295, | |
0.007370371818542481, | |
0.007537571907043457, | |
0.007541731834411621, | |
0.00761789083480835, | |
0.007115812778472901, | |
0.007570211887359619, | |
0.0075150117874145505, | |
0.007600131034851074, | |
0.0076345310211181645, | |
0.007597412109375, | |
0.007577890872955322, | |
0.007548131942749023, | |
0.007568771839141846, | |
0.0076156511306762695, | |
0.016588258743286132, | |
0.006895974159240723, | |
0.0068546938896179195, | |
0.006691014766693116, | |
0.006707334995269775, | |
0.006748933792114258 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.05291697255072 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |