Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] no hard coding cuda as bnb has multi-backend support #35867

Merged
merged 4 commits into from
Feb 5, 2025

Conversation

faaany
Copy link
Contributor

@faaany faaany commented Jan 24, 2025

What does this PR do?

This PR further improves the docs using device-agnostic API instead of hard-coded cuda.

Documentation: @stevhliu

Copy link
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

faaany and others added 2 commits February 5, 2025 09:28
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
@faaany
Copy link
Contributor Author

faaany commented Feb 5, 2025

Thanks for the fix! Code updated.

@stevhliu stevhliu merged commit 0a1a8e3 into huggingface:main Feb 5, 2025
8 checks passed
@faaany faaany deleted the doc-fix branch February 7, 2025 02:33
MekkCyber pushed a commit that referenced this pull request Feb 7, 2025
* change cuda to DEVICE

* Update docs/source/en/llm_tutorial.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

---------

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
elvircrn pushed a commit to elvircrn/transformers that referenced this pull request Feb 13, 2025
…ace#35867)

* change cuda to DEVICE

* Update docs/source/en/llm_tutorial.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

---------

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
sbucaille pushed a commit to sbucaille/transformers that referenced this pull request Feb 16, 2025
…ace#35867)

* change cuda to DEVICE

* Update docs/source/en/llm_tutorial.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

---------

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants