Skip to content

Conversation

@yao-matrix
Copy link
Contributor

From PyTorch 2.5.0, we don't need platform-dependent OutOfMemoryError API, there is a unified one torch.OutOfMemoryError.

@yao-matrix
Copy link
Contributor Author

@SunMarc @muellerzr , pls help review, thx.

Copy link
Member

@SunMarc SunMarc left a comment

Choose a reason for hiding this comment

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

Thanks !

@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.

@SunMarc SunMarc merged commit 3cf5e4c into huggingface:main Apr 2, 2025
25 checks passed
@yao-matrix yao-matrix deleted the oom_newapi branch April 2, 2025 23:26
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.

3 participants