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

[from_single_file] pass torch_dtype to set_module_tensor_to_device #6994

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

yiyixuxu
Copy link
Collaborator

fix #4894

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@yiyixuxu yiyixuxu requested review from DN6 and sayakpaul February 16, 2024 16:59
Copy link
Collaborator

@DN6 DN6 left a comment

Choose a reason for hiding this comment

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

Nice 👍🏽

@sayakpaul sayakpaul merged commit 779eef9 into main Feb 19, 2024
15 checks passed
@sayakpaul sayakpaul deleted the fix-from-single-dtype branch February 19, 2024 04:39
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.

"from_single_file" consumes a lot of CPU RAM and cannot be allocated to GPU/CUDA.
4 participants