Notebook Runner
Last updated
Last updated
© Positron Networks, Inc. - Patents Pending
This example shows how to run an entire Jupyter Notebook on Robbie as a long-running training job, instead of an individual function.
The Notebook Runner is great for when you are done experimenting in an interactive notebook and want to execute a long-running training job that could take hours or days.
To run your first notebook job on Robbie, open a command prompt and type:
Create two new cells in the notebook.
In the first cell paste:
In the second cell paste:
The first cell imports the Robbie Python package and then initializes it. If you have not previously logged in to Robbie, you will be prompted for your username and password.
The second cell contains the Python code that will be run in the Robbie cloud.
Save the notebook ( on a Mac or on Windows)
Run the first cell by pressing the button.
You should see a small UI directly in the notebook.
Select your desired Hardware, from the dropdown and tick the Tail the remote machine stdout
check box.
You should then see the command program executing.
So, what did Robbie do?
Converted your notebook to a Python .py
file and removed any notebook-specific constructs like !
%
, or %%
.
Automatically determined the Python dependencies from the .py
file and generated a requirement.txt
file.
Selected a default GPU compute instance (NERC Small)
in the Robbie cloud
Set billing for the job to your `Personal` funds (including free trial)
Create a new ‘run’ called intermediate_macaw
Copied the local workspace file, including the .py
to the remote machine
Vended a deep link so you can track the progress of the run in the Robbie portal
Launched the run in the Robbie cloud
Printed out the duration and cost of the job once it was complete
And finally,
<insert picture of final results>
For more examples, see <Jupyter Notebook Examples>.
To learn how to run your current Juptyer notebooks on Robbe, see <website reference>
For a detailed guide on using the Jupyter Notebook features of “Robbie” see <Jupyter Notebook Reference>
Next, press the button.