Difference between revisions of "Porting/PyTorch"
Jump to navigation
Jump to search
JeremyRand (talk | contribs) (ppc64le binaries) |
JeremyRand (talk | contribs) (Open-CE is distro-independent) |
||
Line 1: | Line 1: | ||
= Binaries = | = Binaries = | ||
− | [https://github.com/open-ce/open-ce/ Open Cognitive Environment (Open-CE)] provides ppc64le binaries of PyTorch and related packages. Example workflow to install PyTorch and [https://github.com/xinntao/Real-ESRGAN Real-ESRGAN] on Fedora 38 ppc64le: | + | [https://github.com/open-ce/open-ce/ Open Cognitive Environment (Open-CE)] provides distro-independent ppc64le binaries of PyTorch and related packages. Example workflow to install PyTorch and [https://github.com/xinntao/Real-ESRGAN Real-ESRGAN] on Fedora 38 ppc64le: |
sudo dnf install python3.10 | sudo dnf install python3.10 |
Revision as of 23:47, 4 May 2023
Binaries
Open Cognitive Environment (Open-CE) provides distro-independent ppc64le binaries of PyTorch and related packages. Example workflow to install PyTorch and Real-ESRGAN on Fedora 38 ppc64le:
sudo dnf install python3.10 sudo dnf install conda conda create --name pytorch python=3.10 # Close and re-open terminal conda activate pytorch conda install -c https://ftp.osuosl.org/pub/open-ce/current/ pytorch-cpu torchvision-cpu py-opencv conda install -c numba llvmlite conda install -c conda-forge grpcio conda install -c conda-forge libstdcxx-ng conda install pip GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=true pip install basicsr facexlib gfpgan clone https://github.com/xinntao/Real-ESRGAN.git cd Real-ESRGAN pip install -r requirements.txt python setup.py develop # Real-ESRGAN is now installed.