Installing Pytorch and Transformers on IBM Power 9 architecture
To install pytorch and related components on the power 9 architecture follow these steps.
The first step is to setup conda by following conda docs.
Specifically, I downloaded Anaconda installer from here (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 link.
You might need to restart your terminal after the above step.
After setting up conda, follow the documentation related to IBM cloud AI to install python modules. But make sure you are using the latest channel. Alternatively, copy the below commands.