
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
157f6da
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.43.1", | |
"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.793536, | |
"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.2256962890625, | |
"mean": 7.2256962890625, | |
"stdev": 0.0, | |
"p50": 7.2256962890625, | |
"p90": 7.2256962890625, | |
"p95": 7.2256962890625, | |
"p99": 7.2256962890625, | |
"values": [ | |
7.2256962890625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.817631708251106e-07, | |
"ram": 4.96644237014247e-07, | |
"gpu": 1.716668039997149e-06, | |
"total": 3.1950754478365065e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 880.574464, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 185, | |
"total": 1.0010072975158693, | |
"mean": 0.005410850256842535, | |
"stdev": 0.00021536692148147645, | |
"p50": 0.005352447986602784, | |
"p90": 0.005529190444946289, | |
"p95": 0.00575920648574829, | |
"p99": 0.006503014526367187, | |
"values": [ | |
0.0058429441452026365, | |
0.005886975765228271, | |
0.005686272144317627, | |
0.005610496044158936, | |
0.005598207950592041, | |
0.0055285758972167965, | |
0.005570559978485107, | |
0.005513216018676758, | |
0.005488639831542969, | |
0.005582848072052002, | |
0.005479423999786377, | |
0.005488639831542969, | |
0.005470208168029785, | |
0.005443583965301513, | |
0.005483520030975342, | |
0.005379072189331055, | |
0.005276671886444092, | |
0.005310463905334473, | |
0.005346303939819336, | |
0.005377024173736572, | |
0.005451776027679443, | |
0.005485568046569824, | |
0.005437439918518067, | |
0.005543935775756836, | |
0.0054568958282470706, | |
0.005458943843841553, | |
0.005381120204925537, | |
0.005349376201629639, | |
0.005478400230407715, | |
0.00552345609664917, | |
0.005462016105651855, | |
0.0055101442337036136, | |
0.00547430419921875, | |
0.0054271998405456545, | |
0.005485568046569824, | |
0.005405695915222168, | |
0.005425151824951172, | |
0.005439487934112549, | |
0.0054241280555725096, | |
0.005501952171325684, | |
0.0054568958282470706, | |
0.005327871799468994, | |
0.005287936210632324, | |
0.0053012480735778805, | |
0.00530841588973999, | |
0.005406720161437988, | |
0.005314559936523438, | |
0.005262335777282715, | |
0.005420032024383545, | |
0.005348351955413819, | |
0.005398528099060058, | |
0.005472256183624268, | |
0.005463039875030518, | |
0.0054609918594360355, | |
0.0055511040687561035, | |
0.005441535949707031, | |
0.0054477438926696774, | |
0.0053944320678710935, | |
0.005312511920928955, | |
0.00535756778717041, | |
0.005472256183624268, | |
0.005459968090057373, | |
0.005447679996490478, | |
0.005379072189331055, | |
0.005421055793762207, | |
0.005443583965301513, | |
0.00531660795211792, | |
0.005283840179443359, | |
0.005362688064575195, | |
0.005336063861846924, | |
0.005368832111358642, | |
0.005500927925109863, | |
0.005344255924224854, | |
0.005307392120361328, | |
0.005389311790466309, | |
0.005345280170440674, | |
0.005352447986602784, | |
0.005354496002197265, | |
0.005327871799468994, | |
0.005332992076873779, | |
0.005390336036682129, | |
0.005411839962005615, | |
0.005511168003082275, | |
0.005529600143432617, | |
0.005435391902923584, | |
0.0054988799095153805, | |
0.005471231937408447, | |
0.005387263774871826, | |
0.0054271998405456545, | |
0.005433343887329102, | |
0.005384191989898681, | |
0.0053534722328186036, | |
0.005336063861846924, | |
0.005409791946411133, | |
0.0053043198585510255, | |
0.005259263992309571, | |
0.005237760066986084, | |
0.0054876160621643065, | |
0.006343679904937744, | |
0.005844992160797119, | |
0.00563097620010376, | |
0.005402624130249023, | |
0.005327871799468994, | |
0.005291007995605469, | |
0.005344255924224854, | |
0.005338111877441406, | |
0.005319680213928223, | |
0.005361663818359375, | |
0.005801983833312988, | |
0.006436863899230957, | |
0.006497280120849609, | |
0.0066344962120056155, | |
0.006533120155334473, | |
0.005469183921813964, | |
0.005386240005493164, | |
0.005356544017791748, | |
0.00537497615814209, | |
0.005336063861846924, | |
0.0053678078651428224, | |
0.005319680213928223, | |
0.00537497615814209, | |
0.005777440071105957, | |
0.005310463905334473, | |
0.005303296089172363, | |
0.00538316822052002, | |
0.005295104026794434, | |
0.0052930560111999515, | |
0.00530944013595581, | |
0.005252096176147461, | |
0.005261312007904053, | |
0.005307392120361328, | |
0.005257215976715088, | |
0.005255167961120606, | |
0.005274623870849609, | |
0.0052705278396606445, | |
0.005277696132659912, | |
0.0053002238273620605, | |
0.005286911964416504, | |
0.005277696132659912, | |
0.0052633600234985355, | |
0.0053002238273620605, | |
0.005275648117065429, | |
0.005298175811767578, | |
0.005285888195037842, | |
0.005285888195037842, | |
0.005269504070281982, | |
0.00530944013595581, | |
0.005243904113769531, | |
0.005318655967712403, | |
0.005295104026794434, | |
0.005277728080749512, | |
0.005244927883148193, | |
0.005299200057983398, | |
0.005248000144958496, | |
0.005279744148254394, | |
0.005305344104766845, | |
0.005284863948822022, | |
0.005276671886444092, | |
0.005295104026794434, | |
0.005246975898742676, | |
0.005281792163848877, | |
0.005280767917633057, | |
0.005285888195037842, | |
0.005275648117065429, | |
0.005319680213928223, | |
0.0052930560111999515, | |
0.005280831813812256, | |
0.005327871799468994, | |
0.00530944013595581, | |
0.005264383792877197, | |
0.005276671886444092, | |
0.0052971520423889164, | |
0.005273600101470947, | |
0.005291007995605469, | |
0.0053002238273620605, | |
0.005278719902038574, | |
0.005340159893035889, | |
0.0052715520858764645, | |
0.005251071929931641, | |
0.0052674560546875, | |
0.0052899842262268066, | |
0.005287936210632324, | |
0.005278719902038574, | |
0.005377024173736572, | |
0.005279744148254394 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 184.81383748060756 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.15718785757022e-08, | |
"ram": 3.3665922867080894e-08, | |
"gpu": 1.3073125023833645e-07, | |
"total": 2.2596905168111958e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4425384.770880787 | |
} | |
} | |
} | |
} |