Skip to content

Multigpu #36

Closed as duplicate
Closed as duplicate

Description

@drewskidang

Is there multigpu support ? Don't know how to set up without running a script

Activity

  1. danielhanchen commented on Dec 15, 2023

    @danielhanchen
    Member

    @drewskidang The open source one currently doesn't support multi GPU - we're working on it for a future release - you can still install Unsloth, but internally we'll defualt to using 1 GPU.

  2. vgoklani commented on Dec 19, 2023

    @vgoklani

    @danielhanchen What happens if we train via DDP using your LoRA implementation (with custom triton back-prop). The gradients are computed independently on each device and then synchronized. Does that work correctly here using the open-source implementation. FSDP is obviously more complex, is that part of the additional tiers Pro/Max? thanks!

  3. danielhanchen commented on Dec 19, 2023

    @danielhanchen
    Member

    @vgoklani Hey! We're working on adding DDP support in a later release!

  4. debashis1983 commented on May 1, 2024

    @debashis1983

    any updates on the multi gpu training plz.

  5. debashis1983 commented on May 1, 2024

    @debashis1983

    we are in the process of evaluating libraries for LLM pre training(domain adaptation)/fine tuning...so if you can provide us any update on mult gpu it will be of great help.

  6. danielhanchen commented on May 4, 2024

    @danielhanchen
    Member

    Sorry its been absolutely hectic recently, and unfortunately it's a 2 person team (my brother and I), so I really can't work on everything all at once - please be patient! I would suggest temporarily to simply use HuggingFace itself without Unsloth for multi GPU in the meantime

  7. juanestebantauticolombia commented on Oct 2, 2024

    @juanestebantauticolombia

    Hi, is there any update on the feature of adding multiple gpu's for unsloth training?

  8. danielhanchen commented on Oct 9, 2024

    @danielhanchen
    Member

    @juanestebantauticolombia Apologies on the delay! Yes we're working on releasing it soon - we completed a community test, so hopefully we can provide it to the community!

  9. added
    on roadmap
    feature request
    on Oct 9, 2024
  10. juanestebantauticolombia commented on Oct 10, 2024

    @juanestebantauticolombia

    @juanestebantauticolombia Apologies on the delay! Yes we're working on releasing it soon - we completed a community test, so hopefully we can provide it to the community!

    Super, that's great news, and do you have a tentative date?

  11. BenBatsir commented on Oct 22, 2024

    @BenBatsir

    Any updates on this one?

  12. zhangmozhe commented on Jan 9, 2025

    @zhangmozhe

    Any update on this?

  13. steveepreston commented on Jan 12, 2025

    @steveepreston

    Installed nightly version via git, still saying:

    Warning

    Unsloth currently does not support multi GPU setups - but we are working on it!
    Multiple CUDA devices detected but we require a single device.
    We will override CUDA_VISIBLE_DEVICES to first device: 0.

    so sad

  14. zhangmozhe commented on Jan 13, 2025

    @zhangmozhe

    Multi-GPU support is a crucial feature, and many open-source LLM framework Nemo, accelerate, collossal AI put a lot of optimization on it. Hope Slot can support multi-gpu training soon.

  15. JackCai1206 commented on Feb 23, 2025

    @JackCai1206

    +1

  16. AvivSham commented on May 5, 2025

    @AvivSham

    @danielhanchen any updates on this one?

  17. Ghani-25 commented on May 6, 2025

    @Ghani-25

    +1

  18. steveepreston commented on May 9, 2025

    @steveepreston

    not yet :(

  19. rolandtannous commented on Jun 6, 2025

    @rolandtannous
    Contributor

    @AvivSham @BenBatsir @Ghani-25 @JackCai1206 @Lissanro @NeonBohdan @Reichenbachian @binarrii @bks5881 @debashis1983 @drewskidang @ghsama @jday314 @jday96314 @juanestebantauticolombia @jun-zeng @kldzj @little1d @matbee-eth @noahclements @steveepreston @thiagoribeiro81 @user-0a @vgoklani @vimmoos @zhangmozhe

    We're working on it. Should be released soon.
    meanwhile have you tried accelerate?

    merging this thread with #2435
    Feel free to leave your comments and follow up questions there

    thank you!

  20. added a commit that references this issue on Jun 8, 2025
  21. added a commit that references this issue on Jun 25, 2025
  22. added a commit that references this issue on Jul 7, 2025
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

    currently fixingfeature requeston roadmap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions