Learn practical skills, build real-world projects, and advance your career
Updated 4 years ago
conda install pytorch cpuonly -c pytorch -y
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.8.2
latest version: 4.8.3
Please update conda by running
$ conda update -n base conda
# All requested packages already installed.
Note: you may need to restart the kernel to use updated packages.
import jovian
jovian.commit()
import torch
t1 = torch.tensor(4)
t1
tensor(4)