TermuxInstallPytorch/README.md

17 lines
653 B
Markdown
Raw Normal View History

2024-09-18 19:03:44 +08:00
##[1]install termux from https://github.com/termux/termux-app
##[2]enter termux
##[3]install proot-distro with to execute command of\
2024-09-18 18:54:00 +08:00
```console
2024-09-18 18:51:02 +08:00
apt install proot-distro
2024-09-18 18:54:00 +08:00
```
2024-09-18 19:03:44 +08:00
##[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\
2024-09-18 18:54:00 +08:00
```console
2024-09-18 18:51:02 +08:00
conda install pytorch torchvision torchaudio cpuonly -c pytorch
2024-09-18 18:54:00 +08:00
```
2024-09-18 19:03:44 +08:00
###[9]install pytorch from source\
####[9.1]enable the option of android located in [setting>> developer options>> disable child process restrictiona]\
####[9.2]\