notebooks-ai / notebooks-help

Issues with Notebooks.ai? Create an issue here!
https://notebooks.ai
MIT License
14 stars 5 forks source link

Unable to use pytorch #38

Open theevann opened 4 years ago

theevann commented 4 years ago

Going to settings and adding torch as requirements didn't work...

Note: I did the change after project was created, it didn't work. I 'TURNed OFF' and started again, didn't work. I deleted and recreated the project, didn't work. It seems it is not reinstalling libraries ...

image

theevann commented 4 years ago

Also, thanks for the very nice work here. I found you from : https://pypi.org/project/jsonschema/

santiagobasulto commented 4 years ago

Thank you @theevann. We'll take a look at it. Did you try adding a requirements.txt?

maxjcohen commented 4 years ago

Hi, I can confirm that adding torch in the "Edit project" page does not work. Creating a requirements.txt file at the root of the project (i.e. at /app/requirements.txt) with the precise torch version seems to work, for instance: https://download.pytorch.org/whl/cpu/torch-1.3.1%2Bcpu-cp36-cp36m-linux_x86_64.whl for torch 1.3.1 with py3.6.