From 6aa5c08fb0e4c4ff956f44594fae7094daebc621 Mon Sep 17 00:00:00 2001 From: Disty0 Date: Wed, 11 Jun 2025 16:03:33 +0300 Subject: [PATCH] Cleanup and update changelog --- CHANGELOG.md | 2 +- modules/rocm.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7dcd87c17..1bbde29b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ - **ROCm** - Support ROCm 6.4 with `---use-nightly` - Don't override user set gfx version - - Don't override gfx version with RX 9000 + - Don't override gfx version with RX 9000 and gfx1101 - Fix flash-atten repo - **SDNQ Quantization** diff --git a/modules/rocm.py b/modules/rocm.py index 262c15620..1a21b2f6e 100644 --- a/modules/rocm.py +++ b/modules/rocm.py @@ -81,13 +81,13 @@ class Agent: self.blaslt_supported = os.path.exists(os.path.join(blaslt_tensile_libpath, f"Kernels.so-000-{name}.hsaco" if sys.platform == "win32" else f"extop_{name}.co")) def get_gfx_version(self) -> Union[str, None]: - if self.gfx_version >= 0x1102 and self.gfx_version < 0x1200: - return "11.0.0" - elif self.gfx_version == 0x1101: + if self.gfx_version == 0x1101: if version is None or float(version) < 6.4: return "11.0.0" # gfx1101 requires rocm 6.4.1 else: return None + elif self.gfx_version >= 0x1102 and self.gfx_version < 0x1200: + return "11.0.0" elif self.gfx_version >= 0x1000 and self.gfx_version < 0x1100: # gfx1010 users had to override gfx version to 10.3.0 in Linux # it is unknown whether overriding is needed in ZLUDA