Command Runner
Last updated
Last updated
© Positron Networks, Inc. - Patents Pending
The Robbie command runner enables users to run arbitrary UNIX/Linux shell commands on a remote high-performance computing machine, including those with GPUs. For example, the command runner can run Python scripts (e.g., python file.py), fine-tune large language models (LLMs), or perform hyper-parameter turning with tools like Weights and Biases.
We will start with a simple example to show the power of the Robbie job runner. (You can download the example here)
First open a command prompt on your local Mac, Windows, or Linux machine and type:
The first command installs the Robbie Python package on your computer.
The second command prompts you for your username and password to authenticate you with the Robbie service. Your Robbie API key will be installed on your local machine.
Next, open a text editor, paste the following code, and save as main.py
This is a common computer vision program
This command starts a “run” on the Robbie to execute the following commands (in order):
pip install torch
python main.py
You should see a banner when you execute the Robbie run command.
So, what did Robbie do?
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 xyz
Copied the local workspace file, including main.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
Tails the standard output from the remote machine to your local machine, including the results of the `nvidia-smi` command.
Printed out the duration and cost of the job once it was complete
In this example, we showed you how to run a simple python command, but you can explore more advanced examples here.
To learn how to run your Python programs on Robbie, see <website reference>
For a detailed guide on using the features of the “Robbie” command line, see <CLI reference guide>