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

Add mark step before computing model hash #328

Closed
wants to merge 7 commits into from

Conversation

michaelbenayoun
Copy link
Member

This PR adds a xm.mark_step() right before moving the model weighs to the CPU following @aws-rhsoln suggestion in #301 .

@aws-rhsoln since we do not do any forward pass prior to that, is this xm.mark_step() going to do anything? At this point no graph was recorded.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@HuggingFaceDocBuilderDev

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Thank you!

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.

2 participants