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
4d62590
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_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": 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": "error", | |
"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.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1386.795008, | |
"max_global_vram": 11.296768, | |
"max_process_vram": 0.0, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.07925146484375, | |
"mean": 8.07925146484375, | |
"stdev": 0.0, | |
"p50": 8.07925146484375, | |
"p90": 8.07925146484375, | |
"p95": 8.07925146484375, | |
"p99": 8.07925146484375, | |
"values": [ | |
8.07925146484375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1557.454848, | |
"max_global_vram": 11.07968, | |
"max_process_vram": 0.0, | |
"max_reserved": 406.847488, | |
"max_allocated": 354.740224 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 174, | |
"total": 0.993310534000397, | |
"mean": 0.005708681229887338, | |
"stdev": 0.00018828365927056216, | |
"p50": 0.005637739419937134, | |
"p90": 0.005938458967208862, | |
"p95": 0.006043226957321166, | |
"p99": 0.006347983269691468, | |
"values": [ | |
0.006028779029846191, | |
0.0061401381492614746, | |
0.005962217807769775, | |
0.005879979133605957, | |
0.005953098773956299, | |
0.005999338150024414, | |
0.005986699104309082, | |
0.005981418132781982, | |
0.005924458980560303, | |
0.005907818794250488, | |
0.005944458961486816, | |
0.005913259029388428, | |
0.005838539123535156, | |
0.005814699172973633, | |
0.005784459114074707, | |
0.005855978965759278, | |
0.0057998189926147465, | |
0.005774059772491455, | |
0.005761419773101807, | |
0.0057618989944458006, | |
0.005993898868560791, | |
0.005906379222869873, | |
0.006070058822631836, | |
0.0058830189704895015, | |
0.005852138996124268, | |
0.005698860168457031, | |
0.005904619216918945, | |
0.0057158198356628415, | |
0.005722538948059082, | |
0.005662380218505859, | |
0.005674379825592041, | |
0.005673418998718262, | |
0.005658860206604004, | |
0.005686539173126221, | |
0.005669899940490723, | |
0.006847335815429688, | |
0.005612780094146728, | |
0.005545420169830322, | |
0.005583020210266113, | |
0.0057298998832702635, | |
0.005571020126342773, | |
0.0056228599548339845, | |
0.005631340026855469, | |
0.005639979839324951, | |
0.0056009402275085446, | |
0.005592140197753906, | |
0.0056107001304626465, | |
0.005576780796051025, | |
0.005668779850006103, | |
0.0056350197792053225, | |
0.005645740032196045, | |
0.0056218991279602054, | |
0.005627339839935303, | |
0.0056247801780700685, | |
0.005651500225067139, | |
0.005649098873138428, | |
0.005640460014343262, | |
0.005647500038146972, | |
0.005661738872528076, | |
0.005607339859008789, | |
0.005643499851226807, | |
0.005605579853057862, | |
0.005609739780426026, | |
0.005620139122009277, | |
0.005599979877471924, | |
0.005640940189361572, | |
0.0055799798965454105, | |
0.0056033401489257815, | |
0.005620299816131592, | |
0.005621579170227051, | |
0.00563293981552124, | |
0.00562253999710083, | |
0.005623499870300293, | |
0.005632299900054932, | |
0.005646860122680664, | |
0.00564654016494751, | |
0.005651340007781982, | |
0.005847339153289795, | |
0.005686378955841064, | |
0.005660459995269775, | |
0.005635660171508789, | |
0.005636459827423096, | |
0.005629580020904541, | |
0.005643660068511963, | |
0.005657739162445068, | |
0.005623819828033447, | |
0.005598060131072998, | |
0.0056180601119995115, | |
0.005862059116363526, | |
0.005625420093536377, | |
0.005637898921966553, | |
0.005655499935150146, | |
0.005620619773864746, | |
0.005628300189971924, | |
0.005645898818969727, | |
0.005622379779815674, | |
0.005636300086975098, | |
0.005606699943542481, | |
0.005615819931030273, | |
0.005623340129852295, | |
0.005657100200653077, | |
0.005631820201873779, | |
0.005650699138641357, | |
0.0056339001655578615, | |
0.005621739864349365, | |
0.005632299900054932, | |
0.005611979961395263, | |
0.0056198201179504395, | |
0.005652460098266601, | |
0.005626540184020996, | |
0.005593100070953369, | |
0.005637898921966553, | |
0.005645740032196045, | |
0.0056427001953125, | |
0.005651500225067139, | |
0.0056350197792053225, | |
0.005652460098266601, | |
0.005614220142364502, | |
0.005660620212554932, | |
0.005630859851837158, | |
0.0056375799179077144, | |
0.005605579853057862, | |
0.005679658889770508, | |
0.005643179893493652, | |
0.0056479802131652835, | |
0.005607820034027099, | |
0.0056020598411560055, | |
0.005636620044708252, | |
0.005654220104217529, | |
0.005626699924468994, | |
0.005619659900665284, | |
0.005562701225280762, | |
0.00556446123123169, | |
0.005568621158599854, | |
0.00553614091873169, | |
0.00555709981918335, | |
0.005540140151977539, | |
0.005538859844207764, | |
0.005571979999542237, | |
0.005564620018005371, | |
0.005568299770355225, | |
0.005572140216827393, | |
0.005562059879302979, | |
0.005520939826965332, | |
0.005571499824523925, | |
0.005620140075683594, | |
0.005625100135803223, | |
0.005641739845275879, | |
0.005634220123291016, | |
0.005602859973907471, | |
0.005640140056610107, | |
0.005576620101928711, | |
0.005647339820861816, | |
0.005610859870910644, | |
0.005628139972686768, | |
0.005621580123901368, | |
0.005589419841766357, | |
0.005624939918518066, | |
0.005584780216217041, | |
0.005618539810180664, | |
0.005620940208435059, | |
0.005593420028686524, | |
0.005764139175415039, | |
0.0063177371025085445, | |
0.0063414168357849125, | |
0.006293578147888184, | |
0.0063030171394348146, | |
0.006303177833557129, | |
0.006365736961364746, | |
0.005961897850036621, | |
0.005873418807983398, | |
0.005890219211578369, | |
0.0057863788604736325, | |
0.005916618824005127 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 175.17180583925077 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |