A. Install examples and tutorials for older Poplar SDK versions
This section describes how to install the Graphcore examples and tutorials if you are using a version of the Poplar SDK prior to version 3.2.
A.1. Clone the Graphcore tutorials
If you are using a version of the Poplar SDK prior to version 3.2, you will need to use the old GitHub tutorials repository. You will also have to checkout a branch of the tutorials
repository corresponding to the version of the Poplar SDK you are using.
You can clone the tutorials repository into a location of your choice.
$ cd ~/[base_dir]
$ git clone https://github.com/graphcore/tutorials.git
$ cd tutorials
$ git checkout sdk-release-[poplar-ver]
where [base_dir]
is a location of your choice and [poplar-ver]
is the version of the Poplar SDK that you are using. This will install the contents of the tutorials under ~/[base_dir]/tutorials
. The tutorials are in ~/[base_dir]/tutorials
.
For example to checkout the tutorials repo for Poplar SDK version 3.1:
$ cd ~/[base_dir]
$ git clone https://github.com/graphcore/tutorials.git
$ cd tutorials
$ git checkout sdk-release-3.1
A.2. Clone the Graphcore examples
If you are using a version of the Poplar SDK prior to version 3.2, you will need to checkout a specific tagged version of the examples
repository corresponding to the version of the Poplar SDK you are using.
You can clone the examples repository into a location of your choice.
$ cd ~/[base_dir]
$ git clone https://github.com/graphcore/examples.git
$ cd examples
$ git checkout tags/[tag_name]
where [base_dir]
is a location of your choice and [tag_name]
is the name of the tagged commit corresponding to the version of the Poplar SDK that you are using. The tags are of the form v3.2.0
for the code compatible with each SDK release.
This will install the contents of the examples repository under ~/[base_dir]/examples
.
There is a list of tagged versions.
For example, to checkout the tagged version corresponding to Poplar SDK 3.1:
$ cd ~/[base_dir]
$ git clone https://github.com/graphcore/examples.git
$ cd examples
$ git checkout tags/v3.1.0