Skip to content

Conversation

saman-amd
Copy link
Contributor

Adding RDNA4 Support to Linux

@@ -61,11 +61,14 @@
#define GGML_CUDA_CC_RDNA1 (GGML_CUDA_CC_OFFSET_AMD + 0x1010) // RX 5000
#define GGML_CUDA_CC_RDNA2 (GGML_CUDA_CC_OFFSET_AMD + 0x1030) // RX 6000, minimum for dp4a
#define GGML_CUDA_CC_RDNA3 (GGML_CUDA_CC_OFFSET_AMD + 0x1100) // RX 7000, minimum for WMMA
#define GGML_CUDA_CC_RDNA4 (GGML_CUDA_CC_OFFSET_AMD + 0x1200) // RX 9000
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This and the other GGML changes will require a patch. Take a look at https://github.com/ollama/ollama/tree/main/llama#vendoring for instructions.

@saman-amd saman-amd force-pushed the navi4 branch 3 times, most recently from 3c83a16 to 5082d89 Compare March 19, 2025 21:03
@dhiltgen dhiltgen merged commit ead27aa into ollama:main Mar 27, 2025
8 checks passed
dhiltgen added a commit to dhiltgen/ollama that referenced this pull request May 12, 2025
Follow up to ollama#9878

Draft until ROCm 6.4 is GA on windows.
dhiltgen added a commit to dhiltgen/ollama that referenced this pull request May 12, 2025
Follow up to ollama#9878

Draft until ROCm 6.4 is GA on windows.
dhiltgen added a commit to dhiltgen/ollama that referenced this pull request May 12, 2025
Follow up to ollama#9878

Draft until ROCm 6.4 is GA on windows.
halfcrazy pushed a commit to halfcrazy/ollama that referenced this pull request Jun 19, 2025
dhiltgen added a commit to dhiltgen/ollama that referenced this pull request Aug 15, 2025
dhiltgen added a commit to dhiltgen/ollama that referenced this pull request Aug 15, 2025
This updates ROCm on both linux and windows to 6.4.  On linux, 6.3
supported the newer GPUs, but windows at 6.2 did not.  Now that 6.4 is
available, we can update both linux and windows.  This does drop support
for a few older GPUs as a result.

Follow up to ollama#9878
dhiltgen added a commit to dhiltgen/ollama that referenced this pull request Aug 15, 2025
This updates ROCm on both linux and windows to 6.4.  On linux, 6.3
supported the newer GPUs, but windows at 6.2 did not.  Now that 6.4 is
available, we can update both linux and windows.  This does drop support
for a few older GPUs as a result.

Follow up to ollama#9878
dhiltgen added a commit to dhiltgen/ollama that referenced this pull request Aug 15, 2025
This updates ROCm on both linux and windows to 6.4.  On linux, 6.3
supported the newer GPUs, but windows at 6.2 did not.  Now that 6.4 is
available, we can update both linux and windows.  This does drop support
for a few older GPUs as a result.

Follow up to ollama#9878
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants