Skip to content

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

Merged
treo merged 2 commits intomainfrom
paul/limit-torch
Jun 14, 2025
Merged

Support for Intel Macs (limit pytorch to version 2.2.2)#7
treo merged 2 commits intomainfrom
paul/limit-torch

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