From: jeromew Date: Fri, 3 Apr 2026 13:05:14 +0000 (+0200) Subject: docs: Update build.md: HSA_OVERRIDE_GFX_VERSION clarification (#21331) X-Git-Tag: upstream/0.0.8681~27 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=384c0076bcf1df739c3e0b51d6415538b9ad3123;p=pkg%2Fggml%2Fsources%2Fllama.cpp docs: Update build.md: HSA_OVERRIDE_GFX_VERSION clarification (#21331) The `HSA_OVERRIDE_GFX_VERSION` variable can be used in ROCm to override an unsupported target architecture with a similar but supported target architecture. This does not and has never worked on Windows. I think the clarification could avoid driving Windows people towards this solution that does not work. --- diff --git a/docs/build.md b/docs/build.md index ef086ff43..616a838de 100644 --- a/docs/build.md +++ b/docs/build.md @@ -389,7 +389,7 @@ You can download it from your Linux distro's package manager or from here: [ROCm The environment variable [`HIP_VISIBLE_DEVICES`](https://rocm.docs.amd.com/en/latest/understand/gpu_isolation.html#hip-visible-devices) can be used to specify which GPU(s) will be used. -If your GPU is not officially supported you can use the environment variable [`HSA_OVERRIDE_GFX_VERSION`] set to a similar GPU, for example 10.3.0 on RDNA2 (e.g. gfx1030, gfx1031, or gfx1035) or 11.0.0 on RDNA3. +If your GPU is not officially supported you can use the environment variable [`HSA_OVERRIDE_GFX_VERSION`] set to a similar GPU, for example 10.3.0 on RDNA2 (e.g. gfx1030, gfx1031, or gfx1035) or 11.0.0 on RDNA3. Note that [`HSA_OVERRIDE_GFX_VERSION`] is [not supported on Windows](https://github.com/ROCm/ROCm/issues/2654) ### Unified Memory