Forums

get quota error when installing pytorch

hi, I want to install pytorch, but i get quota error the command that i'm using is pip install torch==1.4.0+cpu torchvision==0.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html it downloads the file which is about 127 mb, then gives me a os error 1222 is there any way available to install it? (I have a trained model and want to do inference) thanks.

Unfortunately it looks like PyTorch is too large to fit into a free PythonAnywhere account.

so, how can i run inference with my model here? (the pytorch itself is about 127 mb in size, so it shouldn't be a problem for it's installation). and if possible, please add it to the default packages (since pytorch, mxnet and these frameworks are common beside tensorflow for deep learning).

Unfortunately you won't be able to run it in a free account right now. The only way to run it on PythonAnywhere would be to upgrade to a paid one with enough disk space for PyTorch to be installed.

We will almost certainly install it in our next system image, and at that point it will be available in free accounts, but that is at least a few months away -- maybe longer.

thanks. for now, I didn't trained my model yet, but I will need that for the inference. also, if possible, install mxnet, chainer and other frameworks beside it (since some of the people will use it). thanks for your great support and help.

ok, noted. thanks for letting us know!

Have you installed PyTorch in your system image? A Google search led me here. People really need this.

We do not have pytorch pre-installed. For all pre-installed packages see https://www.pythonanywhere.com/batteries_included/

It is so sad that there is no installed pytorch, given that at the moment it is no less popular than tensorflow

We're going to look into getting it installed for our next system image, which should be released by the end of the year.

Good news: we've released new system image (glastonbury) which has PyTorch preinstalled. To use it, you'd need to upgrade your system image, by following steps mentioned here: https://help.pythonanywhere.com/pages/ChangingSystemImage/.