Introduction

Introduction

Spacejar allows you to run your code on powerful cloud machines without leaving your local environment.

Installation

Linux/MacOS

curl -fsSL https://raw.githubusercontent.com/spacejar-labs/spacejar-cli/main/rust/scripts/installers/install.sh | sh

Windows

irm https://raw.githubusercontent.com/spacejar-labs/spacejar-cli/main/rust/scripts/installers/install.ps1 | iex

Quickstart

spacejar run <command> [arguments]

Examples

# Run a Python script with parameters
spacejar run python3 my_file_train.py --learning-rate 0.01 --epochs 100
 
# Run a basic Python file
spacejar run python3 script.py
 
# Run with environment variables
spacejar run python3 train.py --data-path /path/to/data

When you run Spacejar for the first time, it creates config.yml which allows you to specify your hardware requirements