Installing Pytorch and Transformers on IBM Power 9 architecture
To install pytorch and related components on the power 9 architecture follow these steps.
Last updated
To install pytorch and related components on the power 9 architecture follow these steps.
Last updated
The first step is to setup conda by following .
Specifically, I downloaded Anaconda installer from (scroll at the bottom of the page). I am using the the 64-Bit (Power8 and Power9) Installer (276 MB), and at the time of writing has the following download .
You might need to restart your terminal after the above step.
After setting up conda, follow the related to IBM cloud AI to install python modules. But make sure you are using the latest channel. Alternatively, copy the below commands.
Note that I am using the early release version rather than 1.7 stable version. I am doing so because of the sentencepiece module needed for the transformers (huggingface).
List of all packages available for this channel are .
Installing Huggingface .
Restart terminal
source activate
Download Huggingface source and follow the below instructions.
Install
curl --proto '=https' --tlsv1.2 -sSf | sh