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: DiffusionGemma 26B-A4B exhibits Initialization Memory Saturation / Leak in Unsloth Studio #6456
I am encountering a major memory management failure when attempting to load the diffusiongemma 26b a4b model within the Unsloth Studio interface.
This behavior strongly suggests a huge critical memory leak or an excessive allocation of internal structures during the initialization of the diffusion pipeline.
Environment:
Unsloth Studio Version: v0.1.47-beta
Package Version: 2026.6.8
Llama.cpp vesion: b9692-mix-2d6bd50
Operating System: Windows 11 pro
Hardware: RTX 4060, 32Gb (2x16) RAM, Ryzen 5 7600
Affected Model: diffusiongemma-26B-A4B-it-Q4_K_M.gguf
Steps to Reproduce (The bug pathway):
Open Unsloth Studio.
Load specifically the diffusiongemma-26B-A4B-it-Q4_K_M.gguf model.
Observation: Using Task manager, the RAM and VRAM progressively reach 100% capacity.
Current Behavior (What is happening):
RAM jumps from Windows Baseline to 32GB/32GB.
The loading process takes an excessively long time and results in a memory saturation signal.
The system utilize NVMe swap, ending up filling the swap system at 128go/128go.
Expected Behavior (What should happen):
The model should utilize a memory footprint consistent with its size (approx. 18GB, as per the documentation), while leaving sufficient headroom for the OS and background tasks.
Comparison Note (Proof of specificity): I have tested the non-diffusion model (standard gemma-4-26B-A4B-it-UD-Q4_K_M.gguf). For an identical content length (4k), this model loads and executes without memory saturation leaving at least 10go free, proving that the defect is specifically tied to the diffusion model.
Thank you in advance for your help in resolving this critical issue!
Fixed! Sorry on the delay. In Auto mode Studio put every layer of DiffusionGemma on the GPU, so on an 8 GB card the 26B-A4B Q4_K_M overflowed into shared system memory on Windows and filled your RAM and page file. Studio now keeps only the layers that fit on the GPU and runs the rest on the CPU, fixed in #13312.
To update: Unsloth Desktop will have an update banner. For Studio, use unsloth studio update. For Docker, use docker exec <container> unsloth-studio-update. Reopen if it still happens.
Activity
Naw3 commentedon Jul 11, 2026
Still not working on latest version.
danielhanchen commentedon Oct 12, 2026
Fixed! Sorry on the delay. In Auto mode Studio put every layer of DiffusionGemma on the GPU, so on an 8 GB card the 26B-A4B Q4_K_M overflowed into shared system memory on Windows and filled your RAM and page file. Studio now keeps only the layers that fit on the GPU and runs the rest on the CPU, fixed in #13312.
To update: Unsloth Desktop will have an update banner. For Studio, use
unsloth studio update. For Docker, usedocker exec <container> unsloth-studio-update. Reopen if it still happens.