[英]How to install pytorch on Power 8 or PPC64 machine?
Assuming that conda is already installed.假设已经安装了conda 。 Simply run the following command
只需运行以下命令
conda install -c engility pytorch
conda install -c engility torchvision
Note:笔记:
1. Goto this anaconda page 1.转到这个anaconda页面
2. Search for pytorch 2.搜索pytorch
3. Scroll down to see which one has linux-ppc64le as platform 3.向下滚动查看哪个平台是linux-ppc64le
4. Click into that specific package 4. 点击进入那个特定的包
5. You will get the command to install pytorch 5.你会得到安装pytorch的命令
I finally installed PyTorch 1.5.0 on ppc64le server using conda environment.我最终使用 conda 环境在 ppc64le 服务器上安装了 PyTorch 1.5.0。
conda config --prepend channels https://public.dhe.ibm.com/ibmdl/export/pub/software/server/ibm-ai/conda-early-access/linux-ppc64le/
conda create --name early_access python=3.6
conda activate early_access
conda install pytorch
That's it!就是这样! Credits to this blog: https://gauravm.gitbook.io/about/blogs/installing-pytorch-and-transformers-on-ibm-powerpc-architecture
此博客的积分: https : //gauravm.gitbook.io/about/blogs/installing-pytorch-and-transformers-on-ibm-powerpc-architecture
Nowadays you can use powerai - MLDL framework from IBM , which includes PyTorch:现在您可以使用powerai - 来自 IBM 的 MLDL 框架,其中包括 PyTorch:
conda install powerai
It installs correct version of pytorch for PPC64.它为 PPC64 安装正确版本的 pytorch。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.