IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d7b4dbc verified
raw
history blame
10.3 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "fill-mask",
"model": "google-bert/bert-base-uncased",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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": false,
"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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.2.0",
"optimum_benchmark_commit": "b0a0b933f18d5fa56eadb290a26cc2099f2dd4d8",
"transformers_version": "4.40.2",
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1005.400064,
"max_global_vram": 930.57024,
"max_process_vram": 239266.459648,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 134,
"total": 0.9997294569015504,
"mean": 0.007460667588817538,
"stdev": 0.00038722019670569673,
"p50": 0.007234107971191406,
"p90": 0.008054837894439696,
"p95": 0.008090197992324829,
"p99": 0.008532466020584101,
"values": [
0.007447465896606446,
0.007298508167266846,
0.0072730669975280765,
0.007475626945495605,
0.007611306190490723,
0.007490507125854492,
0.007416906833648681,
0.007463625907897949,
0.007365867137908936,
0.007375146865844727,
0.007318188190460205,
0.007238187789916992,
0.00714058780670166,
0.007180109024047852,
0.007175467967987061,
0.007187949180603027,
0.007114348888397216,
0.0071695480346679686,
0.007204267978668213,
0.00716218900680542,
0.007133549213409424,
0.007230187892913818,
0.007225068092346192,
0.007161707878112793,
0.007183309078216553,
0.007191147804260254,
0.007134189128875732,
0.007210187911987305,
0.007266188144683838,
0.007205708026885986,
0.007256748199462891,
0.007275308132171631,
0.007470346927642822,
0.007410665988922119,
0.007378827095031739,
0.007320908069610596,
0.007363146781921387,
0.007316586971282959,
0.0072973880767822265,
0.007177867889404297,
0.007182508945465088,
0.007222988128662109,
0.008992895126342774,
0.008669217109680176,
0.007867623805999755,
0.007477385997772217,
0.00755850601196289,
0.007561864852905273,
0.007770504951477051,
0.00771946382522583,
0.0076349849700927735,
0.00757002592086792,
0.007478025913238526,
0.007215948104858399,
0.007335628032684326,
0.007198668003082275,
0.007210827827453613,
0.007545065879821777,
0.007409707069396972,
0.00716122817993164,
0.007174668788909912,
0.0071719479560852055,
0.007232587814331054,
0.007380587100982666,
0.007143949031829834,
0.007197388172149658,
0.007223467826843261,
0.007169548988342285,
0.007220427989959716,
0.007198187828063965,
0.007228588104248047,
0.00720314884185791,
0.0072025079727172855,
0.007178028106689453,
0.007219948768615723,
0.007192588806152343,
0.007170827865600586,
0.0071301889419555665,
0.007217867851257324,
0.007220108032226563,
0.007193388938903808,
0.0071812281608581545,
0.007185548782348633,
0.007228428840637207,
0.007182347774505615,
0.0071914677619934085,
0.007184429168701172,
0.007217068195343018,
0.007204748153686523,
0.007200108051300049,
0.0071821889877319335,
0.007172428131103516,
0.007132268905639648,
0.007165869235992431,
0.0071977081298828125,
0.0071375489234924315,
0.0071866679191589355,
0.007185227870941162,
0.007235628128051758,
0.007210188865661621,
0.007190187931060791,
0.007145228862762451,
0.007239788055419922,
0.007211947917938232,
0.007122189044952393,
0.007108108997344971,
0.008254819869995118,
0.008052421569824218,
0.008010342597961425,
0.00797066307067871,
0.008143140792846679,
0.00805098247528076,
0.008058502197265624,
0.008044102668762206,
0.008052902221679687,
0.008028422355651856,
0.00805178165435791,
0.008029063224792481,
0.00805338191986084,
0.008046821594238281,
0.008006181716918945,
0.008012103080749513,
0.008065061569213867,
0.008019461631774902,
0.008090822219848633,
0.008043782234191894,
0.0081626615524292,
0.008049861907958984,
0.008095622062683105,
0.008082661628723144,
0.008089861869812011,
0.008061382293701172,
0.0080777006149292,
0.008055461883544921
]
},
"throughput": {
"unit": "samples/s",
"value": 134.0362625857846
},
"energy": null,
"efficiency": null
}
}
}