IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
4fc8b5a verified
raw
history blame
12 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": 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.34.2",
"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.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1072.185344,
"max_global_vram": 68702.69952,
"max_process_vram": 47783.99744,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.4636708984375,
"mean": 8.4636708984375,
"stdev": 0.0,
"p50": 8.4636708984375,
"p90": 8.4636708984375,
"p95": 8.4636708984375,
"p99": 8.4636708984375,
"values": [
8.4636708984375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1244.073984,
"max_global_vram": 68702.69952,
"max_process_vram": 189309.579264,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 143,
"total": 0.9948430747985838,
"mean": 0.006956944579011077,
"stdev": 0.0008232349346191806,
"p50": 0.00688913106918335,
"p90": 0.007023371982574462,
"p95": 0.0070666671276092535,
"p99": 0.009007096529006994,
"values": [
0.007052971839904785,
0.006916010856628418,
0.006905931949615479,
0.006918570995330811,
0.0068958520889282225,
0.006869771003723144,
0.006852331161499023,
0.006825771808624268,
0.006874731063842773,
0.006824650764465332,
0.006871051788330078,
0.006857131004333496,
0.006815530776977539,
0.006811531066894532,
0.006867530822753906,
0.006884971141815186,
0.006857612133026123,
0.006832651138305664,
0.006830090999603271,
0.006839210987091064,
0.006891530990600586,
0.0068360109329223635,
0.006887691974639893,
0.006854570865631103,
0.006856171131134034,
0.0069049720764160155,
0.006843690872192383,
0.0068360109329223635,
0.006826571941375733,
0.006850251197814941,
0.006896330833435059,
0.006865292072296142,
0.006858251094818115,
0.006867691040039063,
0.00689713191986084,
0.00688913106918335,
0.006873610973358154,
0.006866092205047607,
0.006926091194152832,
0.0068902521133422856,
0.006855051040649414,
0.006859052181243897,
0.006835690975189209,
0.006844971179962158,
0.01017617702484131,
0.007235531806945801,
0.0069936118125915525,
0.007046091079711914,
0.006959211826324463,
0.006939530849456787,
0.006919851779937744,
0.006892490863800049,
0.006948811054229736,
0.006953771114349365,
0.0069027309417724605,
0.006895051956176758,
0.006880970954895019,
0.006898252010345459,
0.006856010913848877,
0.0068929710388183595,
0.006864811897277832,
0.006861131191253662,
0.006868171215057373,
0.006880012035369873,
0.006864490985870361,
0.006807691097259522,
0.0068156919479370115,
0.007000491142272949,
0.0070756921768188475,
0.007002090930938721,
0.007031371116638183,
0.007053132057189941,
0.0069896111488342285,
0.006985132217407227,
0.006966890811920166,
0.00706817102432251,
0.007392652034759521,
0.0069238519668579105,
0.006970571041107178,
0.007023372173309326,
0.007020971775054932,
0.0070427308082580565,
0.007014091968536377,
0.0070233712196350094,
0.006975371837615967,
0.007003052234649658,
0.007027370929718018,
0.006982252120971679,
0.006994730949401855,
0.006947052001953125,
0.00691969108581543,
0.015485945701599122,
0.004025765895843506,
0.004997929096221924,
0.0068721709251403805,
0.006856330871582031,
0.006808970928192139,
0.006890410900115967,
0.006842411041259765,
0.006842251777648926,
0.006861451148986816,
0.006968330860137939,
0.00711825180053711,
0.00717169189453125,
0.006965611934661865,
0.006968010902404785,
0.006922731876373291,
0.0069187312126159665,
0.006892012119293213,
0.0069096112251281734,
0.0068806509971618655,
0.006851531028747558,
0.006905611038208008,
0.006869932174682617,
0.006892011165618896,
0.006909931182861328,
0.006891851902008057,
0.006916010856628418,
0.006889132022857666,
0.006901290893554688,
0.006927530765533447,
0.006854890823364258,
0.00685425090789795,
0.006840490818023682,
0.006908970832824707,
0.006826251029968262,
0.00682801103591919,
0.006817931175231933,
0.006908811092376709,
0.006835690975189209,
0.006853772163391113,
0.0068288111686706544,
0.006826731204986572,
0.006835212230682373,
0.006887371063232422,
0.006861770153045654,
0.006845932006835937,
0.00684545087814331,
0.006821771144866943,
0.006811371803283691,
0.006818410873413086,
0.006923851013183594,
0.006850411891937256
]
},
"throughput": {
"unit": "samples/s",
"value": 143.74126294134558
},
"energy": null,
"efficiency": null
}
}
}