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

load HHEM on specified device #1235

Merged
merged 3 commits into from
Sep 2, 2024

Conversation

Miaoranmmm
Copy link
Contributor

Allow users to specify the device to load HHEM and add _create_batch to avoid OOM

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Aug 30, 2024
@jjmachan
Copy link
Member

@Miaoranmmm thanks a lot for putting this PR together. was much needed! I made some small style and CI changes so that everything is consistent, could you take a look?

we can merge it in once we get your go 🙂

Copy link
Contributor Author

@Miaoranmmm Miaoranmmm left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks for the changes.

@jjmachan jjmachan merged commit fa864a6 into explodinggradients:main Sep 2, 2024
15 checks passed
@jjmachan
Copy link
Member

jjmachan commented Sep 2, 2024

thanks a lot @Miaoranmmm 🙂
will be out in today's release

@forrestbao
Copy link

@Miaoranmmm can you add the usage examples (for specifying the device) into the documentation? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants