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

Make sure that indices are available on all relevant devices #328

Merged

Conversation

brandonwillard
Copy link
Contributor

This PR transfers all is-sequence-finished indices to the relevant devices during token generation.

@namin
Copy link

namin commented Oct 29, 2023

👍
I confirm that this PR fixes my issue with running a BitsAndBytes-configured model on a multi-GPU system.

@brandonwillard brandonwillard merged commit c3421aa into outlines-dev:main Oct 29, 2023
5 checks passed
@brandonwillard brandonwillard deleted the transfer-indices-to-devices branch October 29, 2023 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants