
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
38f06e4
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.223-212.873.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.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 782.917632, | |
"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.37465869140625, | |
"mean": 7.37465869140625, | |
"stdev": 0.0, | |
"p50": 7.37465869140625, | |
"p90": 7.37465869140625, | |
"p95": 7.37465869140625, | |
"p99": 7.37465869140625, | |
"values": [ | |
7.37465869140625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.666427256949502e-07, | |
"ram": 5.137923060514263e-07, | |
"gpu": 1.7491680659991599e-06, | |
"total": 3.2296030977455365e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1038.491648, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 182, | |
"total": 1.000050016403198, | |
"mean": 0.005494780309907682, | |
"stdev": 0.00026129689539370807, | |
"p50": 0.005466624021530152, | |
"p90": 0.0059855872631072995, | |
"p95": 0.006067046570777893, | |
"p99": 0.006290134968757629, | |
"values": [ | |
0.006276095867156982, | |
0.00638156795501709, | |
0.0062679038047790524, | |
0.006090752124786377, | |
0.00617574405670166, | |
0.005987328052520752, | |
0.006064127922058105, | |
0.006104063987731933, | |
0.006051839828491211, | |
0.006038527965545654, | |
0.00602623987197876, | |
0.005991424083709717, | |
0.0060026879310607914, | |
0.006020095825195313, | |
0.006005760192871094, | |
0.006288383960723877, | |
0.005876736164093017, | |
0.00530841588973999, | |
0.005541888236999512, | |
0.005571584224700928, | |
0.005593088150024414, | |
0.005596159934997558, | |
0.005511168003082275, | |
0.005593088150024414, | |
0.005593088150024414, | |
0.005561344146728516, | |
0.005599232196807862, | |
0.0062576642036437985, | |
0.006067200183868408, | |
0.0062975997924804685, | |
0.005596159934997558, | |
0.005573631763458252, | |
0.0059699201583862304, | |
0.005772287845611572, | |
0.005607423782348633, | |
0.005552127838134766, | |
0.00555622386932373, | |
0.005561344146728516, | |
0.005541888236999512, | |
0.005534719944000244, | |
0.005544960021972656, | |
0.0054988799095153805, | |
0.0055316481590271, | |
0.005542912006378174, | |
0.005568511962890625, | |
0.005502975940704345, | |
0.005486591815948487, | |
0.005629951953887939, | |
0.005338111877441406, | |
0.005285888195037842, | |
0.00536678409576416, | |
0.00530841588973999, | |
0.005296127796173096, | |
0.005329951763153076, | |
0.005336063861846924, | |
0.005302271842956543, | |
0.005349376201629639, | |
0.005320703983306885, | |
0.005311488151550293, | |
0.005311552047729492, | |
0.005320703983306885, | |
0.005281792163848877, | |
0.005314559936523438, | |
0.005277696132659912, | |
0.005303296089172363, | |
0.005380127906799316, | |
0.0053340158462524415, | |
0.005302271842956543, | |
0.005354496002197265, | |
0.005307392120361328, | |
0.005284863948822022, | |
0.005337088108062744, | |
0.005339136123657226, | |
0.005321728229522705, | |
0.0053944320678710935, | |
0.005339136123657226, | |
0.005322751998901368, | |
0.005349376201629639, | |
0.0053309440612792965, | |
0.00531763219833374, | |
0.005328896045684814, | |
0.005277696132659912, | |
0.005280767917633057, | |
0.005325823783874512, | |
0.005291007995605469, | |
0.005281792163848877, | |
0.005352511882781983, | |
0.0052971520423889164, | |
0.005257215976715088, | |
0.005321728229522705, | |
0.005313536167144775, | |
0.00526643180847168, | |
0.005768191814422607, | |
0.0053012480735778805, | |
0.005276671886444092, | |
0.005311488151550293, | |
0.005274623870849609, | |
0.0052971520423889164, | |
0.005344255924224854, | |
0.0053012480735778805, | |
0.00520908784866333, | |
0.005249023914337158, | |
0.005231616020202637, | |
0.005206016063690186, | |
0.005256192207336426, | |
0.005232639789581299, | |
0.005213183879852295, | |
0.0051998720169067385, | |
0.005261312007904053, | |
0.005219327926635742, | |
0.00520908784866333, | |
0.0052367358207702636, | |
0.005241856098175048, | |
0.0052070398330688475, | |
0.005257215976715088, | |
0.005212160110473632, | |
0.0051968002319335935, | |
0.005245952129364013, | |
0.00522547197341919, | |
0.0052295680046081545, | |
0.0052070398330688475, | |
0.005250048160552978, | |
0.005232639789581299, | |
0.00521727991104126, | |
0.005273600101470947, | |
0.005222400188446045, | |
0.00521830415725708, | |
0.005451776027679443, | |
0.005670911788940429, | |
0.005585919857025146, | |
0.00556441593170166, | |
0.005561344146728516, | |
0.005595136165618897, | |
0.005574656009674072, | |
0.005547008037567139, | |
0.005604351997375488, | |
0.005578752040863037, | |
0.005604351997375488, | |
0.005585984230041504, | |
0.005571584224700928, | |
0.005620736122131348, | |
0.005582848072052002, | |
0.005623807907104492, | |
0.005597184181213379, | |
0.005567488193511963, | |
0.00559932804107666, | |
0.005590015888214111, | |
0.0055623679161071774, | |
0.0055582718849182125, | |
0.005518335819244385, | |
0.00557260799407959, | |
0.005536767959594726, | |
0.005544960021972656, | |
0.005549056053161621, | |
0.005533696174621582, | |
0.00551526403427124, | |
0.005443583965301513, | |
0.0054271998405456545, | |
0.005501952171325684, | |
0.005499904155731201, | |
0.005486591815948487, | |
0.005488639831542969, | |
0.005433343887329102, | |
0.005463039875030518, | |
0.005465087890625, | |
0.005449728012084961, | |
0.005481472015380859, | |
0.005471231937408447, | |
0.005458943843841553, | |
0.005448703765869141, | |
0.005452799797058106, | |
0.005482495784759522, | |
0.005495808124542236, | |
0.005440512180328369, | |
0.005476352214813233, | |
0.005468160152435303, | |
0.005471231937408447, | |
0.005482495784759522, | |
0.005469183921813964, | |
0.00550707197189331, | |
0.005469183921813964, | |
0.005432320117950439 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 181.99089746989375 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.653229088639078e-08, | |
"ram": 3.6370143183298105e-08, | |
"gpu": 1.3935248351685164e-07, | |
"total": 2.422549175865405e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4127883.18174293 | |
} | |
} | |
} | |
} |