Skip to content

FIX: Set 2.0.0<=pytorch<=2.6.0 to avoid conflicts with networkx with Python 3.9 #1318

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

Merged
merged 1 commit into from
Apr 24, 2025

Conversation

marcopeix
Copy link
Contributor

Installing PyTorch 2.7 creates a conflict with networkx when using Python 3.9.

Fixing the version to be between 2 and 2.6 solves the problem.

@marcopeix marcopeix marked this pull request as ready for review April 24, 2025 17:42
@marcopeix marcopeix requested a review from elephaint April 24, 2025 17:42
Copy link
Contributor

@elephaint elephaint left a comment

Choose a reason for hiding this comment

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

Nice, LGTM!

@marcopeix marcopeix merged commit fd3813d into main Apr 24, 2025
17 checks passed
@marcopeix marcopeix deleted the fix/pytorch_version branch April 24, 2025 18:06
@candalfigomoro
Copy link
Contributor

@marcopeix @elephaint Please remember to also update the conda recipe accordingly https://github.com/conda-forge/neuralforecast-feedstock

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