IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
59c72a1 verified
raw
history blame
11.8 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "transformers",
"model_type": "vit",
"model": "google/vit-base-patch16-224",
"processor": "google/vit-base-patch16-224",
"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": 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.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.3.1",
"optimum_benchmark_commit": "d0c0a5c5918412583a4f2490ab7e3d1b48375998",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 898.732032,
"max_global_vram": 2394.857472,
"max_process_vram": 47853.109248,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 9.1556171875,
"mean": 9.1556171875,
"stdev": 0.0,
"p50": 9.1556171875,
"p90": 9.1556171875,
"p95": 9.1556171875,
"p99": 9.1556171875,
"values": [
9.1556171875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1068.937216,
"max_global_vram": 2483.17952,
"max_process_vram": 184632.508416,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 148,
"total": 0.9982163343429559,
"mean": 0.006744704961776733,
"stdev": 0.00021157800779423352,
"p50": 0.006710376024246216,
"p90": 0.006788360166549682,
"p95": 0.006901207661628723,
"p99": 0.007620853347778322,
"values": [
0.006905735969543457,
0.006742216110229492,
0.006848616123199463,
0.0068972549438476565,
0.006921256065368652,
0.00691773509979248,
0.00690333604812622,
0.006958215236663818,
0.008770849227905273,
0.0071247749328613285,
0.006712296009063721,
0.006652936935424804,
0.006638055801391602,
0.00662749719619751,
0.006650375843048096,
0.006630537033081055,
0.006649096012115479,
0.00664829683303833,
0.006665895938873291,
0.006639976978302002,
0.006626215934753418,
0.006676297187805175,
0.006651175975799561,
0.006655336856842041,
0.006689095973968506,
0.006735655784606933,
0.00665805721282959,
0.006675977230072022,
0.00667629623413086,
0.0066687769889831544,
0.006647016048431396,
0.0066687769889831544,
0.006686855792999267,
0.006636297225952149,
0.00668813705444336,
0.00666269588470459,
0.00666893720626831,
0.006710536003112793,
0.0066278171539306645,
0.006687817096710205,
0.006615177154541015,
0.006655336856842041,
0.006675177097320557,
0.0067178959846496585,
0.006653896808624268,
0.006706857204437256,
0.00673581600189209,
0.006671815872192383,
0.006699817180633545,
0.006679656028747559,
0.006714695930480957,
0.006690697193145752,
0.006710216045379639,
0.00671949577331543,
0.00667229700088501,
0.006744136810302734,
0.006692296028137207,
0.006674056053161621,
0.006691816806793213,
0.0066934161186218265,
0.006714695930480957,
0.0067177371978759766,
0.006705097198486328,
0.006704616069793701,
0.006726376056671143,
0.0066778969764709475,
0.006699816226959228,
0.006707655906677246,
0.0067177371978759766,
0.006713576793670654,
0.006685256004333496,
0.006726056098937988,
0.0067188568115234375,
0.006702537059783935,
0.006709896087646485,
0.006711976051330566,
0.008060771942138672,
0.006765895843505859,
0.006787975788116455,
0.006766695976257325,
0.006847496032714844,
0.006738056182861328,
0.006759655952453613,
0.006763976097106933,
0.0067796559333801265,
0.006865096092224121,
0.006844136238098144,
0.006789257049560547,
0.006778857231140137,
0.006767656803131104,
0.006813897132873535,
0.006774056911468506,
0.006776456832885742,
0.006728776931762695,
0.006712296009063721,
0.006751976013183594,
0.006704775810241699,
0.006753256797790527,
0.006694217205047607,
0.006691815853118896,
0.006763336181640625,
0.006692936897277832,
0.006719656944274902,
0.00670909595489502,
0.0066068568229675296,
0.006735655784606933,
0.006726376056671143,
0.0066871771812438965,
0.006737256050109863,
0.00670909595489502,
0.00674669599533081,
0.006688776969909668,
0.006709896087646485,
0.006754536151885987,
0.006726056098937988,
0.0067204561233520504,
0.006736776828765869,
0.006739975929260254,
0.006748775959014893,
0.006758696079254151,
0.006711495876312256,
0.006732135772705078,
0.006741736888885498,
0.0067849369049072265,
0.006693737030029297,
0.006715015888214111,
0.00670957612991333,
0.0067012572288513185,
0.006766695976257325,
0.0067057361602783205,
0.006694215774536133,
0.006696776866912842,
0.006712776184082031,
0.006690536022186279,
0.006699817180633545,
0.006752936840057373,
0.00669373607635498,
0.006679656028747559,
0.00670717716217041,
0.0067300558090209964,
0.006702695846557617,
0.006723976135253907,
0.006710856914520264,
0.006679656982421875,
0.006701096057891846,
0.006713736057281494,
0.006755177021026611,
0.006717257022857666
]
},
"throughput": {
"unit": "samples/s",
"value": 148.26445421514387
},
"energy": null,
"efficiency": null
}
}
}