IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c72f0d1
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_type": "bert", | |
"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": {}, | |
"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.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.3.1", | |
"optimum_benchmark_commit": "25912a6d02929e242ccb030ce6895e556366bb93", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 898.2528, | |
"max_global_vram": 3161.935872, | |
"max_process_vram": 41497.710592, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.1643525390625, | |
"mean": 7.1643525390625, | |
"stdev": 0.0, | |
"p50": 7.1643525390625, | |
"p90": 7.1643525390625, | |
"p95": 7.1643525390625, | |
"p99": 7.1643525390625, | |
"values": [ | |
7.1643525390625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1017.892864, | |
"max_global_vram": 3225.47712, | |
"max_process_vram": 221969.256448, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 1.0002828068733212, | |
"mean": 0.007094204304066109, | |
"stdev": 0.0002224194642777977, | |
"p50": 0.007009581089019775, | |
"p90": 0.00735614013671875, | |
"p95": 0.00757853889465332, | |
"p99": 0.007852394104003907, | |
"values": [ | |
0.007644137859344482, | |
0.007561738967895508, | |
0.007139339923858643, | |
0.007168459892272949, | |
0.007102059841156006, | |
0.007049740791320801, | |
0.0070234999656677245, | |
0.007035500049591065, | |
0.00700830078125, | |
0.007040939807891846, | |
0.007230700016021729, | |
0.007003019809722901, | |
0.007015020847320557, | |
0.007029099941253662, | |
0.007055819988250733, | |
0.007159019947052002, | |
0.006970380783081055, | |
0.007272140026092529, | |
0.0070307011604309085, | |
0.007111979961395264, | |
0.007150380134582519, | |
0.0069972600936889645, | |
0.007034060955047608, | |
0.007042699813842773, | |
0.007137579917907715, | |
0.007085579872131348, | |
0.007063180923461914, | |
0.00729085922241211, | |
0.007187660217285156, | |
0.007246540069580078, | |
0.0070278201103210446, | |
0.007061100006103516, | |
0.006972620964050293, | |
0.007251179218292237, | |
0.007440938949584961, | |
0.00735614013671875, | |
0.007287660121917725, | |
0.007313899040222168, | |
0.007548779010772705, | |
0.00719182014465332, | |
0.006897261142730713, | |
0.006895339965820312, | |
0.0069156608581542964, | |
0.00691102123260498, | |
0.006894219875335694, | |
0.006891981124877929, | |
0.007117420196533203, | |
0.0070774202346801755, | |
0.0070006208419799805, | |
0.006928461074829102, | |
0.006915019989013672, | |
0.007127180099487305, | |
0.006889420986175537, | |
0.006972301006317139, | |
0.006896780014038086, | |
0.007216619968414307, | |
0.006930700778961182, | |
0.0069236598014831546, | |
0.006914220809936524, | |
0.0069126210212707515, | |
0.006947979927062988, | |
0.006935340881347656, | |
0.006920461177825928, | |
0.006979499816894531, | |
0.0069169411659240725, | |
0.0071492600440979, | |
0.006951340198516846, | |
0.00702414083480835, | |
0.007056940078735352, | |
0.007147180080413818, | |
0.006968140125274658, | |
0.006943500995635986, | |
0.006951661109924317, | |
0.0069359798431396485, | |
0.007003341197967529, | |
0.006983660221099854, | |
0.006963820934295655, | |
0.006915180206298828, | |
0.006980781078338623, | |
0.006944940090179443, | |
0.00697390079498291, | |
0.0069734201431274415, | |
0.006961901187896729, | |
0.007030539989471436, | |
0.007046380996704102, | |
0.007222538948059082, | |
0.007015660762786865, | |
0.00698878002166748, | |
0.007195499897003174, | |
0.007009581089019775, | |
0.006971660137176513, | |
0.006988621234893798, | |
0.006900780200958252, | |
0.006904140949249267, | |
0.006886381149291992, | |
0.006923981189727783, | |
0.00690622091293335, | |
0.0069329400062561036, | |
0.0069457411766052244, | |
0.006956299781799316, | |
0.006982541084289551, | |
0.006948619842529297, | |
0.007141900062561035, | |
0.007008141040802002, | |
0.0069238200187683105, | |
0.006955181121826172, | |
0.00757853889465332, | |
0.006989260196685791, | |
0.0069009408950805665, | |
0.00690894079208374, | |
0.00781885814666748, | |
0.007829098224639893, | |
0.007653899192810058, | |
0.007456298828125, | |
0.007384619235992432, | |
0.007836458206176757, | |
0.007863818168640136, | |
0.007863018035888672, | |
0.007525419235229492, | |
0.007190700054168701, | |
0.007226540088653565, | |
0.007335818767547607, | |
0.007349740028381348, | |
0.007350539207458496, | |
0.007315659999847412, | |
0.007245100021362304, | |
0.007143340110778809, | |
0.0069931001663208, | |
0.0071251001358032225, | |
0.006955020904541016, | |
0.006895339965820312, | |
0.00697390079498291, | |
0.0069431810379028324, | |
0.00701885986328125, | |
0.006927340984344482, | |
0.006991340160369873, | |
0.006938701152801514, | |
0.00695550012588501, | |
0.006941740989685059, | |
0.006962059020996093, | |
0.007012461185455322 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.96013550481493 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |