IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
8f1f6a0
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": 2, | |
"sequence_length": 16, | |
"num_choices": 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": 1082014.490624, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.12", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1098.960896, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 4700.30336, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.09521684265136719 | |
], | |
"count": 1, | |
"total": 0.09521684265136719, | |
"mean": 0.09521684265136719, | |
"p50": 0.09521684265136719, | |
"p90": 0.09521684265136719, | |
"p95": 0.09521684265136719, | |
"p99": 0.09521684265136719, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1222.77888, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 233095.757824, | |
"max_reserved": 589.299712, | |
"max_allocated": 443.303936 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007353725910186767, | |
0.007034048080444336, | |
0.007018367767333985, | |
0.007030367851257324, | |
0.0070057277679443355, | |
0.00701308822631836, | |
0.007032287120819092, | |
0.007041567802429199, | |
0.007092927932739258, | |
0.007093727111816406, | |
0.007053247928619385, | |
0.007057568073272705, | |
0.00703276777267456, | |
0.007048448085784912, | |
0.007038527011871338, | |
0.007094048023223877, | |
0.007053088188171386, | |
0.00705020809173584, | |
0.007059486865997314, | |
0.007053247928619385, | |
0.007025087833404541, | |
0.007032288074493408, | |
0.007073567867279053, | |
0.007196446895599365, | |
0.007044928073883057, | |
0.007046847820281982, | |
0.007069248199462891, | |
0.007063168048858643, | |
0.007047647953033447, | |
0.0070543670654296875, | |
0.00703004789352417, | |
0.007133247852325439, | |
0.007056606769561768, | |
0.007098368167877197, | |
0.007077407836914062, | |
0.0070634870529174805, | |
0.007072447776794433, | |
0.007088448047637939, | |
0.007069246768951416, | |
0.007072768211364746, | |
0.007068927764892578, | |
0.007083967208862305, | |
0.007045728206634521, | |
0.007197886943817139, | |
0.0070975680351257325, | |
0.007100447177886963, | |
0.0070620479583740235, | |
0.00708460807800293, | |
0.007079007148742676, | |
0.007109407901763916, | |
0.0071209268569946286, | |
0.00707916784286499, | |
0.007109248161315918, | |
0.007105728149414062, | |
0.0071238079071044924, | |
0.007141727924346924, | |
0.007098367214202881, | |
0.007072447776794433, | |
0.007084127902984619, | |
0.007085886955261231, | |
0.007074687957763672, | |
0.007090047836303711, | |
0.0070806069374084474, | |
0.007941403865814208, | |
0.007964444160461426, | |
0.007973563194274903, | |
0.00793036413192749, | |
0.0074287657737731935, | |
0.0075058860778808596, | |
0.007953722953796387, | |
0.007996923923492431, | |
0.008019482612609864, | |
0.007483806133270264, | |
0.0074116458892822265, | |
0.0075394859313964845, | |
0.007971323013305665, | |
0.007465886116027832, | |
0.007346847057342529, | |
0.007401246070861817, | |
0.007363646030426025, | |
0.0074538860321044925, | |
0.007489086151123047, | |
0.00768620491027832, | |
0.0075746850967407225, | |
0.007599005222320557, | |
0.007547646045684814, | |
0.007487165927886963, | |
0.007389245986938476, | |
0.007219007015228271, | |
0.007051648139953614, | |
0.007076607227325439, | |
0.007210847854614258, | |
0.006998047828674316, | |
0.007034206867218017, | |
0.007102047920227051, | |
0.0070990071296691895, | |
0.0070638079643249516, | |
0.007041888236999512, | |
0.007094687938690185, | |
0.007095966815948486, | |
0.007079487800598145, | |
0.007067327976226807, | |
0.007067646980285645, | |
0.007082047939300537, | |
0.007076288223266601, | |
0.007095326900482177, | |
0.00728236722946167, | |
0.007098046779632569, | |
0.0070266880989074704, | |
0.007053728103637695, | |
0.007073887825012207, | |
0.007056128025054931, | |
0.0070782070159912105, | |
0.0070975680351257325, | |
0.007110046863555908, | |
0.007065567970275879, | |
0.007054207801818847, | |
0.007032127857208252, | |
0.007074367046356201, | |
0.007064608097076416, | |
0.00705628776550293, | |
0.0070713281631469725, | |
0.007104287147521973, | |
0.007135326862335205, | |
0.007051008224487305, | |
0.007087488174438477, | |
0.014462493896484374, | |
0.007026847839355469, | |
0.0070849270820617675, | |
0.007051487922668457, | |
0.007042367935180664, | |
0.007061247825622559, | |
0.007030687808990479, | |
0.007052766799926758, | |
0.007062527179718017, | |
0.007035168170928955, | |
0.00704588794708252, | |
0.007039648056030273, | |
0.00703676700592041 | |
], | |
"count": 139, | |
"total": 1.0050558872222901, | |
"mean": 0.0072306178936855404, | |
"p50": 0.0070782070159912105, | |
"p90": 0.007512606048583985, | |
"p95": 0.007942635774612426, | |
"p99": 0.00801091031074524, | |
"stdev": 0.0006614705051374441, | |
"stdev_": 9.148187815526839 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 276.60153383939553 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |