Fine-tune open LLMs
LoRA and QLoRA on Llama, Mistral, Qwen or Gemma with PEFT, TRL or Unsloth. A 7B–8B model fits on an L4; reach for the A100 for 13B+ or longer contexts.
$ pip install torch peft trl bitsandbytes $ python finetune.py
No NVIDIA GPU on your laptop? Now you have one. Get a dedicated NVIDIA H100, A100, L4 or Tesla T4 for fine-tuning, inference and research, from your Mac or Linux machine. Ready in minutes, billed per second, deleted when you're done.
curl -fsSL gpushed.dev/install.sh | bash
gsh (gpu shed), short for gpushed: gsh up, gsh ssh, gsh down.
gsh up # gsh = gpushed 🚀 Creating box b7k2… (l4, $0.54/h) … pending … running ✅ Running 📦 Prebuilt image: CUDA 12.6, Python 3.11, Node, Rust 🎉 Your GPU box is ready. gsh ssh boxuser@gp-b7k2:~$ nvidia-smi --query-gpu=name,memory.total --format=csv name, memory.total [MiB] NVIDIA L4, 23034 MiB boxuser@gp-b7k2:~$ python train.py▌
gsh up to SSHAnything that needs CUDA and more VRAM than your laptop has. A few of the common ones, with the plan that fits each best:
LoRA and QLoRA on Llama, Mistral, Qwen or Gemma with PEFT, TRL or Unsloth. A 7B–8B model fits on an L4; reach for the A100 for 13B+ or longer contexts.
$ pip install torch peft trl bitsandbytes $ python finetune.py
Stand up vLLM, TGI or Ollama behind an OpenAI-compatible API and test your model before you pick production hosting.
$ pip install vllm $ vllm serve Qwen/Qwen2.5-7B-Instruct
Run Stable Diffusion, SDXL, Flux or ComfyUI workflows with diffusers, train LoRAs on your own style, and batch-render without heating up your laptop.
$ pip install diffusers transformers $ python sdxl.py
Apple silicon has no CUDA, so write, compile and run real kernels here with nvcc or Triton, on a real NVIDIA GPU.
$ nvcc -O3 matmul.cu -o matmul $ ./matmul
Clone the repo, pip install -r requirements.txt, and rerun the experiments. Run lm-eval-harness or your own benchmarks on a clean, known machine.
$ git clone github.com/…/paper-code $ lm_eval --model hf --tasks mmlu,gsm8k
Keep your editor on your laptop and your tensors on the GPU. Forward a port for JupyterLab, or point VS Code Remote-SSH at the box.
$ ssh -i ~/.gpushed/state/box_ssh_key \ -L 8888:localhost:8888 boxuser@<ip> → open localhost:8888 on your laptop
nvidia-smi in minutes.No quota requests, waitlists or cloud consoles. gpushed provisions a fresh Ubuntu box with the NVIDIA driver and CUDA, and hands you SSH.
Installs the gpushed command and signs you in by email. Fully managed, no cloud account setup required.
gsh init
Prepay with Stripe, from $10. You can never be billed more than you put in.
gsh topup
Pick a plan. Your box boots with CUDA, Python, Node.js and Rust preinstalled, so you SSH in and start.
gsh up
VRAM is usually what decides it. When in doubt, start on the L4: it's the cheapest and you can switch any time.
| Workload | Plan | Why |
|---|---|---|
| Learning CUDA, notebooks, small models | t4 / l4 | 16–24 GB is plenty, from $0.50/hour on Spot. |
| QLoRA / LoRA on 7B–8B LLMs | l4 | 24 GB fits a 4-bit 8B model with room for batches. |
| Serving a 7B–8B model with vLLM | l4 | fp16 weights fit, with headroom for the KV cache. |
| Stable Diffusion, SDXL, ComfyUI | t4 / l4 | Both run SDXL in fp16; the L4 is noticeably faster. |
| 13B+ fine-tuning, long contexts, big batches | a100 | 40 GB of HBM2 and far more memory bandwidth. |
| 30B–70B models, full fine-tuning, fastest training | h100 | 80 GB of HBM3, FP8, and several times the A100's throughput. |
Spin one up for an experiment, pause it overnight, delete it when the paper's done.
A dedicated NVIDIA A100, L4 or Tesla T4 with root on a clean Ubuntu 22.04 VM. Install whatever stack your research needs.
Boots from a prebuilt image with the NVIDIA driver, CUDA 12.6, Python 3.11, Node.js and Rust already installed. Ready in minutes.
Pay for exactly the time your box exists. Stop it to pause compute and keep your disk for about $0.03 an hour.
Credit is prepaid. We email you when it runs low and pause your box before it runs out.
A small command-line client on the tools your machine already has: no containers, VMs or SDKs.
Your SSH key is generated on your machine and never leaves it; git on the box borrows your own keys through agent forwarding. Only SSH is open, and boxes can't see each other.
Each price includes the machine, a 100 GB SSD and a public IP. Paid from your smartloop credits: your plan’s monthly credits first, then any you add (from $10). US prices shown; Europe and Asia cost a little more.
Boxes are Spot by default: much cheaper, but Google may take the GPU back at any time. Your box is then stopped with its disk kept, and gsh start resumes it. For work that mustn't be interrupted, pick on-demand.
7B–8B LoRA, vLLM serving, SDXL.
gsh up l4-ondemand13B+ fine-tuning, long contexts.
gsh up a100-ondemand30B–70B models, full fine-tuning. Checkpoint often.
Not locally: Apple silicon has no NVIDIA GPU, and CUDA needs one. gpushed gives your Mac a dedicated NVIDIA GPU in the cloud with CUDA 12.6 ready, one command away, so PyTorch, vLLM, Triton and your own kernels run from your Mac's terminal.
For LoRA or QLoRA on 7B–8B models, the L4 (24 GB) is the best value. Pick the A100 (40 GB) for 13B+ models, longer contexts, bigger batches, or full fine-tuning of smaller models. See choosing a GPU.
Boxes are Spot VMs by default: about 40% cheaper, but Google may take the GPU back at any time, with 30 seconds' notice. Whatever is running stops, but the box keeps its disk and files: you get an email, and gsh start (or gsh ssh) resumes it once a GPU is free again. Save checkpoints often. For work that mustn't be interrupted, pick an on-demand plan: gsh up l4-ondemand, gsh up a100-ondemand. gsh plans lists both.
Yes. Connect with plain SSH using the key in ~/.gpushed/state/box_ssh_key (the IP is in gsh status) and forward a port for Jupyter, or add the box as a host in VS Code Remote-SSH.
Yes. gsh ssh forwards your SSH agent, so git clone and git pull over SSH on the box use the keys on your laptop, and GitHub is already trusted there. Your keys never leave your machine. Load one first with ssh-add if ssh-add -l shows none; with plain ssh, add -A.
Linux, yes: the same install command works there. Windows isn't supported yet; under WSL it should work, but we don't test it.
Just gpushed. It uses curl, ssh and jq; if jq is missing, setup tells you the one command to get it (brew install jq on a Mac). No Terraform, gcloud, Python, containers or GPU drivers on your machine.
Ubuntu 22.04 with the NVIDIA driver and CUDA Toolkit 12.6, plus Python 3.11 (pip and uv), Node.js 24 LTS, Rust, git and build tools. pip install torch and go, with full root access for anything else.
On Google Cloud, in the region nearest you: Iowa, South Carolina or Oregon in the US, the Netherlands, or Singapore. If it's out of GPUs, gpushed tries its other zones and then the next nearest region automatically. Pick one yourself with gsh up --region europe-west4. Prices differ a little by region; gsh plans shows yours.
You get an email when your balance drops to $2. Just before it reaches zero your box is stopped, with its disk kept. Top up and run gsh start to resume. Any box left stopped for 6 hours is deleted with its disk.
Yes. gsh stop pauses the GPU and keeps the disk for about $0.03/hour; gsh start brings it back. gsh down deletes the box and its disk for good. A box whose GPU sits idle, with nothing running on it and nobody connected, for 5 minutes stops itself, so a forgotten box doesn't run up a bill.
Per second, from your prepaid balance, from the moment the box exists until it's deleted. gsh history shows every charge and top-up.
One box per account for now. Delete it with gsh down to switch plans.
For macOS (Intel or Apple silicon) and Linux.
curl -fsSL gpushed.dev/install.sh | bash