TermuxInstallPytorch/README.md

17 lines
656 B
Markdown
Raw Normal View History

2024-09-18 19:05:20 +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 19:07:41 +08:00
```bash
2024-09-18 18:51:02 +08:00
apt install proot-distro
2024-09-18 18:54:00 +08:00
```
2024-09-18 19:05:20 +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
2024-09-18 19:07:17 +08:00
### [8]install pytorch from binary
2024-09-18 19:07:41 +08:00
```bash
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:07:17 +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]