rocm
/
cuda_inference_transformers_image-classification_google
/vit-base-patch16-224
/benchmark.json
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
9cca241
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.0.dev20231010+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": 946.384896, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 45235.003392, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.01548828125, | |
"mean": 8.01548828125, | |
"stdev": 0.0, | |
"p50": 8.01548828125, | |
"p90": 8.01548828125, | |
"p95": 8.01548828125, | |
"p99": 8.01548828125, | |
"values": [ | |
8.01548828125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1118.203904, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 178683.252736, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 158, | |
"total": 0.9979245889186855, | |
"mean": 0.006315978410877758, | |
"stdev": 0.0011563377210859983, | |
"p50": 0.006169103145599365, | |
"p90": 0.006692236995697021, | |
"p95": 0.006734436821937561, | |
"p99": 0.0102152690601349, | |
"values": [ | |
0.00679870080947876, | |
0.006749260902404785, | |
0.0063863821029663086, | |
0.0061623830795288085, | |
0.011157089233398438, | |
0.0065270218849182125, | |
0.006285421848297119, | |
0.0065527820587158205, | |
0.006218061923980713, | |
0.006215182781219483, | |
0.006216463088989258, | |
0.006167663097381592, | |
0.006130383014678955, | |
0.00611918306350708, | |
0.006088782787322998, | |
0.00611262321472168, | |
0.0060271830558776855, | |
0.006030862808227539, | |
0.006013742923736572, | |
0.006035823822021485, | |
0.006064623832702637, | |
0.006025103092193604, | |
0.006094223022460938, | |
0.006095023155212403, | |
0.006063663005828858, | |
0.006044302940368652, | |
0.006006543159484863, | |
0.006011982917785644, | |
0.006026863098144531, | |
0.006054543972015381, | |
0.0060300641059875485, | |
0.006069262981414795, | |
0.006073583126068116, | |
0.006115182876586914, | |
0.006066702842712403, | |
0.009504773139953614, | |
0.006170702934265137, | |
0.006371982097625732, | |
0.006508942127227783, | |
0.00631646203994751, | |
0.0061979031562805174, | |
0.006345742225646973, | |
0.006657260894775391, | |
0.006644621849060058, | |
0.006638381004333496, | |
0.006671502113342285, | |
0.006749900817871093, | |
0.006657580852508545, | |
0.006738380908966064, | |
0.006723822116851807, | |
0.0066617422103881834, | |
0.0067087807655334475, | |
0.00673374080657959, | |
0.006659982204437256, | |
0.0065031819343566895, | |
0.006192781925201416, | |
0.006300622940063476, | |
0.006236941814422608, | |
0.00618254280090332, | |
0.006350222110748291, | |
0.0059759840965271, | |
0.006013904094696045, | |
0.006148462772369385, | |
0.005994543075561524, | |
0.006596621036529541, | |
0.006704782009124756, | |
0.006393422126770019, | |
0.006237582206726074, | |
0.006074863910675049, | |
0.006073103904724121, | |
0.0060415840148925785, | |
0.006111342906951905, | |
0.005967184066772461, | |
0.018187307357788087, | |
0.0039873490333557126, | |
0.003996309041976929, | |
0.003981909036636352, | |
0.003987828969955445, | |
0.005147346019744873, | |
0.005983182907104492, | |
0.005930062770843506, | |
0.005973904132843017, | |
0.005912783145904541, | |
0.006351821899414063, | |
0.006255823135375977, | |
0.006217903137207032, | |
0.006701420783996582, | |
0.006655500888824463, | |
0.00672142219543457, | |
0.006109743118286133, | |
0.006103503227233887, | |
0.005940624237060547, | |
0.0059721431732177735, | |
0.005934544086456299, | |
0.005958064079284668, | |
0.005939823150634765, | |
0.005945903778076172, | |
0.005937102794647217, | |
0.005957903861999511, | |
0.005916944026947021, | |
0.005934543132781982, | |
0.0059279842376708984, | |
0.00591998291015625, | |
0.005892623901367187, | |
0.006170543193817138, | |
0.006248302936553955, | |
0.006267342090606689, | |
0.006278862953186035, | |
0.0058798232078552245, | |
0.0058646240234375, | |
0.006252462863922119, | |
0.00618846321105957, | |
0.006301423072814941, | |
0.006094862937927246, | |
0.005852303028106689, | |
0.005911824226379395, | |
0.005863022804260254, | |
0.005855343818664551, | |
0.005849743843078613, | |
0.005898542881011963, | |
0.005897103786468506, | |
0.005909102916717529, | |
0.006136622905731201, | |
0.005931824207305908, | |
0.005923183917999267, | |
0.005946543216705322, | |
0.005934063911437988, | |
0.005939503192901611, | |
0.006413742065429688, | |
0.006722702026367188, | |
0.006646542072296142, | |
0.006636781215667725, | |
0.006650221824645996, | |
0.00647918176651001, | |
0.006661740779876709, | |
0.006720941066741943, | |
0.006673101902008057, | |
0.006364942073822022, | |
0.00623054313659668, | |
0.006685741901397705, | |
0.006688301086425781, | |
0.006674382209777832, | |
0.006642221927642822, | |
0.006634541034698486, | |
0.006671502113342285, | |
0.006639501094818115, | |
0.006751340866088867, | |
0.006671341896057129, | |
0.006655500888824463, | |
0.006623501777648926, | |
0.0066641421318054195, | |
0.006663980960845947, | |
0.006489582061767578, | |
0.006287982940673828, | |
0.006125263214111328, | |
0.005916782855987549, | |
0.0059420628547668455, | |
0.00591918420791626 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 158.32859692454613 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |