minitorch / minitorch

The full minitorch student suite.
1.88k stars 363 forks source link

Build fails due to torch version not specified in requirements.extra.txt #17

Open Alestainer opened 3 months ago

Alestainer commented 3 months ago

Issue in file https://github.com/minitorch/minitorch/blob/main/requirements.extra.txt Changing it to

datasets==2.4.0
embeddings==0.0.8
networkx==2.4
numpy==1.21
plotly==4.14.3
pydot==1.4.1
python-mnist
streamlit==1.12.0
streamlit-ace
torch==1.11.0
watchdog==1.0.2

worked for me. Python version is 3.12, specifying Python version in the env construction process to 3.8 might work too. Also, note that here the constraint on numpy version is added.

zlH518 commented 1 month ago

In fact, using numpy==1.22.4, you can adapt to python 3.10, and there are many packages in the middle that depend on each other, and 1.22.4 is a more suitable version