IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
7f75286 verified
raw
history blame
12.2 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.0+rocm6.1",
"_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": "5",
"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": 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",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"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": 1386.51648,
"max_global_vram": 11.235328,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.8885771484375,
"mean": 7.8885771484375,
"stdev": 0.0,
"p50": 7.8885771484375,
"p90": 7.8885771484375,
"p95": 7.8885771484375,
"p99": 7.8885771484375,
"values": [
7.8885771484375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1485.96736,
"max_global_vram": 11.247616,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 149,
"total": 0.9987602725028993,
"mean": 0.006703089077200667,
"stdev": 0.0003145295402813907,
"p50": 0.006644295215606689,
"p90": 0.007036581134796143,
"p95": 0.007236324882507325,
"p99": 0.007276472263336182,
"values": [
0.006998854160308838,
0.0069727740287780764,
0.007001574039459228,
0.006973574161529541,
0.006987174034118652,
0.00693869400024414,
0.006880613803863525,
0.0070724539756774904,
0.006872934818267822,
0.0071001329421997075,
0.00682557487487793,
0.0067758140563964845,
0.0067767748832702635,
0.006691975116729736,
0.006883173942565918,
0.006639975070953369,
0.006794054985046386,
0.006562856197357178,
0.006897573947906494,
0.006914534091949463,
0.007014214038848877,
0.007023973941802979,
0.0065559749603271485,
0.0065209360122680665,
0.006514855861663818,
0.006511175155639649,
0.006467336177825927,
0.009035486221313477,
0.007230052947998047,
0.00664269495010376,
0.006535816192626953,
0.0065492548942565915,
0.0066207761764526364,
0.0065609350204467775,
0.006518856048583984,
0.006599015235900879,
0.006618696212768555,
0.006545895099639892,
0.006614695072174073,
0.006706375122070313,
0.006543816089630127,
0.006672134876251221,
0.006832934856414795,
0.006584935188293457,
0.006652935028076172,
0.006494376182556152,
0.006575335025787354,
0.006523816108703613,
0.006600454807281494,
0.006905095100402832,
0.006514695167541504,
0.006564775943756104,
0.006583815097808838,
0.006554215908050537,
0.0066361351013183596,
0.006644774913787841,
0.006593095779418945,
0.006607655048370361,
0.006609254837036132,
0.006567016124725342,
0.0065206151008605955,
0.006661416053771973,
0.006648775100708008,
0.006412775993347168,
0.006429895877838134,
0.006429736137390137,
0.006427175998687744,
0.006397575855255127,
0.006380616188049316,
0.006383016109466553,
0.00640013599395752,
0.00639821720123291,
0.006375175952911377,
0.006375016212463379,
0.0064218959808349605,
0.006417096138000488,
0.006650694847106934,
0.006448616027832031,
0.006394855976104737,
0.006433256149291992,
0.006401735782623291,
0.006388776779174805,
0.006393735885620117,
0.0063790159225463865,
0.006383175849914551,
0.0063503761291503905,
0.006364137172698975,
0.0063790159225463865,
0.006391975879669189,
0.006374375820159912,
0.00638045597076416,
0.006346696853637695,
0.006383175849914551,
0.006396776199340821,
0.0063913359642028805,
0.006644295215606689,
0.00635677719116211,
0.0063698959350585935,
0.006358535766601563,
0.006423175811767578,
0.006399975776672363,
0.006644454956054688,
0.006975654125213623,
0.006655014991760254,
0.006683656215667725,
0.0068326139450073245,
0.0065686159133911135,
0.007029733180999756,
0.00676445484161377,
0.006608934879302979,
0.006662055969238281,
0.006823174953460694,
0.006644295215606689,
0.006633574962615967,
0.006744295120239258,
0.006603975772857666,
0.006806694030761719,
0.006797414779663086,
0.0068687739372253415,
0.0068287749290466306,
0.00670653486251831,
0.006804133892059326,
0.006781414985656738,
0.0067910151481628414,
0.0067977337837219235,
0.006789255142211914,
0.00677309513092041,
0.0068822140693664555,
0.006914373874664307,
0.006874855041503906,
0.006893094062805176,
0.006842854022979736,
0.006596615791320801,
0.006759014129638672,
0.006862054824829102,
0.007066853046417236,
0.0070002942085266116,
0.006854694843292236,
0.007284613132476807,
0.0072513318061828615,
0.0072609329223632816,
0.007238372802734375,
0.007267652988433838,
0.007266852855682373,
0.007233253002166748,
0.0072591729164123535,
0.006915654182434082,
0.007078853130340576,
0.00706397294998169
]
},
"throughput": {
"unit": "samples/s",
"value": 149.1849486830359
},
"energy": null,
"efficiency": null
}
}
}