Getting started
San Francisco Compute is a market for buying time on GPU clusters. For a full list of supported hardware configurations, see Instance Types.
You can buy individual Virtual Machine nodes or buy a contract for a multi-node Kubernetes cluster with InfiniBand.
You can buy any shape contract you'd like by varying the number of GPUs, the duration, and the start time.
Buying VM Nodes
After installing the CLI, you can buy reserved nodes varying the number of nodes, duration, and start time as you like.
# buy 8 h100s VM nodes (64 gpus) -n 8
# for 24 hours -d "24h"
# starting tomorrow -s "tomorrow at 9am"
sf nodes create -n 8 -d "24h" -s "tomorrow at 9am"
To access your nodes by SSH, you must add your keys in a startup script or configure your nodes using a cloud-init user-data file.
You can buy and get access to nodes on-demand right now by not specifying a start time.
# buy 2 h100 VM nodes (16 gpus) -n 2
# for 1 hour -d "1hr"
# at $20 per node/hr ($2.50 per gpu/hr). -p "20"
# with your ssh key configuration -U ./startup.sh
sf nodes create golden-gate cuda-crunch -n 2 -d "1hr" -p "20" -U ./startup.sh
sf nodes ssh root@cuda-crunch
You can also buy nodes in the dashboard buy page.
For more advanced usage such as custom VM images or automatically extending your reservation, see Nodes (VMs).
Buying InfiniBand Clusters
You can buy an interconnected Kubernetes cluster with InfiniBand.
# buy 64 h100s -n 64
# managed by K8s -t h100i
# for 24 hours -d "24h"
# starting tomorrow -s "tomorrow at 9am"
sf buy -n 64 -t h100i -d "24h" -s "tomorrow at 9am"
By default, you will receive one managed Kubernetes cluster per zone (physical datacenter). Any additional K8s nodes you buy on the same zone will join this managed cluster as pods automatically.
We are planning on supporting VM clusters with InfiniBand in the near future.
CLI Installation
To place an order on SF Compute, you'll need to sign up on the website and fund your account. If you'd like to talk to us before you do so, you can reach us at hello@sfcompute.com.
Download and install the command line tool.
curl -fsSL https://sfcompute.com/cli/install | bash
Login via the CLI
sf login
CLI options
Telemetry
The SF Compute CLI collects some usage data. This is enabled by default.
To opt out of telemetry, set the SF_CLI_TELEMETRY_OPTOUT environment variable to 1 or true.
Auto-upgrades
The CLI automatically upgrades if there’s a new patch version.
To opt out of auto-upgrades, set the SF_CLI_DISABLE_AUTO_UPGRADE environment variable to 1 or true.