
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c4dda5d
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 713.367552, | |
"max_global_vram": 1218.9696, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.21223291015625, | |
"mean": 7.21223291015625, | |
"stdev": 0.0, | |
"p50": 7.21223291015625, | |
"p90": 7.21223291015625, | |
"p95": 7.21223291015625, | |
"p99": 7.21223291015625, | |
"values": [ | |
7.21223291015625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.744760062959458e-07, | |
"ram": 4.81879200617262e-07, | |
"gpu": 1.808334780000441e-06, | |
"total": 3.264689986913649e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 880.144384, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 199, | |
"total": 1.002511423110962, | |
"mean": 0.005037745844778703, | |
"stdev": 0.00026956036419254815, | |
"p50": 0.004894720077514648, | |
"p90": 0.005339545726776123, | |
"p95": 0.005638144016265869, | |
"p99": 0.005780008840560915, | |
"values": [ | |
0.005776383876800537, | |
0.005957632064819336, | |
0.005753856182098388, | |
0.005733376026153565, | |
0.005673984050750733, | |
0.005669888019561768, | |
0.005684224128723145, | |
0.005605375766754151, | |
0.005656576156616211, | |
0.005636096000671387, | |
0.005677055835723877, | |
0.006106112003326416, | |
0.005172224044799805, | |
0.004955135822296143, | |
0.00491315221786499, | |
0.004889632225036621, | |
0.004922368049621582, | |
0.004883456230163574, | |
0.004958208084106445, | |
0.0049162240028381345, | |
0.004956160068511963, | |
0.00491315221786499, | |
0.004900864124298096, | |
0.004924416065216064, | |
0.004894720077514648, | |
0.004887551784515381, | |
0.004874239921569825, | |
0.004869120121002197, | |
0.004894720077514648, | |
0.004844543933868409, | |
0.004835328102111816, | |
0.0049459199905395506, | |
0.004892672061920166, | |
0.0048865280151367185, | |
0.004857855796813965, | |
0.004904960155487061, | |
0.004867104053497315, | |
0.0048496642112731934, | |
0.004933631896972656, | |
0.004873216152191162, | |
0.004891647815704346, | |
0.004827136039733886, | |
0.0048220157623291016, | |
0.004787199974060059, | |
0.004775936126708984, | |
0.004846591949462891, | |
0.004791296005249023, | |
0.004784128189086914, | |
0.004770815849304199, | |
0.004820991992950439, | |
0.004808703899383545, | |
0.004806655883789063, | |
0.004833280086517334, | |
0.004774911880493164, | |
0.0047626237869262695, | |
0.0048558077812194825, | |
0.0047964158058166504, | |
0.005088255882263183, | |
0.004824063777923584, | |
0.004880383968353271, | |
0.004841472148895264, | |
0.004835328102111816, | |
0.004841472148895264, | |
0.004838399887084961, | |
0.004829184055328369, | |
0.004844543933868409, | |
0.004827136039733886, | |
0.004810751914978028, | |
0.004841472148895264, | |
0.004853759765625, | |
0.004788224220275879, | |
0.004775936126708984, | |
0.0048220157623291016, | |
0.004768767833709717, | |
0.004788224220275879, | |
0.004783103942871094, | |
0.0047626237869262695, | |
0.004764671802520752, | |
0.0048220157623291016, | |
0.004898816108703613, | |
0.0048158721923828125, | |
0.004844543933868409, | |
0.004829184055328369, | |
0.004831232070922851, | |
0.004803584098815918, | |
0.00480460786819458, | |
0.004810751914978028, | |
0.004775936126708984, | |
0.004774911880493164, | |
0.004789247989654541, | |
0.0048220157623291016, | |
0.004794367790222168, | |
0.00481382417678833, | |
0.004843520164489746, | |
0.004958208084106445, | |
0.004884479999542236, | |
0.004863999843597412, | |
0.004872191905975342, | |
0.004832255840301514, | |
0.0048148479461669925, | |
0.0048752641677856446, | |
0.004838399887084961, | |
0.004838399887084961, | |
0.004846591949462891, | |
0.004787199974060059, | |
0.0047626237869262695, | |
0.004774911880493164, | |
0.00481279993057251, | |
0.004850687980651855, | |
0.004831232070922851, | |
0.004820991992950439, | |
0.004847616195678711, | |
0.0048261117935180665, | |
0.004898816108703613, | |
0.0048855037689208985, | |
0.004846591949462891, | |
0.004843520164489746, | |
0.004897791862487793, | |
0.0048752641677856446, | |
0.004839424133300781, | |
0.004831232070922851, | |
0.004807680130004883, | |
0.004807680130004883, | |
0.004765696048736572, | |
0.005049344062805176, | |
0.0048855037689208985, | |
0.004880383968353271, | |
0.004893695831298828, | |
0.004858880043029785, | |
0.0049162240028381345, | |
0.0048558077812194825, | |
0.00491315221786499, | |
0.004843520164489746, | |
0.005111807823181152, | |
0.00535756778717041, | |
0.005336063861846924, | |
0.005318655967712403, | |
0.005303296089172363, | |
0.00535756778717041, | |
0.005355519771575928, | |
0.005574656009674072, | |
0.005399551868438721, | |
0.005318655967712403, | |
0.005249023914337158, | |
0.005244927883148193, | |
0.005179391860961914, | |
0.005339136123657226, | |
0.005260287761688232, | |
0.005292031764984131, | |
0.005210112094879151, | |
0.005251071929931641, | |
0.005156864166259765, | |
0.005194752216339111, | |
0.005321728229522705, | |
0.005201920032501221, | |
0.005224448204040527, | |
0.0052336640357971195, | |
0.005230591773986816, | |
0.005197824001312256, | |
0.005341184139251709, | |
0.005174272060394287, | |
0.005222400188446045, | |
0.005158912181854248, | |
0.005250048160552978, | |
0.005182464122772217, | |
0.005277696132659912, | |
0.005230591773986816, | |
0.005214208126068115, | |
0.005174272060394287, | |
0.00521830415725708, | |
0.005246975898742676, | |
0.005245952129364013, | |
0.005280767917633057, | |
0.005500927925109863, | |
0.005192704200744629, | |
0.005189631938934326, | |
0.0052070398330688475, | |
0.005220352172851562, | |
0.00522649621963501, | |
0.0052408318519592285, | |
0.005224448204040527, | |
0.005164031982421875, | |
0.005244927883148193, | |
0.005167103767395019, | |
0.005198847770690918, | |
0.005223423957824707, | |
0.005269504070281982, | |
0.005186560153961181, | |
0.00521727991104126, | |
0.005235712051391602, | |
0.005609471797943116, | |
0.005223423957824707, | |
0.005216256141662597, | |
0.005223423957824707, | |
0.005186560153961181, | |
0.005237760066986084, | |
0.005169151782989502, | |
0.0052336640357971195, | |
0.0051404800415039064 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 198.5014787985851 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.932392262750202e-08, | |
"ram": 3.239829411574722e-08, | |
"gpu": 1.262931565899992e-07, | |
"total": 2.1801537333324845e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4586832.500437688 | |
} | |
} | |
} | |
} |