v2.18.0 · RLVR & Post-Training Infrastructure
~419ms warm gVisor · CUDA 12.4 + PyTorch 2.5

Grade thousands of untrusted RLVR & GRPO rollouts safely—at Spot GPU economics.

Your post-training bottleneck isn't the optimizer—it's isolating, hydrating, and grading thousands of agentic code trajectories without container escapes or cold-clone tax. StateSet Sandbox v2.18.0 unifies Serverless Batch .map(), CoW repo & model-weight CSI caches, and pre-baked gpu-pytorch & gpu-rl templates behind one API.

4 vCPU · 8 GB shared gVisor workers from $0.028/hr · $25 trial ≈ 892 shared hours · Spot NVIDIA L4 / A100 / H100 scale to zero after every run.

PARALLEL VERIFICATION

Serverless Batch .map() Reward Grading

Fan out hundreds or thousands of untrusted policy rollouts across zero-egress gVisor pods in parallel. Automatic Spot preemption retries, On-Demand fallback, and deterministic exit-code + stdout reward collection.
PRE-BAKED TEMPLATES

Built-In gpu-pytorch & gpu-rl Images

Skip 15-minute Docker image builds. Launch hardened non-root CUDA 12.4 + PyTorch 2.5.1 (gpu-pytorch) or pre-baked RL training runtimes (gpu-rl) directly on NVIDIA T4, L4, A100 80GB, or H100 80GB GPUs.
SUB-SECOND HYDRATION

CoW Repo & Model-Weight CSI Caches

Clone large evaluation repos via GKE CSI VolumeSnapshots (stateset-repo-cache-cow) and mount shared read-only model checkpoints across workers without redownloading gigabytes on every episode.
5-SURFACE PARITY

SDK, Python, CLI, 5 rl_* MCP Tools & RL Studio

Orchestrate RLVR, GRPO, DAPO, GSPO, SFT, Harvest, and GPU Flywheel runs from TypeScript (@stateset/sandbox-sdk), Python, CLI, Hosted MCP, or the Dashboard RL Studio (/dashboard/rl).
rlvr-batch-and-trainer.ts · @stateset/sandbox-sdk@2.18.0TypeScript
import { StateSetSandbox } from '@stateset/sandbox-sdk'

const client = new StateSetSandbox({
  authToken: process.env.STATESET_API_KEY!,
})

// 1. Fan out 250 untrusted RLVR code rollouts across zero-egress gVisor
const grading = await client.batch.map({
  name: 'grpo-step-042-rewards',
  compute_sku: 'cpu-standard',
  spot: true,
  fallback_to_ondemand: true,
  max_concurrency: 64,
  items: trajectories.map((t) => t.patchId),
  command: 'python3 grade_trajectory.py --patch "$STATESET_BATCH_ITEM"',
})

// 2. Launch a pre-baked GPU RL trainer with scale-to-zero
const trainer = await client.create({
  template: 'gpu-rl',
  gpu: { type: 'nvidia-l4', count: 1 },
  timeout_seconds: 3600,
})
npm i @stateset/sandbox-sdk
Python: pip install stateset-sandbox

Supported Post-Training Stack

First-class workflows across SDK, CLI, MCP, and Dashboard.

RLVR, GRPO, DAPO, GSPO, SFT, Harvest & GPU Flywheel loops
5 dedicated rl_* MCP tools over Hosted Streamable HTTP
Zero-egress gVisor + read-only rootfs + non-root uid 1001
Spot GPU preemption retry with automatic On-Demand fallback
NVIDIA T4, L4 (24 GB live-verified), A100 80GB & H100 80GB
1-line Modal .map() drop-in compat adapter available

RLVR & GPU FAQ

Why run RLVR trajectory grading on gVisor instead of raw Docker containers?

Reinforcement learning models explore edge cases, shell escapes, fork bombs, and unintended network calls. StateSet isolates every rollout inside a non-root gVisor (runsc) pod with read-only rootfs, NXDOMAIN-only DNS, and fail-closed zero-egress policies so untrusted model outputs cannot escape or reach internal services.

Which NVIDIA GPUs and pre-baked templates are supported?

StateSet supports NVIDIA T4 (16 GB), NVIDIA L4 (24 GB VRAM, live CUDA verified on GKE Autopilot), A100 80GB, and H100 80GB across Spot and On-Demand classes with automatic scale-to-zero (0/0 idle GPUs). Built-in gpu-pytorch and gpu-rl templates come pre-baked with CUDA 12.4 and PyTorch 2.5.1.

How does StateSet reduce cold-start overhead across thousands of coding evals?

Warm gVisor pods boot in ~419ms in live production, CoW CSI Repo-Cache snapshots hydrate repositories with pre-installed dependencies without repeating git clone + npm/pip install, and Model-Weight CSI caches keep model weights local to your cluster.
READY FOR PRODUCTION POST-TRAINING

Run your next RLVR sweep on StateSet v2.18.0

Create a free workspace with $25 in trial credits, test live gVisor in the playground, or talk to engineering about dedicated H100/A100 BYOC clusters.