-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
Improve HF device handling #359
Conversation
…ice for models using AutoModelForCausalLM.
I do think it's a good idea to test with |
I'll do that in a follow-up PR as I want this to be included in the upcoming v0.6.3 release (release today or tomorrow). |
There's no documentation update necessary after this? |
I wouldn't think so - this is part bugfix and part the ability to process |
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
Description
Improve HF device handling:
Context/motivation: #324 (reply in thread), #324. This PR should help with both.
Corresponding documentation PR
-
Types of change
Checklist
tests
andusage_examples/tests
, and all new and existing tests passed. This includespytest
ran with--external
)pytest
ran with--gpu
)