IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
12eacfd verified
raw
history blame
12.6 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": "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": "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.123904,
"max_global_vram": 68702.69952,
"max_process_vram": 47405.666304,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.43198046875,
"mean": 8.43198046875,
"stdev": 0.0,
"p50": 8.43198046875,
"p90": 8.43198046875,
"p95": 8.43198046875,
"p99": 8.43198046875,
"values": [
8.43198046875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1244.0576,
"max_global_vram": 68702.69952,
"max_process_vram": 185851.752448,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 158,
"total": 0.999459551811218,
"mean": 0.006325693365893786,
"stdev": 0.0023722087826131212,
"p50": 0.006153737545013428,
"p90": 0.006731063795089722,
"p95": 0.006751894903182984,
"p99": 0.008102360501289388,
"values": [
0.0062166180610656735,
0.006084618091583252,
0.006060297966003418,
0.009822203636169433,
0.006171977043151856,
0.005995337963104248,
0.005972137928009033,
0.005951979160308838,
0.0059606189727783206,
0.005926057815551757,
0.0059266982078552246,
0.005967177867889404,
0.005927177906036377,
0.005895339012145996,
0.005893258094787598,
0.005939658164978027,
0.006120458126068116,
0.0062705368995666505,
0.006238536834716797,
0.006238216876983642,
0.006341257095336914,
0.006147497177124024,
0.006319497108459473,
0.006203977108001709,
0.00609453821182251,
0.005970858097076416,
0.005954537868499756,
0.005982538223266601,
0.005963657855987549,
0.005974698066711426,
0.005952457904815674,
0.005977737903594971,
0.005986217975616455,
0.006001577854156494,
0.005956297874450684,
0.005974698066711426,
0.005968297958374023,
0.005975978851318359,
0.0059958181381225585,
0.005998538017272949,
0.005926857948303223,
0.0059798178672790525,
0.005956778049468994,
0.005963818073272705,
0.005968138217926026,
0.006013897895812989,
0.0059743781089782715,
0.005992777824401855,
0.005955499172210693,
0.005944939136505127,
0.0059670181274414065,
0.005991178035736084,
0.006004938125610352,
0.0060153379440307615,
0.005984939098358154,
0.005998538970947266,
0.005960138797760009,
0.03459331130981445,
0.00405710506439209,
0.004049106121063233,
0.004055025100708008,
0.004041904926300049,
0.004051984786987305,
0.004058865070343018,
0.004050546169281006,
0.004050865173339844,
0.004056785106658935,
0.004049584865570068,
0.004161105155944824,
0.004070065021514893,
0.005486700057983398,
0.00597885799407959,
0.006023818016052246,
0.005975818157196045,
0.005950858116149902,
0.00596461820602417,
0.00621485710144043,
0.0059841380119323734,
0.005971979141235351,
0.005939178943634034,
0.005973738193511963,
0.005932298183441162,
0.00611149787902832,
0.006211497783660889,
0.006248937129974365,
0.006369575977325439,
0.006591015815734863,
0.006683656215667725,
0.006713095188140869,
0.006726375102996826,
0.006546376228332519,
0.00648941707611084,
0.0067129359245300295,
0.006536776065826416,
0.0068049349784851075,
0.00670381498336792,
0.006707816123962402,
0.00666669511795044,
0.0066830158233642575,
0.006681095123291016,
0.00668509578704834,
0.006700456142425537,
0.006722215175628662,
0.006694375991821289,
0.006637896060943603,
0.006700135231018066,
0.006704616069793701,
0.006704454898834229,
0.0067193350791931155,
0.006706056118011475,
0.006675175189971924,
0.006793415069580078,
0.0067178959846496585,
0.006698696136474609,
0.006714694976806641,
0.006749575138092041,
0.0067698960304260255,
0.0067698960304260255,
0.0067278151512146,
0.006751174926757812,
0.00670957612991333,
0.00673037576675415,
0.006747815132141113,
0.006706214904785156,
0.006731016159057617,
0.006739335060119629,
0.006739015102386474,
0.006743655204772949,
0.006154697895050049,
0.005996938228607178,
0.005998218059539795,
0.005954058170318604,
0.005963178157806397,
0.005952457904815674,
0.005998377799987793,
0.006390697002410889,
0.006731175899505616,
0.006731174945831299,
0.006755974769592285,
0.006495816230773926,
0.006219657897949218,
0.006235017776489258,
0.006307016849517822,
0.0065476570129394535,
0.006657095909118652,
0.006703495025634765,
0.006795334815979004,
0.006647336006164551,
0.006599016189575195,
0.006152777194976806,
0.0063959770202636716,
0.006295816898345947,
0.006298057079315186,
0.006390697002410889,
0.0067126150131225585,
0.006576136112213134,
0.006577576160430908,
0.006185416221618652
]
},
"throughput": {
"unit": "samples/s",
"value": 158.085436988093
},
"energy": null,
"efficiency": null
}
}
}