You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] AMD: Unsloth Studio puts model weights in system RAM on Strix Halo (Windows) and shows no VRAM #7449
When loading models and running inference tasks in Unsloth Studio with local models, Unsloth Studio uses my system RAM instead of VRAM. Strangely, the GPU's compute does show use in task manager during inference tasks, but its VRAM is not used. In Unsloth Studio's settings, it does recognize my machine's GPU, but it does not recognize the VRAM free or used. I have only seen this in inference/running local agents with Unsloth Studio, as I have not attempted training/fine-tuning yet. For reference, I have a new AMD Strix Halo machine (GMKtec EVO X-2 with 128 GB unified memory) and a fresh install of Unsloth Studio, so Unsloth should be up to date. This issue persists on Windows 11.
I also get the following error when I launch Unsloth Studio (though the program still runs), and I think this might be linked with the GPU/VRAM issue:
This might be related to this problem or be a separate issue, but models loaded in Unsloth Studio take up much more system RAM than they should. I loaded the Qwen-AgentWorld-35B-A3B-GGUF model, and Unsloth Studio says the 8-bit quantization (UD-Q8_K_XL) takes up 38 GB. However, running this model on Unsloth Studio also takes up way more than 38 GB (>42 GB of system RAM on llamaserver on Task Manager, but >70 GB RAM difference vs before loading the model in). Even the 4-bit quantization (UD-Q4_K_XL) takes up ~48 GB when loaded, even though Unsloth Studio says the size is 22 GB.
This isn't just an issue with the Qwen models either. The medgemma-1.5-4b-it-GGUF model is supposed to take up to 7.8 GB, but system RAM usage is closer to 16 GB when loaded in Unsloth Studio.
Separately, Ollama does not have this problem, and VRAM usage is closer to the models' expected sizes (around 29 GB usage for Qwen 3.6 35B).
Hi, I would like to work on this issue if it is still available. I have been working with AI and ML projects and I think I can contribute here. I will look into it and open a PR when ready.
hi @szigmond#8863 merged recently and fixes the display side of this issue for the vram monitor, if you are still having issues with it not using the GPU please share what you experience now after updating, hopefully this is fixed.
Only the VRAM readout was corrected: Studio still sets GGML_CUDA_ENABLE_UNIFIED_MEMORY=1 on a gfx1151 part, which is what places weights in system RAM, and the Triton hip_utils.c build failure is unhandled.
Following up on Daniel's split, with what has landed since.
The training crash is Triton compiling hip_utils.c with the ROCm wheel's clang-cl and finding no Windows SDK or MSVC headers. That needs Visual Studio Build Tools with the C++ workload on the machine; #7704 in v0.1.806 now detects the gap at startup and prints the install command instead of dying mid-run, but the kernels still need the toolchain, so please install it before retrying training:
The weights landing in system RAM is the GGML_CUDA_ENABLE_UNIFIED_MEMORY default Daniel named. #9884 (also .806) now sets it only when host RAM is the larger pool, and on Windows that comparison is expected to leave it off, but nobody has run it on a Windows Strix Halo yet. The VRAM readout got two fixes on top of #8863: #9314 (.803) reads the total from the driver rather than the carve-out.
@szigmond could you update to .806 and say whether the weights still land in system RAM, what the System tab shows for VRAM total and used, and how much memory your BIOS gives the GPU? Those three answer what's left here.
changed the title [-][Bug] Unsloth Studio recognizes my GPU and uses it, but does not recognize VRAM and instead uses system RAM for inference[/-][+][Bug] AMD: Unsloth Studio puts model weights in system RAM on Strix Halo (Windows) and shows no VRAM[/+]on Sep 25, 2026
Closing this since all three parts have fixes on main: the VRAM readout (#8863, #9314), the weights landing in system RAM (#9884 and #10351, and since #10381 AMD integrated GPUs run on the Vulkan llama.cpp build), and the training crash, where Unsloth Studio now tells you at startup to install the Build Tools (#7704). @szigmond if the weights still end up in system RAM on the latest version, reopen and include what the System tab shows for VRAM, and we'll pick it back up.
Activity
szigmond commentedon Jul 26, 2026
This might be related to this problem or be a separate issue, but models loaded in Unsloth Studio take up much more system RAM than they should. I loaded the Qwen-AgentWorld-35B-A3B-GGUF model, and Unsloth Studio says the 8-bit quantization (UD-Q8_K_XL) takes up 38 GB. However, running this model on Unsloth Studio also takes up way more than 38 GB (>42 GB of system RAM on llamaserver on Task Manager, but >70 GB RAM difference vs before loading the model in). Even the 4-bit quantization (UD-Q4_K_XL) takes up ~48 GB when loaded, even though Unsloth Studio says the size is 22 GB.
This isn't just an issue with the Qwen models either. The medgemma-1.5-4b-it-GGUF model is supposed to take up to 7.8 GB, but system RAM usage is closer to 16 GB when loaded in Unsloth Studio.
Separately, Ollama does not have this problem, and VRAM usage is closer to the models' expected sizes (around 29 GB usage for Qwen 3.6 35B).
szigmond commentedon Jul 26, 2026
Training/fine-tuning models on Unsloth Studio doesn't work either. The following error is thrown when training is attempted:
Command '['C:\Users\Stephen Zigmond\.unsloth\studio\unsloth_studio\Lib\site-packages\_rocm_sdk_core\lib\llvm\bin\clang-cl.exe', '\\?\C:\Users\STEPHE
1\AppData\Local\Temp\tmp491zu2dg\hip_utils.c', '/nologo', '/O2', '/LD', '/wd4819', '/std:c11', '/IC:\Users\Stephen Zigmond\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\backends\amd\include', '/I\\?\C:\Users\STEPHE1\AppData\Local\Temp\tmp491zu2dg', '/IC:\Users\Stephen Zigmond\AppData\Local\Programs\Python\Python312\Include', '/Fo\\?\C:\Users\STEPHE1\AppData\Local\Temp\tmp491zu2dg\hip_utils.cp312-win_amd64.obj', '/link', '/LIBPATH:C:\Users\Stephen Zigmond\AppData\Local\Programs\Python\Python312\libs', 'python312.lib', '/OUT:\\?\C:\Users\STEPHE1\AppData\Local\Temp\tmp491zu2dg\hip_utils.cp312-win_amd64.pyd', '/IMPLIB:\\?\C:\Users\STEPHE1\AppData\Local\Temp\tmp491zu2dg\hip_utils.cp312-win_amd64.lib', '/PDB:\\?\C:\Users\STEPHE1\AppData\Local\Temp\tmp491zu2dg\hip_utils.cp312-win_amd64.pdb']' returned non-zero exit status 1.eslam-ahmed43 commentedon Jul 26, 2026
Hi, I would like to work on this issue if it is still available. I have been working with AI and ML projects and I think I can contribute here. I will look into it and open a PR when ready.
blakgum commentedon Aug 7, 2026
Seeing this as well, but I'm not getting the error in the logs
Studio: take the AMD APU total on Windows from the driver, not the ca…
Studio: take the AMD APU total on Windows from the driver, not the ca…
LeoBorcherding commentedon Aug 25, 2026
hi @szigmond #8863 merged recently and fixes the display side of this issue for the vram monitor, if you are still having issues with it not using the GPU please share what you experience now after updating, hopefully this is fixed.
danielhanchen commentedon Aug 28, 2026
Only the VRAM readout was corrected: Studio still sets
GGML_CUDA_ENABLE_UNIFIED_MEMORY=1on a gfx1151 part, which is what places weights in system RAM, and the Tritonhip_utils.cbuild failure is unhandled.LeoBorcherding commentedon Sep 2, 2026
Following up on Daniel's split, with what has landed since.
The training crash is Triton compiling
hip_utils.cwith the ROCm wheel's clang-cl and finding no Windows SDK or MSVC headers. That needs Visual Studio Build Tools with the C++ workload on the machine; #7704 in v0.1.806 now detects the gap at startup and prints the install command instead of dying mid-run, but the kernels still need the toolchain, so please install it before retrying training:The weights landing in system RAM is the
GGML_CUDA_ENABLE_UNIFIED_MEMORYdefault Daniel named. #9884 (also .806) now sets it only when host RAM is the larger pool, and on Windows that comparison is expected to leave it off, but nobody has run it on a Windows Strix Halo yet. The VRAM readout got two fixes on top of #8863: #9314 (.803) reads the total from the driver rather than the carve-out.@szigmond could you update to .806 and say whether the weights still land in system RAM, what the System tab shows for VRAM total and used, and how much memory your BIOS gives the GPU? Those three answer what's left here.
[-][Bug] Unsloth Studio recognizes my GPU and uses it, but does not recognize VRAM and instead uses system RAM for inference[/-][+][Bug] AMD: Unsloth Studio puts model weights in system RAM on Strix Halo (Windows) and shows no VRAM[/+]LeoBorcherding commentedon Oct 10, 2026
Closing this since all three parts have fixes on main: the VRAM readout (#8863, #9314), the weights landing in system RAM (#9884 and #10351, and since #10381 AMD integrated GPUs run on the Vulkan llama.cpp build), and the training crash, where Unsloth Studio now tells you at startup to install the Build Tools (#7704). @szigmond if the weights still end up in system RAM on the latest version, reopen and include what the System tab shows for VRAM, and we'll pick it back up.