IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
8a0abb9
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.2.1", | |
"optimum_benchmark_commit": "dd02f26cb819965cbf86e16d9ce013cddc3b86af", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1010.061312, | |
"max_global_vram": 938.909696, | |
"max_process_vram": 188946.49344, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 1.0042547621726987, | |
"mean": 0.007224854404120138, | |
"stdev": 0.000454709655262698, | |
"p50": 0.007060794830322265, | |
"p90": 0.007684506988525391, | |
"p95": 0.0076979309558868406, | |
"p99": 0.00826719203948975, | |
"values": [ | |
0.00710783576965332, | |
0.006951836109161377, | |
0.006902396202087402, | |
0.007017916202545166, | |
0.007123034954071045, | |
0.007086396217346191, | |
0.007026236057281494, | |
0.007213915824890137, | |
0.0070380749702453616, | |
0.007010235786437989, | |
0.006940956115722656, | |
0.007010715961456299, | |
0.006943195819854736, | |
0.006989756107330322, | |
0.006970715999603271, | |
0.0069137558937072754, | |
0.007017914772033691, | |
0.0069963159561157225, | |
0.007212155818939209, | |
0.007224956035614014, | |
0.007020474910736084, | |
0.006996796131134033, | |
0.0069891161918640135, | |
0.007003195762634277, | |
0.007011995792388916, | |
0.007130075931549072, | |
0.007296154975891114, | |
0.0071667160987854, | |
0.007050556182861328, | |
0.007097276210784912, | |
0.007060794830322265, | |
0.006976315975189209, | |
0.007055675983428955, | |
0.006944476127624511, | |
0.007049275875091553, | |
0.010492953300476074, | |
0.00725839614868164, | |
0.006841115951538086, | |
0.006919675827026367, | |
0.006814556121826172, | |
0.0068799958229064945, | |
0.006839035987854004, | |
0.006942875862121582, | |
0.006935194969177246, | |
0.007083516120910644, | |
0.00695935583114624, | |
0.007150556087493896, | |
0.007269435882568359, | |
0.007025754928588867, | |
0.00694895601272583, | |
0.006856956005096435, | |
0.006921276092529297, | |
0.00688351583480835, | |
0.006830235958099365, | |
0.006900956153869629, | |
0.006814236164093017, | |
0.006920795917510986, | |
0.0067785558700561525, | |
0.006779516220092773, | |
0.0069531149864196775, | |
0.006761116027832031, | |
0.0067755160331726075, | |
0.006766555786132812, | |
0.006843996047973633, | |
0.006812635898590088, | |
0.006899196147918701, | |
0.006985596179962158, | |
0.00693263578414917, | |
0.006888956069946289, | |
0.006877275943756103, | |
0.007673114776611328, | |
0.007687675952911377, | |
0.007691675186157226, | |
0.007390875816345215, | |
0.007053915977478027, | |
0.007248475074768067, | |
0.007189435958862305, | |
0.007153595924377441, | |
0.0070876750946044925, | |
0.006876795768737793, | |
0.00677039623260498, | |
0.006849915981292725, | |
0.006789755821228027, | |
0.007267516136169433, | |
0.007667355060577393, | |
0.007669435977935791, | |
0.008588154792785645, | |
0.007661274909973145, | |
0.007679356098175049, | |
0.007653275012969971, | |
0.0076972761154174806, | |
0.00769583511352539, | |
0.007633594989776611, | |
0.007637115955352783, | |
0.007684154987335205, | |
0.00759903621673584, | |
0.007655195236206055, | |
0.0076740760803222655, | |
0.007682075023651123, | |
0.007657916069030762, | |
0.007660315036773681, | |
0.007671514987945557, | |
0.007628635883331299, | |
0.007697754859924316, | |
0.007663836002349853, | |
0.007717915058135986, | |
0.007673436164855957, | |
0.007631354808807373, | |
0.007638875961303711, | |
0.007642875194549561, | |
0.007651195049285888, | |
0.0076905560493469236, | |
0.007657754898071289, | |
0.007743515968322754, | |
0.007646554946899414, | |
0.007699515819549561, | |
0.0076859149932861325, | |
0.007624316215515137, | |
0.007741115093231201, | |
0.007675195217132568, | |
0.007669596195220947, | |
0.007660634994506836, | |
0.007710875988006592, | |
0.007383514881134033, | |
0.007290875911712647, | |
0.007340635776519775, | |
0.007121115207672119, | |
0.00734527587890625, | |
0.007075356006622314, | |
0.00688783597946167, | |
0.006823514938354492, | |
0.0067681560516357426, | |
0.006775035858154297, | |
0.006774075984954834, | |
0.006748635768890381, | |
0.006775675773620605, | |
0.006753436088562012, | |
0.0067735958099365235, | |
0.006777595996856689 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.41109371418298 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |