TermuxInstallPytorch/README.md

17 lines
656 B
Markdown

### [1]install termux from https://github.com/termux/termux-app
### [2]enter termux
### [3]install proot-distro with to execute command of
```bash
apt install proot-distro
```
### [4]install a distro with using proot-distro
### [5]login the distro
### [6]install a kind of conda such as miniconda and enter conda environment
### [7]create a conda virtual environment and activate it
### [8]install pytorch from binary
```bash
conda install pytorch torchvision torchaudio cpuonly -c pytorch
```
### [9]install pytorch from source
#### [9.1]enable the option of android located in [setting>> developer options>> disable child process restrictiona]
#### [9.2]