IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
cfc5a2a
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": "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": 1024.741376, | |
"max_global_vram": 875.823104, | |
"max_process_vram": 44651.073536, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.63286083984375, | |
"mean": 7.63286083984375, | |
"stdev": 0.0, | |
"p50": 7.63286083984375, | |
"p90": 7.63286083984375, | |
"p95": 7.63286083984375, | |
"p99": 7.63286083984375, | |
"values": [ | |
7.63286083984375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1155.575808, | |
"max_global_vram": 942.518272, | |
"max_process_vram": 204460.675072, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 1.004502215385437, | |
"mean": 0.0071241291871307596, | |
"stdev": 0.0004448359471596756, | |
"p50": 0.007152297019958496, | |
"p90": 0.007479176044464111, | |
"p95": 0.00768125581741333, | |
"p99": 0.00889325122833252, | |
"values": [ | |
0.0077199749946594235, | |
0.007685255050659179, | |
0.007798854827880859, | |
0.007341416835784912, | |
0.0074494161605834965, | |
0.007484295845031738, | |
0.00768125581741333, | |
0.007479176044464111, | |
0.007806213855743408, | |
0.007375977039337158, | |
0.0075087761878967286, | |
0.007199497222900391, | |
0.007167656898498535, | |
0.007080777168273926, | |
0.007613894939422608, | |
0.0073322968482971195, | |
0.009403169631958008, | |
0.008724291801452637, | |
0.006786698818206787, | |
0.006913416862487793, | |
0.007005097866058349, | |
0.007025897026062012, | |
0.006978218078613281, | |
0.007134377002716064, | |
0.006931337833404541, | |
0.0069084582328796384, | |
0.006986536979675293, | |
0.006847978115081787, | |
0.006731658935546875, | |
0.006804458141326904, | |
0.006831337928771972, | |
0.007094377040863037, | |
0.007051018238067627, | |
0.00679597806930542, | |
0.006839657783508301, | |
0.007008617877960205, | |
0.00675485897064209, | |
0.0068924579620361325, | |
0.006873417854309082, | |
0.006726858139038086, | |
0.006679819107055664, | |
0.006723817825317383, | |
0.00673101806640625, | |
0.006769898891448974, | |
0.0066948580741882325, | |
0.00672429895401001, | |
0.006748777866363525, | |
0.006711018085479736, | |
0.006711019039154053, | |
0.006736777782440186, | |
0.006800938129425049, | |
0.006674698829650879, | |
0.006734538078308106, | |
0.006741418838500977, | |
0.006688777923583984, | |
0.00673085880279541, | |
0.006771498203277588, | |
0.00683085823059082, | |
0.00655229902267456, | |
0.006726697921752929, | |
0.006559819221496582, | |
0.006532138824462891, | |
0.006791818141937256, | |
0.006570219039916992, | |
0.006568939208984375, | |
0.006547658920288086, | |
0.006563498973846436, | |
0.006500298976898193, | |
0.006523338794708252, | |
0.006573578834533691, | |
0.006542698860168457, | |
0.006548939228057861, | |
0.00654573917388916, | |
0.0065302190780639644, | |
0.006743819236755371, | |
0.006719818115234375, | |
0.006747817993164063, | |
0.006746058940887451, | |
0.0066714978218078615, | |
0.006529259204864502, | |
0.007035498142242432, | |
0.007448935985565185, | |
0.00741101598739624, | |
0.00740669584274292, | |
0.007398856163024902, | |
0.007401416778564453, | |
0.007386536121368408, | |
0.007367815971374512, | |
0.007368136882781982, | |
0.007373095989227295, | |
0.0073265361785888675, | |
0.007349417209625244, | |
0.007326375961303711, | |
0.0073182168006896975, | |
0.007346695899963379, | |
0.007349256038665771, | |
0.007332137107849121, | |
0.0073196558952331545, | |
0.007327177047729492, | |
0.007311975955963135, | |
0.007321257114410401, | |
0.007330535888671875, | |
0.00731693696975708, | |
0.007324776172637939, | |
0.007362697124481201, | |
0.007362055778503418, | |
0.007365096092224121, | |
0.007337417125701904, | |
0.007318376064300537, | |
0.007343496799468994, | |
0.0073412561416625974, | |
0.007443016052246094, | |
0.007274537086486816, | |
0.0073718161582946775, | |
0.007348617076873779, | |
0.007307655811309814, | |
0.007429416179656982, | |
0.007340617179870605, | |
0.007382376194000244, | |
0.007372935771942138, | |
0.0073647770881652835, | |
0.007325736045837403, | |
0.007370697021484375, | |
0.007395815849304199, | |
0.007383495807647705, | |
0.007345096111297607, | |
0.007324616909027099, | |
0.007305576801300049, | |
0.007309415817260742, | |
0.009005890846252442, | |
0.007651014804840088, | |
0.007639976024627686, | |
0.007601095199584961, | |
0.0071002979278564455, | |
0.006999016761779785, | |
0.006980298042297363, | |
0.007152297019958496, | |
0.007260137081146241, | |
0.007037257194519043, | |
0.006940137863159179, | |
0.006793257236480713 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.36803288273182 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |