KEMBAR78
[ci, 3.13] fix/skip failing numpy 2.0+ dynamo-wrapped tests by williamwen42 · Pull Request #141950 · pytorch/pytorch · GitHub
Skip to content

Conversation

@williamwen42
Copy link
Member

@williamwen42 williamwen42 commented Dec 3, 2024

@pytorch-bot
Copy link

pytorch-bot bot commented Dec 3, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/141950

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 649b3b9 with merge base 16676fd (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

Comment on lines +36 to +39
if int(numpy.__version__[0]) >= 2:
from numpy.exceptions import AxisError
else:
from numpy import AxisError
Copy link
Contributor

Choose a reason for hiding this comment

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

I thought PT is already compatible with numpy 2, or am I imagining things?

Copy link
Member Author

Choose a reason for hiding this comment

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

The support might not be fully completed. Our test coverage also wasn't there since we didn't test numpy 2.0+ until 3.13.

@atalman atalman mentioned this pull request Dec 12, 2024
37 tasks
Esquains pushed a commit to Esquains/study1 that referenced this pull request Dec 15, 2024
@github-actions github-actions bot deleted the gh/williamwen42/183/head branch January 5, 2025 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants