
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
56c57f0
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.41.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 869.433344, | |
"max_global_vram": 1231.552512, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 178, | |
"total": 1.002006564617157, | |
"mean": 0.005629250363017736, | |
"stdev": 0.0001423688504243559, | |
"p50": 0.00558079981803894, | |
"p90": 0.005842841577529907, | |
"p95": 0.0059238398075103765, | |
"p99": 0.00614156280517578, | |
"values": [ | |
0.006293504238128662, | |
0.005955584049224853, | |
0.006061056137084961, | |
0.00597811222076416, | |
0.005916672229766846, | |
0.005686272144317627, | |
0.005629951953887939, | |
0.005643263816833496, | |
0.005677055835723877, | |
0.005620736122131348, | |
0.005646336078643799, | |
0.005646336078643799, | |
0.00568012809753418, | |
0.005591040134429932, | |
0.00550707197189331, | |
0.005493760108947754, | |
0.005571584224700928, | |
0.005600255966186523, | |
0.005666816234588623, | |
0.005715968132019043, | |
0.005694464206695556, | |
0.0056258559226989744, | |
0.005634047985076904, | |
0.005544960021972656, | |
0.005583871841430664, | |
0.005617663860321045, | |
0.0056145920753479005, | |
0.005634047985076904, | |
0.005602335929870606, | |
0.005594111919403076, | |
0.005624832153320313, | |
0.005583871841430664, | |
0.005634047985076904, | |
0.005595136165618897, | |
0.005535744190216065, | |
0.005459968090057373, | |
0.005451776027679443, | |
0.00552243185043335, | |
0.0055203838348388675, | |
0.005477375984191894, | |
0.005624832153320313, | |
0.005547008037567139, | |
0.005601280212402344, | |
0.0056514558792114256, | |
0.005657599925994873, | |
0.005668863773345947, | |
0.005623807907104492, | |
0.00563097620010376, | |
0.005527552127838135, | |
0.005544960021972656, | |
0.005669888019561768, | |
0.005569536209106446, | |
0.005634047985076904, | |
0.0055623679161071774, | |
0.005495808124542236, | |
0.005543935775756836, | |
0.005543935775756836, | |
0.005561344146728516, | |
0.0056780800819396975, | |
0.005608448028564453, | |
0.005571584224700928, | |
0.005542912006378174, | |
0.006119423866271972, | |
0.0062156801223754886, | |
0.005941247940063477, | |
0.005844992160797119, | |
0.0058757119178771975, | |
0.005894144058227539, | |
0.006017024040222168, | |
0.005900288105010986, | |
0.005964799880981446, | |
0.005920767784118652, | |
0.005914624214172363, | |
0.005903359889984131, | |
0.005840896129608154, | |
0.005916672229766846, | |
0.005823488235473633, | |
0.005814271926879883, | |
0.005689343929290771, | |
0.005659647941589355, | |
0.005650432109832764, | |
0.00572211217880249, | |
0.0058419198989868165, | |
0.005699584007263184, | |
0.005637119770050049, | |
0.005542912006378174, | |
0.005649407863616943, | |
0.0056145920753479005, | |
0.005739520072937012, | |
0.005703680038452149, | |
0.005694464206695556, | |
0.005731328010559082, | |
0.00568012809753418, | |
0.005781504154205322, | |
0.005787648200988769, | |
0.005662720203399658, | |
0.005669888019561768, | |
0.005529600143432617, | |
0.00563097620010376, | |
0.005605375766754151, | |
0.005601280212402344, | |
0.005631999969482422, | |
0.005586944103240967, | |
0.005591040134429932, | |
0.0055552000999450684, | |
0.005573631763458252, | |
0.005577727794647217, | |
0.005547008037567139, | |
0.005594111919403076, | |
0.0055623679161071774, | |
0.005571584224700928, | |
0.005547008037567139, | |
0.005765120029449463, | |
0.005563392162322998, | |
0.00551526403427124, | |
0.005548031806945801, | |
0.005526527881622314, | |
0.005518335819244385, | |
0.005593088150024414, | |
0.005511168003082275, | |
0.005537792205810547, | |
0.005548031806945801, | |
0.005506048202514649, | |
0.005566463947296142, | |
0.0055552000999450684, | |
0.005512191772460938, | |
0.005588992118835449, | |
0.005530623912811279, | |
0.00552345609664917, | |
0.005532671928405761, | |
0.005517312049865723, | |
0.005552127838134766, | |
0.0055214080810546875, | |
0.005536767959594726, | |
0.005600255966186523, | |
0.005504000186920166, | |
0.005513216018676758, | |
0.005554175853729248, | |
0.0055285758972167965, | |
0.0055285758972167965, | |
0.005535744190216065, | |
0.005508096218109131, | |
0.0055582718849182125, | |
0.005516287803649903, | |
0.005543935775756836, | |
0.00552243185043335, | |
0.005554175853729248, | |
0.005533696174621582, | |
0.005533696174621582, | |
0.005505023956298828, | |
0.005554175853729248, | |
0.005535744190216065, | |
0.0055623679161071774, | |
0.005538815975189209, | |
0.005557248115539551, | |
0.005529600143432617, | |
0.005560319900512695, | |
0.005527552127838135, | |
0.0055244798660278325, | |
0.005541888236999512, | |
0.005566463947296142, | |
0.0055623679161071774, | |
0.005529600143432617, | |
0.005536767959594726, | |
0.005541888236999512, | |
0.005561344146728516, | |
0.005540863990783691, | |
0.005544960021972656, | |
0.0055582718849182125, | |
0.005527552127838135, | |
0.005603328227996827, | |
0.005519360065460205, | |
0.005586944103240967, | |
0.005542912006378174, | |
0.005573631763458252, | |
0.005633024215698243, | |
0.005536767959594726, | |
0.005533696174621582 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 177.64354674463593 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.243793849359478e-08, | |
"ram": 3.406202819621142e-08, | |
"gpu": 1.3028372995789408e-07, | |
"total": 2.2678369664770027e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4409488.048664545 | |
} | |
} | |
} | |
} |