Fast.ai: Practical Deep Learning for Coders. Later on we'll change the name of our project when we add a second notebook.
Notebookstab and select the button that says
Notebookstab within a new project will urge us to create a new notebook.
Paperspace + Fast.airuntime to start. We'll explain what exactly this means in the second part of the tutorial.
Free-GPUinstances. In this tutorial we'll be using the
Free-GPUinstance as much as possible -- however if you have already upgraded your Gradient subscription and would like to use more advanced instances like
Free-RTX4000(or even a paid instance like
V100) please go ahead!
Free-GPUmachine because it is available and we don't need a high-powered GPU here. Let's then go ahead and start our notebook.
Runningstate we'll see something like this:
Running, we know that our notebook is ready to use.
01_intro.ipynb. We should see the cell executing like so:
Run Allbutton (top right of the IDE) is another option.
!pip installstatements in their own cell? That's easy! First we'll cut the
!pip installcommand from the existing cell, then we'll use the
+button, we'll select
Insert Code, and then we'll paste the
pipcommand into the newly created cell.
+button that appears when we hover over a cell.
Insert Markdown, which comes in handy when you want to add an explanatory or reference block of text to your ipynb file.
requirements.txtfile that ships with the fast.ai learning materials:
Stop Instancebutton in the top status bar.
Free-GPUinstance at the 6-hour mark. Paid instances will auto-shutdown if an auto-shutdown interval has been specified. The default is 12 hours for paid instances.
Createto again bring up the
Create a notebookscreen:
Allin the runtime selector. Gradient frequently adds support for new runtimes. The console is therefore a great place to come and learn about new libraries and technologies.
Allin the runtime selector reveals a large number of prebuilt runtimes available on Gradient.
Transformers + NLPtile in the console to understand what a runtime is.
Advanced Optionsslider at the bottom of screen and toggle it on. We will see these fields available in the advanced options:
Container Name, and
Workspace URL: URL of the GitHub repository that we wish Gradient to clone into this notebook
Command(Advanced): Bash command that we want to pass to the Jupyter kernel on instantiation
Container Namethat results in some files from a repo running against a container image. Pretty simple!
Advanced optionsand enter the following parameters:
Container Name: paperspace/clip-pixeldraw:jupyter
Advanced optionssection of the
Create a notebookworkflow.
!git clonecommands at the top of the notebook at this time:
!git clonecommands to pull down additional required packages.
pixeldraw.pyfile. By default that prompt is set to the following:
On the desert planet of Arrakis, the spice must flow!
Advanced optionsset to: