Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

71 posts RSS

November 2026

Modal

Modal becomes a gVisor maintainer

Announcement 9 min +90 XP

Google is donating gVisor to the CNCF under maintainer-led governance, and Modal, which launches over 40 million gVisor containers a day for GPU inference, training, and AI sandboxes, is joining as a maintainer. gVisor's Go-based Sentry application kernel implements the Linux syscall interface and is itself confined by namespaces, cgroups and seccomp, giving tenant isolation without hardware virtualization: about 25 ms boot and 12 MB overhead.

October 2026

Modal

Endpoint Candidates: evaluate and promote inference endpoints

Announcement 3 min +30 XP

Endpoint Candidates let Modal users stage alternative deployments of a Dedicated Endpoint, such as new checkpoints or different models, mirror a sample of production traffic to them, measure latency, throughput, cost and quality, then promote a winner from the dashboard to the existing URL.

September 2026

August 2026

July 2026

June 2026

Modal

Making FlashAttention-4 faster for inference

Deep dive 14 min +140 XP

Modal engineers extended the FlashAttention-4 kernel for decode-heavy LLM inference on Blackwell GPUs through two kinds of change: new parallelism strategies, such as split-KV parallelism across the key/value dimension, and support for irregular memory access via cp.async in place of TMA bulk loads.

May 2026

April 2026

Modal

Building an RL theorem-proving workflow on Modal

Case study 10 min +100 XP

AE Studio built a reinforcement-learning loop on Modal that trains an LLM to write Lean proofs, comparing Evolution Strategies (ES) against GRPO using Lean verification as the reward. vLLM generation runs on GPU workers fanned out with .map(), Lean verification runs in short-lived sandboxes so bad proofs can't crash the run, and model state is stored as a ~200-byte-per-iteration history of perturbation seeds and rewards that each worker replays onto base weights from a Volume.

March 2026

February 2026

Modal

How Ramp built a full context background coding agent on Modal

Case study 6 min +60 XP

Ramp Inspect, an internal background coding agent, runs each session in a Modal Sandbox containing a full dev environment (Postgres, Redis, Temporal, RabbitMQ, OpenCode, VS Code server, VNC with Chromium) and now starts roughly half of merged pull requests at Ramp.

December 2025

November 2025

September 2025

July 2025

Modal

GPU Memory Snapshots: Supercharging sub-second startup

Announcement 6 min +60 XP

Modal's GPU memory snapshots extend its gVisor-based checkpoint/restore to capture GPU state, using NVIDIA's new CUDA checkpoint API (driver branches 570/575) to lock CUDA processes, copy device memory, kernels, streams, contexts and memory mappings to host memory, then snapshot CPU and GPU state together.

Modal

How we used evals and inference-time compute scaling to generate beautiful QR codes that actually work

Case study 13 min +130 XP

Generating aesthetic QR codes (QArt codes) with Stable Diffusion and ControlNet often produces images that don't scan, so the team built automated evals: the QReader library for scannability and a community aesthetic predictor.

June 2025

May 2025

February 2025

Modal

'I paid for the whole GPU, I am going to use the whole GPU': A high-level guide to GPU utilization

Deep dive 13 min +130 XP

"GPU utilization" refers to three distinct metrics at different layers of the stack: GPU Allocation Utilization (fraction of paid GPU-seconds running application code), GPU Kernel Utilization (fraction of time actually running CUDA kernels, as reported by nvidia-smi), and Model FLOP/s Utilization (achieved FLOP/s vs. theoretical arithmetic bandwidth).

January 2025

Modal

Memory snapshots: Checkpoint/restore for sub-second startup

Deep dive 9 min +90 XP

Modal cuts serverless container cold starts roughly 2.5x by checkpointing a gVisor container's full process tree and filesystem mutations just before it accepts a request, then restoring it instead of re-running Python's syscall-heavy import path (import torch alone makes 26,000 syscalls through OverlayFS and a FUSE lazy-loading server).

December 2024

October 2024

September 2024

Modal

Building a cost-effective analytics stack with Modal, dlt, and dbt

How-to 11 min +110 XP

Modal runs its whole analytics stack on Modal: dlt loads data from a Postgres read replica into Snowflake, dbt transforms it, and GitHub Actions handles CI/CD. dlt replaced hand-written psycopg2 code and removes manual schema definitions, Snowflake DDL and error-prone incremental logic.

August 2024

June 2024

May 2024

April 2024

March 2024

January 2024

The quest for software engineering knowledge.

Look:
Layout: