IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
5c2ad9c
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": "c594845efb520077430f4fe3f536bc1756e2b290", | |
"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": 1011.843072, | |
"max_global_vram": 938.9056, | |
"max_process_vram": 211362.787328, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 142, | |
"total": 1.0042363939285277, | |
"mean": 0.007072087281186815, | |
"stdev": 0.0002904386701146157, | |
"p50": 0.006987179040908814, | |
"p90": 0.007315242004394531, | |
"p95": 0.00767704119682312, | |
"p99": 0.008351909317970278, | |
"values": [ | |
0.00686382007598877, | |
0.00703805923461914, | |
0.0069929399490356444, | |
0.00711677885055542, | |
0.007170538902282714, | |
0.007101099014282227, | |
0.007117898941040039, | |
0.007109259128570557, | |
0.00704957914352417, | |
0.007020140171051025, | |
0.006965098857879638, | |
0.007028459072113037, | |
0.006934700012207032, | |
0.006985898971557617, | |
0.007033259868621826, | |
0.006975019931793213, | |
0.0073468580245971676, | |
0.007083178997039795, | |
0.007087018966674805, | |
0.007027659893035889, | |
0.007003018856048584, | |
0.007040618896484375, | |
0.007061738967895508, | |
0.0070494189262390134, | |
0.007101259231567383, | |
0.0070540599822998045, | |
0.0070959792137145995, | |
0.007031979084014893, | |
0.007053739070892334, | |
0.007087338924407959, | |
0.007029579162597656, | |
0.006997738838195801, | |
0.007156778812408447, | |
0.007167018890380859, | |
0.00702125883102417, | |
0.007051019191741943, | |
0.007144779205322266, | |
0.0071790189743041995, | |
0.007321897983551025, | |
0.00717133903503418, | |
0.007317257881164551, | |
0.0072970991134643556, | |
0.007268939018249512, | |
0.008660293579101563, | |
0.008941574096679688, | |
0.006990219116210937, | |
0.006911980152130127, | |
0.006946858882904053, | |
0.006948460102081299, | |
0.006980618953704834, | |
0.00702557897567749, | |
0.007062539100646973, | |
0.006928939819335938, | |
0.006950539112091064, | |
0.006950379848480225, | |
0.007024299144744873, | |
0.006922220230102539, | |
0.006984939098358154, | |
0.006964778900146485, | |
0.006939340114593506, | |
0.0069894189834594726, | |
0.006935180187225342, | |
0.006967658996582031, | |
0.006845739841461182, | |
0.006951018810272217, | |
0.006986859798431396, | |
0.006975499153137207, | |
0.006963180065155029, | |
0.006984138965606689, | |
0.0069159789085388185, | |
0.006973740100860596, | |
0.006981258869171143, | |
0.006925739765167236, | |
0.006960138797760009, | |
0.006944779872894287, | |
0.006964299201965332, | |
0.0068902201652526855, | |
0.006882538795471191, | |
0.006990859985351563, | |
0.0069020590782165525, | |
0.007021420001983643, | |
0.006917259216308594, | |
0.006986539840698242, | |
0.006889898777008057, | |
0.006991980075836182, | |
0.007033099174499511, | |
0.0077580571174621586, | |
0.006987339019775391, | |
0.007012939929962158, | |
0.006972620010375977, | |
0.0069870190620422365, | |
0.00696861982345581, | |
0.006909739017486572, | |
0.006897739887237549, | |
0.0070457391738891605, | |
0.006871018886566162, | |
0.0069977397918701174, | |
0.006897579193115235, | |
0.007881257057189941, | |
0.007784136772155762, | |
0.00790813684463501, | |
0.007680137157440186, | |
0.007754056930541992, | |
0.007618217945098877, | |
0.0074580578804016116, | |
0.007355817794799805, | |
0.007371017932891846, | |
0.0071911787986755375, | |
0.007161259174346924, | |
0.007213098049163818, | |
0.007275339126586914, | |
0.00702509880065918, | |
0.007066858768463135, | |
0.007127018928527832, | |
0.006963500022888184, | |
0.006953098773956299, | |
0.007005578994750976, | |
0.006967179775238037, | |
0.006951818943023682, | |
0.006940139770507813, | |
0.0069540591239929195, | |
0.006983980178833008, | |
0.006879659175872803, | |
0.006956620216369629, | |
0.006948139190673828, | |
0.006958700180053711, | |
0.00688365888595581, | |
0.006971340179443359, | |
0.006872138977050781, | |
0.006905419826507568, | |
0.006857900142669677, | |
0.006888938903808594, | |
0.006832779884338379, | |
0.006839660167694092, | |
0.006889420032501221, | |
0.006862059116363526, | |
0.006875820159912109, | |
0.006869259834289551, | |
0.006861578941345215, | |
0.006833899974822998, | |
0.006832940101623535, | |
0.006866058826446533 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.4009697900933 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |