
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d7a6b72
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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 715.616256, | |
"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.09199267578125, | |
"mean": 7.09199267578125, | |
"stdev": 0.0, | |
"p50": 7.09199267578125, | |
"p90": 7.09199267578125, | |
"p95": 7.09199267578125, | |
"p99": 7.09199267578125, | |
"values": [ | |
7.09199267578125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.356835888892492e-07, | |
"ram": 4.970149719836115e-07, | |
"gpu": 0.0, | |
"total": 1.4326985608728608e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 882.802688, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 191, | |
"total": 1.001721155166626, | |
"mean": 0.005244613377835737, | |
"stdev": 0.0001944120529675522, | |
"p50": 0.005277696132659912, | |
"p90": 0.005373023986816407, | |
"p95": 0.005570560216903686, | |
"p99": 0.0059115519046783445, | |
"values": [ | |
0.005888000011444092, | |
0.006003712177276611, | |
0.005901311874389649, | |
0.005781504154205322, | |
0.00582860803604126, | |
0.00582041597366333, | |
0.005773312091827393, | |
0.006187007904052734, | |
0.005599232196807862, | |
0.005319680213928223, | |
0.005197824001312256, | |
0.0051036162376403805, | |
0.005053440093994141, | |
0.005057536125183106, | |
0.0050206718444824215, | |
0.005035007953643799, | |
0.005032959938049316, | |
0.005041152000427246, | |
0.005075967788696289, | |
0.005098495960235596, | |
0.005130239963531494, | |
0.005082111835479736, | |
0.005403647899627686, | |
0.005329919815063477, | |
0.005264383792877197, | |
0.005511168003082275, | |
0.005347328186035156, | |
0.005312511920928955, | |
0.0053002238273620605, | |
0.005339136123657226, | |
0.005305344104766845, | |
0.005275648117065429, | |
0.0053002238273620605, | |
0.005299200057983398, | |
0.005277696132659912, | |
0.005285888195037842, | |
0.005307392120361328, | |
0.0052798080444335935, | |
0.005370880126953125, | |
0.005287936210632324, | |
0.005269504070281982, | |
0.005303296089172363, | |
0.005291007995605469, | |
0.005272575855255127, | |
0.005273600101470947, | |
0.005277696132659912, | |
0.005280767917633057, | |
0.005131264209747314, | |
0.005107711791992187, | |
0.0050800638198852536, | |
0.005246975898742676, | |
0.005311488151550293, | |
0.00530841588973999, | |
0.0052899842262268066, | |
0.005325823783874512, | |
0.0053012480735778805, | |
0.005693439960479736, | |
0.005481472015380859, | |
0.005298175811767578, | |
0.005264383792877197, | |
0.005323775768280029, | |
0.005280767917633057, | |
0.005296127796173096, | |
0.00536678409576416, | |
0.005361663818359375, | |
0.005362688064575195, | |
0.005395455837249756, | |
0.005421055793762207, | |
0.00531660795211792, | |
0.005368832111358642, | |
0.0053340158462524415, | |
0.005337088108062744, | |
0.005373023986816407, | |
0.005302271842956543, | |
0.005286911964416504, | |
0.005344255924224854, | |
0.005295135974884033, | |
0.005299200057983398, | |
0.005356544017791748, | |
0.005312511920928955, | |
0.00531660795211792, | |
0.005344255924224854, | |
0.005310463905334473, | |
0.00530841588973999, | |
0.005328896045684814, | |
0.00530944013595581, | |
0.005310463905334473, | |
0.005359615802764893, | |
0.0053012480735778805, | |
0.005321728229522705, | |
0.005327936172485352, | |
0.005279744148254394, | |
0.005287936210632324, | |
0.005305344104766845, | |
0.005322751998901368, | |
0.005311488151550293, | |
0.005452799797058106, | |
0.0053350400924682614, | |
0.005303296089172363, | |
0.005321728229522705, | |
0.005302271842956543, | |
0.0053340158462524415, | |
0.005339136123657226, | |
0.005313536167144775, | |
0.0053002238273620605, | |
0.005340159893035889, | |
0.005279744148254394, | |
0.005269504070281982, | |
0.005541888236999512, | |
0.005268479824066162, | |
0.005127168178558349, | |
0.005086207866668701, | |
0.0050841598510742185, | |
0.005054463863372802, | |
0.005057536125183106, | |
0.005079040050506592, | |
0.005092351913452148, | |
0.005057536125183106, | |
0.005035007953643799, | |
0.005015552043914795, | |
0.00546611213684082, | |
0.005276671886444092, | |
0.005319680213928223, | |
0.005265408039093018, | |
0.005277696132659912, | |
0.0053647360801696775, | |
0.005282815933227539, | |
0.00531763219833374, | |
0.005422080039978027, | |
0.0052971520423889164, | |
0.005269504070281982, | |
0.0053309440612792965, | |
0.005299200057983398, | |
0.005285888195037842, | |
0.00532480001449585, | |
0.0052408318519592285, | |
0.0051968002319335935, | |
0.005214208126068115, | |
0.00506982421875, | |
0.005031936168670655, | |
0.005038080215454102, | |
0.005053440093994141, | |
0.005028863906860351, | |
0.005005311965942383, | |
0.005029952049255371, | |
0.0050769920349121095, | |
0.005066751956939697, | |
0.0050462718009948735, | |
0.00510975980758667, | |
0.005082111835479736, | |
0.005083136081695557, | |
0.005062655925750732, | |
0.005061632156372071, | |
0.005091328144073487, | |
0.005061632156372071, | |
0.0050421757698059086, | |
0.005075967788696289, | |
0.005083136081695557, | |
0.005051392078399658, | |
0.005049344062805176, | |
0.005071872234344482, | |
0.005033984184265137, | |
0.0050503678321838375, | |
0.005037055969238281, | |
0.0050657281875610355, | |
0.0050769920349121095, | |
0.005063680171966553, | |
0.005054463863372802, | |
0.005059584140777588, | |
0.005083136081695557, | |
0.005061632156372071, | |
0.0050800638198852536, | |
0.00511078405380249, | |
0.005070847988128662, | |
0.005049344062805176, | |
0.005093376159667969, | |
0.005066751956939697, | |
0.005061632156372071, | |
0.005061632156372071, | |
0.0050954241752624516, | |
0.005102591991424561, | |
0.005059584140777588, | |
0.005056511878967285, | |
0.005085184097290039, | |
0.005044223785400391, | |
0.0050657281875610355, | |
0.005083136081695557, | |
0.005049344062805176, | |
0.005089280128479004, | |
0.005062655925750732, | |
0.00510975980758667 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 190.67182420464022 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.019857445360636e-08, | |
"ram": 3.288376377908609e-08, | |
"gpu": 1.237564441827413e-07, | |
"total": 2.168387824154338e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4611721.1545863375 | |
} | |
} | |
} | |
} |