Description
The requirements.txt file specifies torch=2.6.0+cpu, Which does not exist in macOS. On Apple silicon and even intel Macs,PyTorch should be installed from the standard index or the Metal-optimized version instead.
This causes the following error when running pip install -r requirements.txt:
"ERROR: Could not find a version that satisfies the requirement torch==2.6.0+cpu (from versions: 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 2.5.0, 2.5.1, 2.6.0)
ERROR: No matching distribution found for torch==2.6.0+cpu"
Steps to reproduce:
- Clone the repository
- Create a venv
- pip install -r requirements.txt
Suggested Fix:
torch==2.6.0+cpu; sys_platform != "darwin" torch; sys_platform == "darwin"
System information:
OS:macOS 15.4
Architecture:Apple M3 Pro
Python version:3.12.6
pip version:25.0.1
Would love to hear thoughts from the maintainers on the best approach to fixing this! 😊