IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
0a028d5 verified
raw
history blame
12.5 kB
{
"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": "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.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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 869.183488,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 180,
"total": 1.0020519685745242,
"mean": 0.005566955380969577,
"stdev": 0.00033049250458577425,
"p50": 0.005504000186920166,
"p90": 0.0056671234130859375,
"p95": 0.005801164627075195,
"p99": 0.0077081704711914065,
"values": [
0.008274944305419921,
0.007701504230499268,
0.007733248233795166,
0.006371327877044678,
0.005726208209991455,
0.005607423782348633,
0.0056648321151733395,
0.005669888019561768,
0.005627903938293457,
0.005666816234588623,
0.005570559978485107,
0.005705728054046631,
0.005583871841430664,
0.005643263816833496,
0.0055316481590271,
0.005560319900512695,
0.00567193603515625,
0.005619711875915527,
0.005799935817718506,
0.005696512222290039,
0.005827583789825439,
0.0058429441452026365,
0.005791776180267334,
0.005824512004852295,
0.0057784318923950195,
0.0058787841796875,
0.0057825279235839844,
0.006100992202758789,
0.005404672145843506,
0.005221375942230225,
0.005197824001312256,
0.005189631938934326,
0.005187583923339844,
0.005206016063690186,
0.005219327926635742,
0.005504000186920166,
0.0055244798660278325,
0.005486591815948487,
0.005508096218109131,
0.005481472015380859,
0.005485568046569824,
0.005516287803649903,
0.005500927925109863,
0.005479423999786377,
0.005541888236999512,
0.005484543800354004,
0.00552243185043335,
0.005493760108947754,
0.005479423999786377,
0.005506048202514649,
0.005535744190216065,
0.005479423999786377,
0.0054988799095153805,
0.005483520030975342,
0.005489664077758789,
0.005511168003082275,
0.0054917120933532714,
0.005495808124542236,
0.005480447769165039,
0.005479423999786377,
0.005495808124542236,
0.005478400230407715,
0.005606400012969971,
0.005567584037780762,
0.0055582718849182125,
0.005561344146728516,
0.0055244798660278325,
0.005495808124542236,
0.005545983791351319,
0.005504000186920166,
0.005535744190216065,
0.0054988799095153805,
0.005495808124542236,
0.005495808124542236,
0.005484543800354004,
0.005470208168029785,
0.005545983791351319,
0.0055244798660278325,
0.005505023956298828,
0.005509119987487793,
0.005545983791351319,
0.005512191772460938,
0.005496831893920898,
0.005502975940704345,
0.005517312049865723,
0.0054917120933532714,
0.00555622386932373,
0.00550707197189331,
0.005504000186920166,
0.005517312049865723,
0.005483520030975342,
0.005500927925109863,
0.005511168003082275,
0.005478400230407715,
0.005506048202514649,
0.005505023956298828,
0.005485568046569824,
0.005503039836883545,
0.005473279953002929,
0.0055797758102417,
0.005636096000671387,
0.00547430419921875,
0.005541888236999512,
0.005511168003082275,
0.0054988799095153805,
0.005541888236999512,
0.005489664077758789,
0.00551423978805542,
0.005502975940704345,
0.005509119987487793,
0.005591040134429932,
0.005471231937408447,
0.005506048202514649,
0.005509119987487793,
0.0055552000999450684,
0.005477375984191894,
0.00547430419921875,
0.005482495784759522,
0.0054917440414428715,
0.005465087890625,
0.005509119987487793,
0.005469183921813964,
0.005448703765869141,
0.005500927925109863,
0.005489664077758789,
0.005485568046569824,
0.005494783878326416,
0.005482495784759522,
0.005515359878540039,
0.005492735862731934,
0.005468160152435303,
0.0055285758972167965,
0.005511168003082275,
0.005481472015380859,
0.005499904155731201,
0.005478400230407715,
0.005450751781463623,
0.0055244798660278325,
0.00547430419921875,
0.005494783878326416,
0.005501952171325684,
0.005475327968597412,
0.005536767959594726,
0.005505023956298828,
0.005496831893920898,
0.005505023956298828,
0.005471231937408447,
0.005497856140136719,
0.005508096218109131,
0.005458943843841553,
0.005492735862731934,
0.005493760108947754,
0.005471231937408447,
0.005504000186920166,
0.00550707197189331,
0.0055244798660278325,
0.005505023956298828,
0.005452799797058106,
0.005566463947296142,
0.005504000186920166,
0.005469183921813964,
0.0055316481590271,
0.0054917120933532714,
0.00551526403427124,
0.00551423978805542,
0.005471231937408447,
0.005482495784759522,
0.0054876160621643065,
0.005473279953002929,
0.0054876160621643065,
0.005534719944000244,
0.005538815975189209,
0.00551423978805542,
0.005476352214813233,
0.005494783878326416,
0.005638144016265869,
0.005513216018676758,
0.005488639831542969,
0.005475327968597412,
0.005506048202514649
]
},
"throughput": {
"unit": "samples/s",
"value": 179.63140200808175
},
"energy": {
"unit": "kWh",
"cpu": 6.253757759144432e-08,
"ram": 3.419281329942741e-08,
"gpu": 1.295980568947336e-07,
"total": 2.263284477856053e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4418357.523254313
}
}
}
}