2. Prerequisites
In order to use IPUs on Paperspace, you must be familiar with developing machine-learning applications using industry-standard frameworks such as PyTorch or TensorFlow. You must also have a knowledge of Python and Jupyter notebooks.
The Graphcore Developer page has links to a variety of resources to help you get started with programming for the IPU.
2.1. Paperspace terminal
If you want to use the terminal in Paperspace then it can be beneficial if you have some familiarity with the Linux command line and some common Linux tools. Some of the tasks that you may need to perform are:
Navigating the file system using commands such as
lsandcd, and shortcuts such as~.Using login files such as
.profileand.bashrcto configure your environment (for example, setting paths and performing actions that need to be done on every login).Understanding file ownership and permissions for users and groups.
Changing file permissions to allow sharing between multiple users in your organisation (commands:
chmodandchown).Logging in with
ssh, configuringsshand usingscpto copy files to and from the vPod.Using
cpandrsyncto copy public examples and data to your user workspace.Creating a Python “virtual environment” with the
virtualenvcommand; this keeps the Python packages that you install for an application or framework separate. This can avoid problems such as conflicting versions and dependencies.