Skip to content

[Studio] DiffusionGemma GGUF does not appear to use Tensor Parallelism on dual GPUs #6319

Closed

Description

@Bottoman
  1. Did you update? pip install --upgrade unsloth unsloth_zoo

Yes.

  1. Colab or Kaggle or local / cloud

Local Windows machine.

  1. Number GPUs used, use nvidia-smi

2x RTX 5090 (64 GB total VRAM)

  1. Which notebook? Please link!

Unsloth Studio (DiffusionGemma support added in June 2026)

  1. Which Unsloth version, TRL version, transformers version, PyTorch version?

Unsloth Studio: v0.1.464-beta

TRL: Not training

Transformers: 4.54.1

PyTorch: 2.11.0+cu128

  1. Which trainer? SFTTrainer, GRPOTrainer etc

Not training. Using Unsloth Studio inference.

Put Minimal code to reproduce error here:
No minimal Python reproduction available because this occurs in Unsloth Studio UI inference, not in a notebook/training script.

Reproduction steps:
 1. Start Unsloth Studio on a local Windows machine with multiple gpus
 2. Enable Tensor Parallelism in Studio.
 3. Load DiffusionGemma 26B-A4B BF16 GGUF.
 4. Observe GPU memory/utilization with nvidia-smi.
 5. GPU0 receives most of the load while GPU1 remains mostly idle.
 6. Performance appears consistent with CPU/system RAM offload rather than tensor parallel sharding.

 Control:
 - The same DiffusionGemma BF16 GGUF uses both GPUs successfully with llama.cpp DiffusionGemma
-  llama-diffusion-cli.exe -m <model.gguf> -ngl all -sm layer -ts 1,1 -n 512 -p "Explain diffusion language models in one paragraph."
- Other models are able to be loaded with multi gpus without issue.

🦥 You can also ask via our Reddit page: https://reddit.com/r/unsloth/

Activity

  1. danielhanchen commented on Oct 12, 2026

    @danielhanchen
    Member

    Fixed! Sorry on the delay. Studio always ran DiffusionGemma on a single GPU, so a GGUF too big for one card (like BF16 on 2x RTX 5090) overflowed it or fell back to CPU layers, and the Tensor Parallelism toggle could not reach that runner. It now splits the model's layers across your GPUs when it does not fit one: the Studio side is in #13291 and the runner fix is in unslothai/llama.cpp#262, which ships in the next llama.cpp prebuilt release.
    To update: Unsloth Desktop will have an update banner. For Studio, use unsloth studio update. For Docker, use docker exec <container> unsloth-studio-update and docker exec <container> unsloth-llama-update. Reopen if it still happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions