Ask coding questions

← Back to all posts
Large Pip packages (PyTorch) errors on install
lvinwan (290)

Edit: So looks like the allocated drive just ran out of space. I think the size granted to an app is reasonably large, it's just PyTorch that's too big. Will have to look elsewhere, unfortunately, for a solution.

Currently trying to install torch==1.4.0 on a, but it looks like the download times out. (That or there's another hidden error) The full traceback is listed here and can be reproduced by hitting "Run" at ~ (deleted) .

Is there currently a workaround for this on Currently trying to run a CPU-inference-only demo on Worst comes to worst, I do this without, but that's not ideal.

*Note: Running poetry install locally with the same pyproject.toml works. PyTorch is installed normally, so poetry itself is not the problem. Updating package configuration

--> /usr/local/bin/python3 -m poetry add torchfun
Using version ^1.0 for torchfun

Updating dependencies
Resolving dependencies...

Package operations: 17 installs, 0 updates, 0 removals

  - Installing torch (1.4.0)
Command ['/home/runner/.local/share/virtualenvs/python3/bin/python'
, '-m', '        
pip', 'install', '--no-deps', 'torch==1.4.0'] errored with the foll
owing out  
Collecting torch==1.4.0                                            
1_x86_64.whl (753.4MB)                                                        
add [-D|--dev] [--git GIT] [--path PATH] [-E|--extras EXTRAS] [--optional] [--python PYTHON] [--platform PLATFORM] [--allow-prereleases] [--dry-run] [--] <name> (<name>)...

exit status 1 Package operation failed.