[ROCm] better AMD CDNA4 and RDNA4 support for VAE#13411
[ROCm] better AMD CDNA4 and RDNA4 support for VAE#13411Apophis3158 wants to merge 1 commit intoComfy-Org:masterfrom
Conversation
📝 WalkthroughWalkthroughThe PR changes AMD-specific logic to depend on 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
b043989 to
693ce0a
Compare
These two improvements has already been tested by ROCm users on Windows and Linux long time ago:
and more. Most feedback is from gfx120x, so it's better to use ComfyUI/comfy/model_management.py Lines 409 to 411 in 1de83f9 |
Better support for AMD latest GPU arches: RDNA4 (gfx1200, gfx1201) and CDNA4 (gfx950), determined based on fp8 support.
Reference:
__hip_fp8_e4m3and__hip_fp8_e5m2supports inHIP C++ type implementation supporttable at AMD data types and precision support