Skip to content

Support for Intel Macs (limit pytorch to version 2.2.2) #7

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 2 commits into from
Jun 14, 2025

Conversation

treo
Copy link
Contributor

@treo treo commented Jun 14, 2025

I've set up different dependency versions for torch and numpy depending on what system you're running. It turns out macOS on x86_64 needs different versions than other platforms, so I've split things up:

For torch:

  • macOS x86_64 (intel macs) gets the latest 2.2.x vesion
  • Other platforms get 2.3.0 or newer (which right now means you'll get 2.7.1)

As torch 2.2.x uses numpy 1.x and torch 2.3.x uses numpy 2.x:

  • If you're on macOS x86_64, you'll get the latest 1.x version
  • Everyone else gets version 2.2.5 or higher

This should fix those annoying compatibility issues we've been seeing across different machines. Let me know if you run into any problems!

@treo treo merged commit fb9961d into main Jun 14, 2025
2 checks passed
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.

1 participant