
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
fe07195
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"model": "google-bert/bert-base-uncased", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 880.29184, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 153, | |
"total": 1.0000896630287175, | |
"mean": 0.006536533745285732, | |
"stdev": 0.000398960211975423, | |
"p50": 0.0065064959526062015, | |
"p90": 0.006581862258911133, | |
"p95": 0.006684671878814698, | |
"p99": 0.008821473197937003, | |
"values": [ | |
0.009743359565734864, | |
0.00921497631072998, | |
0.008458239555358887, | |
0.006881279945373535, | |
0.006808576107025147, | |
0.006690815925598144, | |
0.007263232231140137, | |
0.006575104236602783, | |
0.006231040000915527, | |
0.006266880035400391, | |
0.006221824169158936, | |
0.00620851182937622, | |
0.006206463813781738, | |
0.006200319766998291, | |
0.006232063770294189, | |
0.00618393611907959, | |
0.006245376110076905, | |
0.00620851182937622, | |
0.006221824169158936, | |
0.006184959888458252, | |
0.006275072097778321, | |
0.006200319766998291, | |
0.006188032150268555, | |
0.006205440044403076, | |
0.006206463813781738, | |
0.006207488059997559, | |
0.00618393611907959, | |
0.006228991985321045, | |
0.006652927875518798, | |
0.006549503803253174, | |
0.00659660816192627, | |
0.006441984176635742, | |
0.006471680164337158, | |
0.006502399921417237, | |
0.006462463855743408, | |
0.006556672096252441, | |
0.0065064959526062015, | |
0.0065136637687683106, | |
0.006561791896820069, | |
0.006498303890228272, | |
0.00653107213973999, | |
0.006512639999389648, | |
0.00652185583114624, | |
0.006524928092956543, | |
0.006516736030578613, | |
0.006464511871337891, | |
0.00648089599609375, | |
0.0064880638122558594, | |
0.0065146880149841305, | |
0.00652288007736206, | |
0.006486015796661377, | |
0.006524928092956543, | |
0.0065413122177124024, | |
0.006465568065643311, | |
0.006497280120849609, | |
0.0064767999649047855, | |
0.006482944011688232, | |
0.006499328136444092, | |
0.006494207859039307, | |
0.006529024124145508, | |
0.006532095909118653, | |
0.006479872226715088, | |
0.006563839912414551, | |
0.0064880638122558594, | |
0.006515711784362793, | |
0.006518784046173095, | |
0.006533120155334473, | |
0.006470655918121338, | |
0.006557695865631104, | |
0.006529024124145508, | |
0.006546432018280029, | |
0.0065064959526062015, | |
0.006525951862335205, | |
0.006554656028747559, | |
0.006457344055175781, | |
0.006465536117553711, | |
0.006524928092956543, | |
0.006481919765472412, | |
0.0065413122177124024, | |
0.006489088058471679, | |
0.0065075201988220215, | |
0.006516736030578613, | |
0.006523903846740723, | |
0.006501376152038574, | |
0.006542335987091064, | |
0.00652185583114624, | |
0.006471680164337158, | |
0.006468607902526856, | |
0.006496255874633789, | |
0.006636544227600098, | |
0.0064849920272827145, | |
0.0064471039772033695, | |
0.006495232105255127, | |
0.0066979842185974124, | |
0.006493184089660644, | |
0.006523903846740723, | |
0.006460415840148926, | |
0.006468607902526856, | |
0.006500351905822754, | |
0.0065372161865234375, | |
0.00652185583114624, | |
0.006465536117553711, | |
0.0065177597999572755, | |
0.006532095909118653, | |
0.006512639999389648, | |
0.006583295822143555, | |
0.0066007041931152345, | |
0.006524928092956543, | |
0.0065177597999572755, | |
0.006400000095367431, | |
0.0065064959526062015, | |
0.006675456047058105, | |
0.006680575847625733, | |
0.00638259220123291, | |
0.006509568214416504, | |
0.006445055961608887, | |
0.006502399921417237, | |
0.006498303890228272, | |
0.006494207859039307, | |
0.006553599834442139, | |
0.006474751949310303, | |
0.006508543968200684, | |
0.006536191940307618, | |
0.006565887928009034, | |
0.006562816143035889, | |
0.006436863899230957, | |
0.006460415840148926, | |
0.0065372161865234375, | |
0.0064430079460144046, | |
0.006499328136444092, | |
0.006474751949310303, | |
0.0064430079460144046, | |
0.006471680164337158, | |
0.006457344055175781, | |
0.0064880638122558594, | |
0.006576128005981445, | |
0.0065064959526062015, | |
0.006511616230010986, | |
0.006576128005981445, | |
0.0064440321922302245, | |
0.006470655918121338, | |
0.006455296039581298, | |
0.006551551818847656, | |
0.006508543968200684, | |
0.006504447937011719, | |
0.006529024124145508, | |
0.006546432018280029, | |
0.006492159843444824, | |
0.006559743881225586, | |
0.006496255874633789, | |
0.006520832061767578, | |
0.006543360233306885, | |
0.0066007041931152345 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 152.9862827865332 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.4836351419978e-08, | |
"ram": 4.0911800145827235e-08, | |
"gpu": 1.4300850015094354e-07, | |
"total": 2.587566517167488e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3864634.950890702 | |
} | |
} | |
} | |
} |