Documentation

Getting Started

Installation

Install our CLI tool to get started with SF Compute:

pip install sfcompute

After installation, configure your API key:

sfc config set api_key YOUR_API_KEY

CLI Commands

Creating a Cluster

Create a new cluster with the following command:

sfc create -n "cluster name" --gpus 8 --max-price 1.50

Listing Clusters

List all your active clusters:

sfc ls

SSH into a Cluster

Connect to your cluster via SSH:

sfc ssh CLUSTER_ID