This repository contains sample Jupyter notebooks that you can use to run code written in the Julia programming language on the Intelligence Processing Unit (IPU) by Graphcore, using the package IPUToolkit.jl
.
If you find this interesting, please consider starring the IPUToolkit.jl
repository to show appreciation for the effort.
Paperspace is a cloud computing service which offers IPU compute time. The free plan includes unlimited number of 6-hour sessions on the IPU, perfect for trying it out.
To get started, click the button below:
Manual start on Paperspace
After signing in Paperspace (you can also log in with your GitHub or Google account, without creating a new Paperspace one), create a new project, and then create a new IPU notebook:
- Choose a notebook with an IPU tag, for example "Hugging Face Transformers on IPU"
- Make sure to select an IPU machine You can choose between a free machine which shuts down automatically after at most 6 hours, or other paid for machines with longer sessions
- Switch on the advanced options
- Insert
https://github.com/JuliaIPU/JuliaIpuDemo
as workspace - Insert
mosegiordano/julia-ipu-demo
as container - Leave
/notebooks/setup.sh
as startup command
When the sessions begins, you can open and run the notebooks from the file explorer. If you prefer, you can also start JupyterLab from the corresponding button in the sidebar on the left. All dependencies of these notebooks are already installed in the suggested Docker container, so you should be able to run them straight away.