
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d454eed
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_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": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.224-212.876.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 796.024832, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 0.215510009765625, | |
"mean": 0.215510009765625, | |
"stdev": 0.0, | |
"p50": 0.215510009765625, | |
"p90": 0.215510009765625, | |
"p95": 0.215510009765625, | |
"p99": 0.215510009765625, | |
"values": [ | |
0.215510009765625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.5331051756438685e-06, | |
"ram": 1.3608389081806078e-06, | |
"gpu": 5.447226579913256e-06, | |
"total": 9.341170663737732e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1051.508736, | |
"max_global_vram": 1236.795392, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 181, | |
"total": 1.0007748169898982, | |
"mean": 0.005529142635303307, | |
"stdev": 0.00029739381033940687, | |
"p50": 0.0055214080810546875, | |
"p90": 0.005774335861206055, | |
"p95": 0.0058429441452026365, | |
"p99": 0.006861004924774169, | |
"values": [ | |
0.005708799839019775, | |
0.005815296173095703, | |
0.005687295913696289, | |
0.005596159934997558, | |
0.0056217598915100095, | |
0.00568832015991211, | |
0.00563097620010376, | |
0.005700607776641845, | |
0.0056852478981018065, | |
0.0056780800819396975, | |
0.005605375766754151, | |
0.005586944103240967, | |
0.005582848072052002, | |
0.005542912006378174, | |
0.005550079822540284, | |
0.005591040134429932, | |
0.005612544059753418, | |
0.005606400012969971, | |
0.005677055835723877, | |
0.005465087890625, | |
0.005447679996490478, | |
0.005459968090057373, | |
0.00550707197189331, | |
0.005463039875030518, | |
0.0055552000999450684, | |
0.005600255966186523, | |
0.005571584224700928, | |
0.005639167785644531, | |
0.0055582718849182125, | |
0.005535744190216065, | |
0.0055101442337036136, | |
0.005476352214813233, | |
0.0055101442337036136, | |
0.0055797758102417, | |
0.005577727794647217, | |
0.005627903938293457, | |
0.005578752040863037, | |
0.005565440177917481, | |
0.005574656009674072, | |
0.005570559978485107, | |
0.005563392162322998, | |
0.005516287803649903, | |
0.005541888236999512, | |
0.005577727794647217, | |
0.005566463947296142, | |
0.005566463947296142, | |
0.00557260799407959, | |
0.005472256183624268, | |
0.005422080039978027, | |
0.005408768177032471, | |
0.005429247856140137, | |
0.005516287803649903, | |
0.005477375984191894, | |
0.005494783878326416, | |
0.0054917120933532714, | |
0.005480447769165039, | |
0.005567488193511963, | |
0.005465087890625, | |
0.005505023956298828, | |
0.0055797758102417, | |
0.005626880168914795, | |
0.005624832153320313, | |
0.005590015888214111, | |
0.005561344146728516, | |
0.005626880168914795, | |
0.0055214080810546875, | |
0.005554175853729248, | |
0.005437439918518067, | |
0.005455872058868408, | |
0.0055848960876464845, | |
0.005607423782348633, | |
0.0055203838348388675, | |
0.0055623679161071774, | |
0.005526591777801513, | |
0.0055808000564575196, | |
0.005567488193511963, | |
0.005541888236999512, | |
0.005404672145843506, | |
0.005443583965301513, | |
0.005506048202514649, | |
0.0054988799095153805, | |
0.005485568046569824, | |
0.005635072231292724, | |
0.005545983791351319, | |
0.0054568958282470706, | |
0.005489664077758789, | |
0.005526527881622314, | |
0.005530623912811279, | |
0.005476352214813233, | |
0.005502975940704345, | |
0.0055101442337036136, | |
0.005469183921813964, | |
0.005819392204284668, | |
0.005791744232177734, | |
0.005864448070526123, | |
0.0062863359451293946, | |
0.006850560188293457, | |
0.0069027838706970214, | |
0.0058429441452026365, | |
0.005775360107421875, | |
0.005804031848907471, | |
0.005736447811126709, | |
0.005837823867797852, | |
0.005819392204284668, | |
0.005774335861206055, | |
0.005659647941589355, | |
0.005739520072937012, | |
0.005750783920288086, | |
0.005690368175506591, | |
0.005617663860321045, | |
0.005617663860321045, | |
0.005412864208221436, | |
0.005455872058868408, | |
0.005640192031860352, | |
0.005627903938293457, | |
0.00541593599319458, | |
0.00536678409576416, | |
0.00536575984954834, | |
0.005403647899627686, | |
0.0055101442337036136, | |
0.005603328227996827, | |
0.005509119987487793, | |
0.005629951953887939, | |
0.005578752040863037, | |
0.005656576156616211, | |
0.005751808166503906, | |
0.005777408123016357, | |
0.006062079906463623, | |
0.00658841609954834, | |
0.00555622386932373, | |
0.005252096176147461, | |
0.005201920032501221, | |
0.005253119945526123, | |
0.00521727991104126, | |
0.005222400188446045, | |
0.005241856098175048, | |
0.005228544235229492, | |
0.00520908784866333, | |
0.005257215976715088, | |
0.0052070398330688475, | |
0.005234687805175781, | |
0.005298175811767578, | |
0.005252096176147461, | |
0.005232672214508057, | |
0.005190656185150146, | |
0.00521727991104126, | |
0.005215231895446777, | |
0.005164031982421875, | |
0.005210112094879151, | |
0.005156864166259765, | |
0.005173247814178467, | |
0.0052070398330688475, | |
0.0052008957862854, | |
0.005179391860961914, | |
0.005178368091583252, | |
0.00522547197341919, | |
0.005203968048095703, | |
0.005212160110473632, | |
0.005238783836364746, | |
0.005164031982421875, | |
0.005208064079284668, | |
0.00522649621963501, | |
0.005189631938934326, | |
0.005194752216339111, | |
0.005174272060394287, | |
0.005185535907745361, | |
0.00517632007598877, | |
0.005167168140411377, | |
0.005201920032501221, | |
0.005167103767395019, | |
0.005198847770690918, | |
0.005216256141662597, | |
0.005213183879852295, | |
0.005234687805175781, | |
0.006250495910644531, | |
0.007079936027526855, | |
0.006595583915710449, | |
0.005483520030975342, | |
0.005449728012084961, | |
0.005433343887329102, | |
0.0054579200744628905 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 180.85986670248812 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.160395069548086e-08, | |
"ram": 3.366002749918621e-08, | |
"gpu": 1.3348888053884562e-07, | |
"total": 2.287528587335127e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4371530.06758686 | |
} | |
} | |
} | |
} |