Skip to content

Automatically picks CPU forever :( #5807

Closed

Description

@mithulaartigala

When I finetune a model from the unsloth studio GUI or do something similar (usually this hapens randomly) when I restart my PC unsloth automatically picks my CPU and does NOT use GPU acceleration at ALL!

steps to reproduce:

  • train a model with QLoRA or LoRA
  • or just randomly work in unsloth and restart your computer.

hardware:

  • r7 9700x
  • RTX 5070 12GB
  • 32GB 6000 MT/S

Platform:

  • Windows 11
  • native (powershell)

Activity

  1. Imagineer99 commented on May 27, 2026

    @Imagineer99
    Member

    Hey just to clarify, is it that the GPU worked previously, and that unexpectedly it starts to use CPU only after restart/training?

  2. mithulaartigala commented on May 27, 2026

    @mithulaartigala
    Author

    Hey just to clarify, is it that the GPU worked previously, and that unexpectedly it starts to use CPU only after restart/training?

    yes! the first time I installed unsloth before the preview update (the one before hte current one) it was stable. now after restartin gmy computer it falsl back to CPU. after I clear my HF cache and unsloth I can free up about ~500GB (which is very suspicous)

    ahh also forgot to mention, why is unsloth taking so much storage? I mean... i dont really care, but I am curious to knwo why! is it liek partof the effects of making the models faster?
    the caches are sky high.

    other than that, there is no issue!

  3. mithulaartigala commented on May 29, 2026

    @mithulaartigala
    Author

    update: what the actual F is going on bro. whatever i do it always starts using my damn CPU instead of my 5070.

    Image

    heres proof. same with ALL thje models.

  4. added a commit that references this issue on May 29, 2026
  5. mithulaartigala commented on May 30, 2026

    @mithulaartigala
    Author

    Update: I figured out the reason, since you have fixed it, it is fine, but i just wanna let you know that unsloth keeps using ollama's llama.cpp

    (I am on the latest version as of now)

  6. danielhanchen commented on Sep 9, 2026

    @danielhanchen
    Member

    Fixed, and thanks for confirming in the thread! Studio picks the CUDA backend when it sees an NVIDIA GPU and resolves the managed llama-server before anything on PATH, so a CPU only binary from another install can't win anymore.

    To update: the desktop app updates itself (Settings > General), otherwise unsloth studio update, or in Docker docker exec <container> unsloth-studio-update.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions