
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c0da9d7
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.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": 713.949184, | |
"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.1248056640625, | |
"mean": 7.1248056640625, | |
"stdev": 0.0, | |
"p50": 7.1248056640625, | |
"p90": 7.1248056640625, | |
"p95": 7.1248056640625, | |
"p99": 7.1248056640625, | |
"values": [ | |
7.1248056640625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.135047594706218e-07, | |
"ram": 4.850447898646355e-07, | |
"gpu": 1.5686123660003243e-06, | |
"total": 2.9671619153355815e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 881.057792, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 193, | |
"total": 1.000070462226868, | |
"mean": 0.005181712239517449, | |
"stdev": 0.00020027742132250602, | |
"p50": 0.005102591991424561, | |
"p90": 0.005331968116760254, | |
"p95": 0.005550284767150878, | |
"p99": 0.006054952754974363, | |
"values": [ | |
0.00582144021987915, | |
0.006045695781707764, | |
0.005892096042633056, | |
0.005646336078643799, | |
0.005775360107421875, | |
0.005597184181213379, | |
0.0055285758972167965, | |
0.0054906878471374515, | |
0.005513216018676758, | |
0.00556441593170166, | |
0.006300672054290772, | |
0.005407743930816651, | |
0.00510975980758667, | |
0.0051066880226135255, | |
0.005091328144073487, | |
0.0051435518264770505, | |
0.005098495960235596, | |
0.005102591991424561, | |
0.005115903854370117, | |
0.005085184097290039, | |
0.005129216194152832, | |
0.00506982421875, | |
0.005139455795288086, | |
0.005079040050506592, | |
0.005137407779693603, | |
0.005104640007019043, | |
0.005094399929046631, | |
0.005070847988128662, | |
0.005100543975830078, | |
0.0050841598510742185, | |
0.005108736038208008, | |
0.005102591991424561, | |
0.005097472190856934, | |
0.005116928100585938, | |
0.005067776203155518, | |
0.005089280128479004, | |
0.005102591991424561, | |
0.005082111835479736, | |
0.005074944019317627, | |
0.005045343875885009, | |
0.005082111835479736, | |
0.005063680171966553, | |
0.005139455795288086, | |
0.005059584140777588, | |
0.005073919773101807, | |
0.005057536125183106, | |
0.005075967788696289, | |
0.005099520206451416, | |
0.00505241584777832, | |
0.0050800638198852536, | |
0.005044223785400391, | |
0.00506982421875, | |
0.005061632156372071, | |
0.005066751956939697, | |
0.005061632156372071, | |
0.00506982421875, | |
0.005051392078399658, | |
0.005070847988128662, | |
0.0050657281875610355, | |
0.005105663776397705, | |
0.004996096134185791, | |
0.004993023872375488, | |
0.004993023872375488, | |
0.0051333122253417966, | |
0.005102591991424561, | |
0.00506879997253418, | |
0.0051036162376403805, | |
0.005064767837524414, | |
0.005075967788696289, | |
0.005038080215454102, | |
0.0050769920349121095, | |
0.005057536125183106, | |
0.0050503678321838375, | |
0.005070847988128662, | |
0.005086207866668701, | |
0.005054463863372802, | |
0.005078015804290771, | |
0.005079040050506592, | |
0.005037055969238281, | |
0.005055488109588623, | |
0.005237760066986084, | |
0.005210112094879151, | |
0.0051404800415039064, | |
0.005540863990783691, | |
0.006161407947540283, | |
0.005410816192626953, | |
0.0053350400924682614, | |
0.005276671886444092, | |
0.005281792163848877, | |
0.005285888195037842, | |
0.005283840179443359, | |
0.005249023914337158, | |
0.005315584182739258, | |
0.005310463905334473, | |
0.005258240222930908, | |
0.005236800193786621, | |
0.0052408318519592285, | |
0.005242879867553711, | |
0.005235712051391602, | |
0.005241856098175048, | |
0.005810175895690918, | |
0.00526643180847168, | |
0.005319680213928223, | |
0.005274623870849609, | |
0.005264383792877197, | |
0.005257215976715088, | |
0.005261312007904053, | |
0.005244927883148193, | |
0.005264383792877197, | |
0.005215231895446777, | |
0.00522649621963501, | |
0.005245952129364013, | |
0.0052295680046081545, | |
0.005243904113769531, | |
0.005296127796173096, | |
0.005257215976715088, | |
0.005288959980010987, | |
0.005259263992309571, | |
0.005288959980010987, | |
0.00526643180847168, | |
0.005067776203155518, | |
0.005075967788696289, | |
0.00506169605255127, | |
0.0052008957862854, | |
0.005291007995605469, | |
0.005338111877441406, | |
0.005286911964416504, | |
0.005369855880737305, | |
0.0052705278396606445, | |
0.005256192207336426, | |
0.005234687805175781, | |
0.005259263992309571, | |
0.005294079780578613, | |
0.005232639789581299, | |
0.005269504070281982, | |
0.005154816150665284, | |
0.005132287979125977, | |
0.005191679954528809, | |
0.00515174388885498, | |
0.005174272060394287, | |
0.005219327926635742, | |
0.005182464122772217, | |
0.005181439876556396, | |
0.005150720119476319, | |
0.005097472190856934, | |
0.0050124797821044925, | |
0.00501043176651001, | |
0.00499507188796997, | |
0.00506060791015625, | |
0.005029888153076172, | |
0.00506060791015625, | |
0.005047296047210693, | |
0.005245952129364013, | |
0.00515174388885498, | |
0.005055488109588623, | |
0.005056511878967285, | |
0.005092351913452148, | |
0.0050852160453796385, | |
0.0050421757698059086, | |
0.005102591991424561, | |
0.005061632156372071, | |
0.005048319816589355, | |
0.005047296047210693, | |
0.005074944019317627, | |
0.005074944019317627, | |
0.005054463863372802, | |
0.00506982421875, | |
0.005040128231048584, | |
0.005062655925750732, | |
0.005099520206451416, | |
0.0050800638198852536, | |
0.005048319816589355, | |
0.005124095916748047, | |
0.005130239963531494, | |
0.005186560153961181, | |
0.00515993595123291, | |
0.0050800638198852536, | |
0.00506879997253418, | |
0.00505241584777832, | |
0.005033984184265137, | |
0.0049797120094299315, | |
0.005029888153076172, | |
0.0050165758132934574, | |
0.005102591991424561, | |
0.0050165758132934574, | |
0.005057536125183106, | |
0.005007359981536865, | |
0.00505241584777832, | |
0.005030911922454834, | |
0.0050800638198852536, | |
0.005473279953002929, | |
0.005071872234344482, | |
0.005081088066101074 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 192.98640174837763 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.251580098219085e-08, | |
"ram": 3.418063420875577e-08, | |
"gpu": 1.2322232080000056e-07, | |
"total": 2.1991875599094716e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4547133.760801941 | |
} | |
} | |
} | |
} |