IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
b77b2a0 verified
raw
history blame
13.2 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": "6",
"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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082014.490624,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.1",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1096.8064,
"max_global_vram": 68702.69952,
"max_process_vram": 5612.146688,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"values": [
0.117604248046875
],
"count": 1,
"total": 0.117604248046875,
"mean": 0.117604248046875,
"p50": 0.117604248046875,
"p90": 0.117604248046875,
"p95": 0.117604248046875,
"p99": 0.117604248046875,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1269.06368,
"max_global_vram": 68702.69952,
"max_process_vram": 194297.438208,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"values": [
0.006077940940856934,
0.005890420913696289,
0.005882260799407959,
0.005944021224975586,
0.005858419895172119,
0.005902420997619629,
0.005864020824432373,
0.005871060848236084,
0.005871059894561767,
0.005869300842285157,
0.005921940803527832,
0.005858739852905273,
0.005894260883331299,
0.005864181041717529,
0.005866899967193604,
0.005844659805297851,
0.006074581146240234,
0.005891220092773437,
0.005877460956573486,
0.005864340782165528,
0.0058689799308776856,
0.005892180919647217,
0.005886900901794434,
0.005898739814758301,
0.0059240198135375975,
0.0058952198028564455,
0.005873620986938477,
0.005865941047668457,
0.006226740837097168,
0.0063041820526123045,
0.006081941127777099,
0.006662263870239258,
0.006666903018951416,
0.006313782215118408,
0.0059142599105834965,
0.005951701164245605,
0.005929941177368164,
0.005903700828552246,
0.005900500774383545,
0.005919381141662598,
0.005918420791625976,
0.005916501045227051,
0.005910900115966797,
0.005915380001068115,
0.005931381225585937,
0.0059422612190246586,
0.0059190611839294435,
0.005908660888671875,
0.005912021160125732,
0.005917940139770508,
0.005919700145721436,
0.005927861213684082,
0.0058913807868957516,
0.005875861167907715,
0.005917460918426514,
0.005923059940338135,
0.005928659915924072,
0.005960980892181397,
0.005940821170806885,
0.005937780857086182,
0.005950581073760986,
0.005956020832061768,
0.005960660934448242,
0.0059765009880065915,
0.005977780818939209,
0.005941940784454346,
0.005958741188049317,
0.005960340976715088,
0.005934421062469482,
0.00595042085647583,
0.00594658088684082,
0.005938100814819336,
0.005644340038299561,
0.005824820041656494,
0.005651699066162109,
0.005633140087127685,
0.005670420169830322,
0.005656179904937744,
0.00565201997756958,
0.005644820213317871,
0.005787700176239014,
0.005678899765014648,
0.00566834020614624,
0.005673620223999023,
0.0064323430061340335,
0.006438262939453125,
0.006416501998901367,
0.006427702903747559,
0.006445143222808838,
0.006070261001586914,
0.005947381019592285,
0.005932341098785401,
0.0059477009773254395,
0.005935861110687256,
0.0059293007850646975,
0.005956661224365234,
0.005908820152282715,
0.005964180946350098,
0.006010581016540528,
0.006024341106414795,
0.0059741010665893554,
0.0063982620239257815,
0.006390902996063232,
0.006461623191833496,
0.006447702884674072,
0.00644146203994751,
0.006037462234497071,
0.006000821113586426,
0.005916981220245361,
0.005989301204681397,
0.005915219783782959,
0.005973620891571045,
0.005906740188598633,
0.005959701061248779,
0.005943700790405273,
0.006038261890411377,
0.005932499885559082,
0.006005300998687744,
0.005948501110076904,
0.005712180137634277,
0.005667059898376465,
0.005661940097808838,
0.005637779235839844,
0.005633619785308838,
0.00563778018951416,
0.005635859966278076,
0.005657939910888672,
0.005638100147247314,
0.005640820026397705,
0.005639859199523926,
0.00564673900604248,
0.005658259868621826,
0.005641300201416016,
0.0056373000144958494,
0.005640339851379394,
0.005652180194854736,
0.005662260055541993,
0.005659379959106445,
0.00565746021270752,
0.005640338897705078,
0.0056392202377319334,
0.005647220134735107,
0.005632979869842529,
0.005623859882354736,
0.005622900009155273,
0.005633459091186523,
0.005635220050811768,
0.005626100063323975,
0.005662099838256836,
0.005624020099639892,
0.005656980037689209,
0.005624499797821045,
0.005631699085235596,
0.005625939846038818,
0.005639379978179932,
0.005645140171051026,
0.005612659931182862,
0.005624178886413574,
0.00562657880783081,
0.005627059936523437,
0.00580466079711914,
0.005634099006652832,
0.005648980140686035,
0.005658899784088135,
0.005639699935913086,
0.005630420207977295,
0.005620339870452881,
0.005837460041046142,
0.0056227388381958005,
0.005644659996032714
],
"count": 170,
"total": 0.9984555020332336,
"mean": 0.0058732676590190205,
"p50": 0.005894740343093872,
"p90": 0.006074917125701904,
"p95": 0.006422662496566772,
"p99": 0.006523821802139283,
"stdev": 0.00022428858573403758,
"stdev_": 3.818804092635194
},
"throughput": {
"unit": "samples/s",
"value": 170.26297081223512
},
"energy": null,
"efficiency": null
}
}
}