IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
f13680b verified
raw
history blame
13.8 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_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": 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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 827.428864,
"max_global_vram": 1030.22592,
"max_process_vram": 0.0,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.46041162109375,
"mean": 7.46041162109375,
"stdev": 0.0,
"p50": 7.46041162109375,
"p90": 7.46041162109375,
"p95": 7.46041162109375,
"p99": 7.46041162109375,
"values": [
7.46041162109375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.480107620833672e-06,
"ram": 7.850199580842444e-07,
"gpu": 3.5288917120002844e-06,
"total": 5.7940192909182e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1036.816384,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 406.847488,
"max_allocated": 363.853824
},
"latency": {
"unit": "s",
"count": 186,
"total": 0.999182241439819,
"mean": 0.005371947534622685,
"stdev": 0.00018206601422757486,
"p50": 0.005341184139251709,
"p90": 0.00558182406425476,
"p95": 0.0056092158555984505,
"p99": 0.0056463870763778685,
"values": [
0.00535756778717041,
0.005346303939819336,
0.005332992076873779,
0.005337088108062744,
0.005325823783874512,
0.00536678409576416,
0.005345280170440674,
0.00532480001449585,
0.005302207946777344,
0.005328896045684814,
0.0052899842262268066,
0.005291007995605469,
0.0052899842262268066,
0.005244927883148193,
0.005245952129364013,
0.00530841588973999,
0.0052408318519592285,
0.005131264209747314,
0.005094399929046631,
0.005117951869964599,
0.005144576072692871,
0.005164031982421875,
0.005550079822540284,
0.005619711875915527,
0.005617663860321045,
0.005576704025268555,
0.005604351997375488,
0.0055848960876464845,
0.0054958400726318355,
0.005532671928405761,
0.00552243185043335,
0.005634047985076904,
0.005609471797943116,
0.005557248115539551,
0.005598207950592041,
0.005557248115539551,
0.00557260799407959,
0.005608448028564453,
0.005527552127838135,
0.00556441593170166,
0.005505023956298828,
0.005552127838134766,
0.005576704025268555,
0.005509119987487793,
0.005433343887329102,
0.0054579200744628905,
0.005431295871734619,
0.005500927925109863,
0.0054906878471374515,
0.005499904155731201,
0.0055285758972167965,
0.005511168003082275,
0.005527552127838135,
0.00553984022140503,
0.00562278413772583,
0.005645311832427978,
0.005652480125427246,
0.005576735973358155,
0.005577727794647217,
0.0055511040687561035,
0.00555622386932373,
0.005471199989318848,
0.005473279953002929,
0.005574656009674072,
0.005561344146728516,
0.005540863990783691,
0.006342656135559082,
0.005578752040863037,
0.005560319900512695,
0.00552345609664917,
0.005380095958709717,
0.005484543800354004,
0.005505023956298828,
0.005504000186920166,
0.005536767959594726,
0.005606400012969971,
0.005485568046569824,
0.0055285758972167965,
0.005497856140136719,
0.005535744190216065,
0.00551526403427124,
0.005473279953002929,
0.005202879905700683,
0.005315584182739258,
0.0054876160621643065,
0.005598207950592041,
0.005567488193511963,
0.0056258559226989744,
0.005605375766754151,
0.005573631763458252,
0.005609471797943116,
0.005568511962890625,
0.005534719944000244,
0.005557248115539551,
0.00557260799407959,
0.0055285758972167965,
0.005409791946411133,
0.005483520030975342,
0.005603328227996827,
0.005416959762573242,
0.005442560195922852,
0.005431295871734619,
0.005269504070281982,
0.005274623870849609,
0.0053350400924682614,
0.005459968090057373,
0.005314527988433838,
0.00515993595123291,
0.0051671361923217776,
0.005182464122772217,
0.005181439876556396,
0.005220352172851562,
0.005223423957824707,
0.005252096176147461,
0.0054568958282470706,
0.0054271998405456545,
0.005458943843841553,
0.005544960021972656,
0.005519360065460205,
0.005527552127838135,
0.005600255966186523,
0.005346303939819336,
0.005232639789581299,
0.00521830415725708,
0.005239808082580567,
0.005216256141662597,
0.005174272060394287,
0.005252096176147461,
0.005158912181854248,
0.0051998720169067385,
0.005311488151550293,
0.00516812801361084,
0.005150720119476319,
0.005242879867553711,
0.005235712051391602,
0.005213183879852295,
0.005351424217224121,
0.005163008213043213,
0.005181439876556396,
0.005212192058563232,
0.005187583923339844,
0.005230591773986816,
0.005206016063690186,
0.005178368091583252,
0.0051998720169067385,
0.00516812801361084,
0.005393407821655274,
0.005169151782989502,
0.005299200057983398,
0.00516812801361084,
0.005201920032501221,
0.005175295829772949,
0.00517632007598877,
0.005220352172851562,
0.005186528205871582,
0.00522547197341919,
0.005185535907745361,
0.005173247814178467,
0.005189631938934326,
0.0052899842262268066,
0.00516812801361084,
0.005212160110473632,
0.0052367358207702636,
0.005194752216339111,
0.00516096019744873,
0.005179391860961914,
0.005186560153961181,
0.005171199798583984,
0.005198847770690918,
0.005192704200744629,
0.005210112094879151,
0.005192704200744629,
0.0051701760292053225,
0.005173247814178467,
0.00521830415725708,
0.005167103767395019,
0.005241856098175048,
0.005142528057098389,
0.0051968002319335935,
0.005192704200744629,
0.0051671361923217776,
0.005163008213043213,
0.005181407928466797,
0.005130239963531494,
0.005155839920043945,
0.005182464122772217
]
},
"throughput": {
"unit": "samples/s",
"value": 186.15222757759827
},
"energy": {
"unit": "kWh",
"cpu": 6.077743115740592e-08,
"ram": 3.323025316169204e-08,
"gpu": 3.4243617138461545e-07,
"total": 4.364438557037134e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 2291245.4532957505
}
}
}
}