
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1d8c1cb
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.741504, | |
"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.41672119140625, | |
"mean": 7.41672119140625, | |
"stdev": 0.0, | |
"p50": 7.41672119140625, | |
"p90": 7.41672119140625, | |
"p95": 7.41672119140625, | |
"p99": 7.41672119140625, | |
"values": [ | |
7.41672119140625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.324471548615698e-07, | |
"ram": 4.955455486819526e-07, | |
"gpu": 1.7733347520000435e-06, | |
"total": 3.201327455543566e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1038.340096, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 184, | |
"total": 1.0004649615287777, | |
"mean": 0.005437309573525967, | |
"stdev": 0.00035480521299568476, | |
"p50": 0.005308416128158569, | |
"p90": 0.005582848072052002, | |
"p95": 0.005743411302566528, | |
"p99": 0.007713136715888975, | |
"values": [ | |
0.007889920234680176, | |
0.007963647842407226, | |
0.007676928043365478, | |
0.006025216102600098, | |
0.005994495868682862, | |
0.00591974401473999, | |
0.005961728096008301, | |
0.0063610877990722655, | |
0.0057190399169921875, | |
0.0052715520858764645, | |
0.0052899842262268066, | |
0.0053012480735778805, | |
0.005245952129364013, | |
0.005260287761688232, | |
0.005294079780578613, | |
0.005261375904083252, | |
0.005264383792877197, | |
0.0052633600234985355, | |
0.005260287761688232, | |
0.005284863948822022, | |
0.005254144191741943, | |
0.005264383792877197, | |
0.005275648117065429, | |
0.005268479824066162, | |
0.005259263992309571, | |
0.005283840179443359, | |
0.005422080039978027, | |
0.005237760066986084, | |
0.0052674560546875, | |
0.005485568046569824, | |
0.005276703834533691, | |
0.005280767917633057, | |
0.00531763219833374, | |
0.0052633600234985355, | |
0.005295104026794434, | |
0.005261312007904053, | |
0.005274623870849609, | |
0.005254144191741943, | |
0.005265408039093018, | |
0.005279744148254394, | |
0.005231616020202637, | |
0.005264383792877197, | |
0.005401599884033203, | |
0.005244927883148193, | |
0.005276671886444092, | |
0.005288959980010987, | |
0.005258240222930908, | |
0.0052715520858764645, | |
0.005433343887329102, | |
0.005248000144958496, | |
0.0052633600234985355, | |
0.005272575855255127, | |
0.005287936210632324, | |
0.005414912223815918, | |
0.005248064041137695, | |
0.005237760066986084, | |
0.005286911964416504, | |
0.005253119945526123, | |
0.005250048160552978, | |
0.005244927883148193, | |
0.005231616020202637, | |
0.005430272102355957, | |
0.005292031764984131, | |
0.0052633600234985355, | |
0.005305344104766845, | |
0.005291039943695068, | |
0.005272575855255127, | |
0.005295104026794434, | |
0.005295104026794434, | |
0.005253119945526123, | |
0.005296127796173096, | |
0.005243904113769531, | |
0.005400576114654541, | |
0.005295104026794434, | |
0.005307392120361328, | |
0.005277696132659912, | |
0.005319680213928223, | |
0.00526643180847168, | |
0.0052674560546875, | |
0.005305344104766845, | |
0.005377024173736572, | |
0.005347328186035156, | |
0.005582848072052002, | |
0.005408768177032471, | |
0.0054271998405456545, | |
0.005320703983306885, | |
0.005276671886444092, | |
0.005281792163848877, | |
0.0053002238273620605, | |
0.005246975898742676, | |
0.0052674560546875, | |
0.00530944013595581, | |
0.005696512222290039, | |
0.005269504070281982, | |
0.005343232154846191, | |
0.005312511920928955, | |
0.005311488151550293, | |
0.005295104026794434, | |
0.005390336036682129, | |
0.005275648117065429, | |
0.005322751998901368, | |
0.0052633600234985355, | |
0.005243904113769531, | |
0.005294079780578613, | |
0.005409791946411133, | |
0.0052715520858764645, | |
0.005315584182739258, | |
0.005269504070281982, | |
0.005305344104766845, | |
0.005302271842956543, | |
0.005252096176147461, | |
0.005259263992309571, | |
0.005315584182739258, | |
0.005256192207336426, | |
0.005285888195037842, | |
0.005287936210632324, | |
0.005255167961120606, | |
0.005298175811767578, | |
0.005320703983306885, | |
0.005255167961120606, | |
0.005262335777282715, | |
0.005294079780578613, | |
0.005275648117065429, | |
0.005443583965301513, | |
0.005306367874145508, | |
0.005255167961120606, | |
0.005264383792877197, | |
0.005412928104400635, | |
0.005278719902038574, | |
0.0053821439743042, | |
0.005601280212402344, | |
0.005509119987487793, | |
0.005555359840393066, | |
0.005582848072052002, | |
0.005526527881622314, | |
0.0055920639038085935, | |
0.0055, | |
0.005552127838134766, | |
0.005578752040863037, | |
0.005509119987487793, | |
0.005529600143432617, | |
0.005550079822540284, | |
0.0055582718849182125, | |
0.005554175853729248, | |
0.00552243185043335, | |
0.005677055835723877, | |
0.005553152084350586, | |
0.005506048202514649, | |
0.005755904197692871, | |
0.005500927925109863, | |
0.005486591815948487, | |
0.00551526403427124, | |
0.005501952171325684, | |
0.005561344146728516, | |
0.00552345609664917, | |
0.0055244798660278325, | |
0.005506048202514649, | |
0.005519360065460205, | |
0.005519360065460205, | |
0.005533696174621582, | |
0.005609471797943116, | |
0.005535744190216065, | |
0.005516287803649903, | |
0.005538815975189209, | |
0.005530623912811279, | |
0.005497856140136719, | |
0.005686272144317627, | |
0.0055071358680725095, | |
0.005538815975189209, | |
0.005747712135314941, | |
0.005504000186920166, | |
0.005526527881622314, | |
0.00553984022140503, | |
0.005535744190216065, | |
0.0055285758972167965, | |
0.00552243185043335, | |
0.005541888236999512, | |
0.0055203838348388675, | |
0.0055203838348388675, | |
0.005578752040863037, | |
0.005540863990783691, | |
0.005512191772460938, | |
0.0055920639038085935, | |
0.005500927925109863 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 183.91448683903494 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.481602889870207e-08, | |
"ram": 3.532800710298188e-08, | |
"gpu": 1.3229630148913018e-07, | |
"total": 2.3244033749081415e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4302179.263698234 | |
} | |
} | |
} | |
} |