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

Use device_map value when device is unspecified #300

Merged

Conversation

brandonwillard
Copy link
Contributor

Closes #299

@brandonwillard brandonwillard merged commit 34b4530 into outlines-dev:main Sep 29, 2023
5 checks passed
@brandonwillard brandonwillard deleted the device-map-fallback branch September 29, 2023 01:20
@RonanKMcGovern
Copy link

Could the docs be updated to indicate how to load with an auto device_map? I'm loading with outlines.models.transformers and it's loading to cpu by default

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.

transformers.device = None default sneakily overwrites device_map='auto'
2 participants