How to Install PyTorch on Ubuntu


In this video, we describe how to install PyTorch on a Ubuntu 16.04 server. PyTorch is a machine learning library used by developers to make software like natural language processors.

Commands used:
Anaconda
apt-get update -y
curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
source ~/.bashrc
conda config –set auto_activate_base false
conda install pytorch torchvision cpuonly -c pytorch
conda deactivate

PIP
apt-get install -y python3-venv
mkdir pytorch_awesome
cd pytorch_awesome
pytorch_awesome#
python3 -m venv pytorch-awesome
pip install torch==1.3.0+cpu torchvision==0.4.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
python
Ctrl+d

The related article for this article can be found here: https://www.liquidweb.com/kb/how-to-install-pytorch-on-ubuntu/

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/ or
For more information on our products visit: https://www.liquidweb.com/products/

To learn more about our current specials visit

Dedicated Server Hosting

VPS


https://www.liquidweb.com/products/cloud-dedicated/

Video by: Justin Palmer


Duration: 4:28
Publisher: Liquid Web
You can watch this video also at the source.


Furlow consulting