LogoLogo
Sign InProject RobbieDemos
  • Getting Started
    • Welcome
    • Running your first Job
    • Remote function - Jupyter Notebook
    • Notebook Runner
    • Command Runner
  • Robbie Concepts
    • Introduction
    • User
    • Run
    • Token
    • Group (aka Team)
    • Environments
    • Workspace
    • Dependencies
    • Job Configuration File
    • Robbie Persistent Disk
  • Robbie Portal
    • Overview
    • Main Menu and Navigation
    • My Profile
    • My Resources
    • Runs
  • Running your experiments on Robbie
    • Overview
    • Command Runner
    • Jupyter Notebooks
    • Robbie Python Remote Functions
    • Robbie Magics
    • Robbie Notebook Runner
    • Matplotlib Support
    • Funding Group, Environment, and Images
  • Robbie Command Line Reference
    • robbie login
    • robbie config
    • robbie run
  • How it works
    • Architecture
Powered by GitBook
LogoLogo

© Positron Networks, Inc. - Patents Pending

On this page

Was this helpful?

Export as PDF
  1. Getting Started

Command Runner

PreviousNotebook RunnerNextIntroduction

Last updated 1 month ago

Was this helpful?

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:

pip install robbie
robbie login

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

vi main.py

This is a common computer vision program

robbie run "pip install torch && python main.py" -–y --tail

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?

  1. Selected a default GPU compute instance (NERC Small) in the Robbie cloud

  2. Set billing for the job to your `Personal` funds (including free trial)

  3. Create a new ‘run’ called `future_pigeon`

  4. Copied the local workspace file, including main.py (and other files) to the remote machine

  5. Vended a deep link so you can track the progress of the run in the Robbie portal

  6. Launched the run in the Robbie cloud

  7. Tails the standard output from the remote machine to your local machine, including the results of the pip install torch && python main.py commands.

  8. 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 .

For a detailed guide on using the features of the “Robbie” command line, see .

here
here
Robbie runcommand --help
A screen shot of a computer program