Skip to content
electronicartsPublic

About

Fast. Lean. Cross-Vendor. Slang-based Gaussian splatting trainer: built for efficient and extensible differentiable rendering.

Resources

Stars

262 stars

Watchers

4 watching

Forks

Repository files navigation

PERF-GS: 3DGS in 10 seconds

Efficient, extensible, dependency-free, low-memory 3D Gaussian Splatting training in Python and Slang.

Project Page Platforms: Windows and macOS Languages: Python and Slang Backends: Vulkan and D3D12

Across the nine Mip-NeRF 360 scenes on an RTX 4090, PERF-GS averages:

  • 27.13 dB in 10.51 s (Ultrafast)
  • 27.40 dB in 15.91 s (Balanced)
  • 27.90 dB in 22.68 s (Quality)
  • 28.23 dB in 122.66 s (Quality+).

To the best of our knowledge (as of November 2026), PERF-GS is the fastest open-source 3DGS trainer, outperforming LiteGS, SAD-GS, and FastGS in training speed with competitive or higher reconstruction quality and low VRAM usage (down to 2.80 GiB with Balanced on a 6 GB RTX 4050 Laptop GPU).
Open a folder of photos (with built-in COLMAP reconstruction) or an existing COLMAP scene in the standalone app, and train a 3DGS model with Slang on Vulkan or D3D12, no CUDA or PyTorch required :)

Quickstart | Benchmarks | Reconstructions | Design

The Stump training timer reaches 9.21 seconds at step 3,000, then the camera orbits the reconstruction.

Stump - Ultrafast - RTX 4090 - 9.21 s training loop (13.08 s from scene open) | GIF | Full-res WebP

Requirements

  • OS & Python: Python 3.10+. Tested on Windows 11 and macOS (Apple M2 via MoltenVK, unbenchmarked). Linux is not yet verified.
  • GPU: Tested on NVIDIA RTX 4050 Laptop (6 GB), RTX 4080 (16 GB), RTX 4090 (24 GB), AMD Radeon RX 7900 XT (20 GB), and Apple M2. Uses 64-bit integer atomics when supported (Vulkan/D3D12) and falls back to 32-bit fixed-point accumulators otherwise.
  • VRAM: Balanced uses ~2.8 GiB on Mip-NeRF 360 by streaming photos from system RAM. Memory breakdown

Quickstart

Windows (GUI Hub)

  1. Get the code: git clone https://github.com/electronicarts/perf-gs.git (or download a ZIP from Releases / Code).

  2. Create a Python 3.11 environment and install (if py -3.11 --version fails, install Python 3.11 via the Python install manager):

    py -3.11 -m venv .venv
    .\.venv\Scripts\python.exe -m pip install -e .
  3. Launch the hub:

    .\.venv\Scripts\python.exe -m trainer.frontend.app --hub
  4. Train & export: Click Open dataset folder... (for raw photos, click Install reconstruction tools → Reconstruct to COLMAP), click Start Training, then Export PLY....

Train scene in the hub after 3,000 steps, with the Export PLY button visible Room scene in the hub before training, with the Balanced preset selected

macOS (Apple Silicon via MoltenVK)

Install the Vulkan loader, MoltenVK, and Apple's Metal Toolchain (Xcode Command Line Tools alone may omit it):

brew install molten-vk vulkan-loader
xcodebuild -downloadComponent MetalToolchain
python3 -m venv .venv
.venv/bin/python -m pip install -e ".[dev]"
.venv/bin/python -m trainer.frontend.app --hub

MoltenVK lacks 64-bit buffer atomics, so PERF-GS automatically uses 32-bit fixed-point accumulators. Verified with a 3,000-step Balanced Truck run on Apple M2; other Apple Silicon generations and larger scenes are not yet benchmarked.

PERF-GS completed a 3,000-step Balanced truck reconstruction on Apple M2

Command Line

Download the Tanks & Temples Truck scene (~650 MB) and train headless with Balanced (default; add --preset ultrafast|quality|quality+ to switch):

.\.venv\Scripts\python.exe scripts/data/download_tandt_db.py --set tandt
.\.venv\Scripts\python.exe -m trainer.frontend.app --scene "datasets/tandt/truck" --no-viewer --save-ply

Outputs are written under outputs/train/<timestamp>/output.ply. Run --help or see Usage | Hub walkthrough | Datasets.

Benchmarks

Mip-NeRF 360 Presets (RTX 4090)

Preset Steps Train time PSNR ↑ SSIM ↑ LPIPS ↓ Splats VRAM
Ultrafast 3,000 10.51 s 27.13 dB 0.7935 0.2564 1.43M 5.29 GiB
Balanced (default) 3,000 15.91 s 27.40 dB 0.8141 0.2228 2.07M 2.81 GiB
Quality 3,500 22.68 s 27.90 dB 0.8285 0.1996 2.10M 4.81 GiB
Quality+ 17,044 avg. 122.66 s 28.23 dB 0.8317 0.1909 2.10M 4.81 GiB

Hardware Scaling (Mip-NeRF 360)

Quality metrics stay within 0.02 dB PSNR (and 0.0005 SSIM / LPIPS) across all four tested GPUs; only training time and VRAM vary.

GPU Ultrafast Balanced Quality Quality+ Details
NVIDIA RTX 4090 (24 GB) 10.51 s (5.29 GiB) 15.91 s (2.81 GiB) 22.68 s (4.81 GiB) 122.66 s (4.81 GiB) CSV
NVIDIA RTX 4080 (16 GB) 17.62 s (5.29 GiB) 25.97 s (2.80 GiB) 32.44 s (4.80 GiB) 216.40 s (4.80 GiB) CSV
AMD RX 7900 XT (20 GB) 16.44 s (5.41 GiB) 27.02 s (2.85 GiB) 39.47 s (4.85 GiB) 202.04 s (4.85 GiB) CSV
NVIDIA RTX 4050 Laptop (6 GB, 30 W) 90.50 s* (3.20 GiB) 139.88 s (2.80 GiB) 191.41 s (4.77 GiB) - CSV

*On the 6 GB RTX 4050 Laptop, Ultrafast streamed indoor images from RAM on Bonsai, Counter, Kitchen, and Room to fit the 4.49 GiB local VRAM budget (stock Ultrafast completed 5/9 scenes in 69.54 s avg.).

Speed vs. Quality Frontier (RTX 4080)

Training-loop time and held-out PSNR for Gaussian splatting trainers measured on one RTX 4080.

Same-GPU comparison on all nine Mip-NeRF 360 scenes: PERF-GS Quality reaches 27.90 dB in 32.44 s vs. LiteGS (27.58 dB / 59.27 s), SAD-GS (27.19 dB / 159.21 s), SkipGS (27.43 dB / 184.26 s), and FastGS-Big (27.83 dB / 325.86 s). On the 7-scene subset used by gsplat/LichtFeld (excluding Flowers and Treehill), Quality+ averages 29.83 dB. Full trainer comparison & tables

More benchmarks: Tanks & Temples + Deep Blending (RTX 4050 Laptop, 6 GB / 30 W)
Dataset Preset Steps Train time PSNR ↑ SSIM ↑ LPIPS ↓ Splats VRAM
Mip-NeRF 360 (9 scenes) Ultrafast (stream indoor) 3,000 90.50 s 27.11 dB 0.7935 0.2566 1.43M 3.20 GiB
Mip-NeRF 360 (9 scenes) Balanced 3,000 139.88 s 27.40 dB 0.8143 0.2228 2.07M 2.80 GiB
Mip-NeRF 360 (9 scenes) Quality 3,500 191.41 s 27.89 dB 0.8285 0.1996 2.10M 4.77 GiB
Tanks & Temples (2 scenes) Ultrafast 3,000 73.91 s 23.92 dB 0.8379 0.1954 1.37M 3.71 GiB
Tanks & Temples (2 scenes) Balanced 3,000 105.40 s 24.10 dB 0.8507 0.1748 1.73M 2.60 GiB
Tanks & Temples (2 scenes) Quality 3,500 123.24 s 24.47 dB 0.8579 0.1660 1.30M 4.60 GiB
Deep Blending (2 scenes) Ultrafast 3,000 51.04 s 29.89 dB 0.9036 0.2741 1.02M 4.60 GiB
Deep Blending (2 scenes) Balanced 3,000 84.99 s 29.91 dB 0.9078 0.2585 1.70M 2.73 GiB
Deep Blending (2 scenes) Quality 3,500 115.19 s 30.19 dB 0.9114 0.2458 1.83M 4.72 GiB

All 39 measurements | System info | Reproduce | Truck telemetry

Per-scene benchmark charts (RTX 4090, RTX 4080, RX 7900 XT)

RTX 4090 per-scene presets

RX 7900 XT per-scene presets

RTX 4080 per-scene presets

Protocol: Headless Vulkan, seed 42, equal scene weights, 1/8 camera holdout (246 Mip-NeRF 360 views at 1/4 outdoor / 1/2 indoor; 70 T&T at 1/2; 62 DB at full res), scored with Graphdeco RGB8 PSNR, SSIM, and VGG LPIPS. Train time covers the optimization loop through final GPU sync (excluding loading, evaluation, and export); VRAM is loop-end process-local GPU memory. Full benchmark report, cross-vendor checks & methodology | Reproduction protocol

Overview

PERF-GS is built to run hundreds of experiments per day on a single consumer GPU - on an RTX 4090, Ultrafast completes all nine Mip-NeRF 360 scenes in 94.6 s of training time.

Trainer design

Initialization | Forward passes | Backward passes | Densification | Presets

Trainer architecture

We built on SlangPy to keep the training schedule modular in Python while writing fast, differentiable kernels in Slang - no separate native extension to build. SlangPy compiles and caches shader entry points directly from source and dispatches them through its RHI.

A primitive defines its projection, pixel coverage, and color; the compositor blends it. Slang.D differentiates projection and coverage directly from forward source, while outer backward shells are hand-written for speed. A small disk primitive in the test suite reuses the same forward blend loop. Primitive interfaces | Disk primitive test

Vulkan is the primary cross-platform target (including Apple Silicon via MoltenVK), and D3D12 on Windows shares the exact same shaders. Training has no CUDA or PyTorch dependency and supports both 32- and 64-lane waves across NVIDIA, AMD, and Apple GPUs.

Initialization

COLMAP sparse points initialize isotropic splats (opacity 0.1, scale from RMS distance to the 3 nearest neighbors). Up to 28 anchor training views are stereo-matched and three-view color-verified to seed up to 256,000 additional splats in under-sampled regions. For single-camera reconstructions, a radial lens-vignetting falloff strength is fitted once during setup (inspired by PPISP). Stereo init | Lens fit

Forward passes

Each step records forward render, image loss, backward passes, and Adam into one GPU submission. After growth, Morton reordering enables 128-splat cluster frustum culling. Splats are depth-sorted once per view, tile pairs are emitted in depth order, and a stable GPU radix sort orders only tile IDs. Rendering uses Mip-Splatting (3D + 2D filters with opacity compensation), skips $\alpha &lt; 1/255$, and early-outs below $T &lt; 10^{-4}$. Loss combines pixel error with separable 11x11 SSIM. Rasterizer | SSIM shader

Backward passes

Inspired by TamingGS, the forward pass checkpoints accumulated color and transmittance every 32 splats per tile. Indirect dispatches launch one wave per 32-splat bucket so each lane accumulates pixel gradients for one splat in registers using wave intrinsics before atomic reduction - drastically lowering memory contention. Separate passes differentiate projection and spherical harmonics once per contributing splat. Adam updates FP32 parameters from fixed-point atomic gradients (64-bit where supported, 32-bit fallback otherwise) using stochastically rounded BF16 moments. Blend backward | Projection backward | Adam precision

Densification

Growth combines SAD-GS anisotropic structure-aware splitting (every 500 steps, projecting splat axes against image structure tensors) with interleaved 100-step AbsGS-style gradient clone/split and low-opacity / low-blend-weight pruning. When proposed splits exceed capacity, expansions are ranked by gradient per child so whole families receive slots, strongest axis first. Structure scoring | Split ranking

Preset recipes

Preset Steps SH Pixel sampling Photos Growth cap Post-growth trim
Ultrafast 3,000 2 25% STBN GPU cache 1.85M -
Balanced (default) 3,000 2 100% Streamed from RAM 2.60M -
Quality 3,500 3 100% Streamed from RAM 4.00M Keep 75% by RGB removal cost at step 2,100
Quality+ Until plateau 3 100% Streamed from RAM 4.00M Same as Quality, then refines until training PSNR stalls (<0.05 dB over 3 checks)

All CLI flags and schedules

Reconstructions

Seed 42 held-out renders (Ultrafast & Balanced: 3,000 steps; Quality: 3,500 steps). Benchmarks

Reference photo Ultrafast Balanced Quality
Kitchen - DSCF0912.JPG - Quality 34.99 dB
Kitchen reference photograph and detail crop Kitchen Ultrafast render and detail crop Kitchen Balanced render and detail crop Kitchen Quality render and detail crop
Bicycle - _DSC8824.JPG - Quality 29.74 dB
Bicycle reference photograph and detail crop Bicycle Ultrafast render and detail crop Bicycle Balanced render and detail crop Bicycle Quality render and detail crop
Stump - _DSC9277.JPG - Quality 30.65 dB
Stump reference photograph and detail crop Stump Ultrafast render and detail crop Stump Balanced render and detail crop Stump Quality render and detail crop
Room - DSCF4763.JPG - Quality 36.30 dB
Room reference photograph and detail crop Room Ultrafast render and detail crop Room Balanced render and detail crop Room Quality render and detail crop
Bonsai - DSCF5725.JPG - Quality 35.45 dB
Bonsai reference photograph and detail crop Bonsai Ultrafast render and detail crop Bonsai Balanced render and detail crop Bonsai Quality render and detail crop

Scenes and reference photography from Barron et al., CVPR 2022. Mip-NeRF 360 dataset

Datasets

The download helpers link to three datasets that can be obtained separately by users - Download instructions

Dataset Project / attribution Included scene selection
Mip-NeRF 360 Barron et al., CVPR 2022 bicycle, bonsai, counter, garden, kitchen, room, stump (plus optional flowers and treehill)
Tanks & Temples Knapitsch et al., ACM TOG 2017 train, truck
Deep Blending Hedman et al., ACM TOG 2018 drjohnson, playroom

License

This project is provided under the BSD 3-Clause License, see LICENSE for details. See NOTICE for licensing details on other software and data.

Contributing

Before you can contribute, EA must have a Contributor License Agreement (CLA) on file that has been signed by each contributor. You can sign here.

How to Cite

Scolari, S. (2026). perf-gs. Electronic Arts. https://github.com/electronicarts/perf-gs

@software{scolari2026perfgs,
  author    = {Scolari, Stefano},
  title     = {{perf-gs}},
  year      = {2026},
  publisher = {Electronic Arts},
  url       = {https://github.com/electronicarts/perf-gs}
}

SEED


Search for Extraordinary Experiences Division (SEED) - Electronic Arts
http://seed.ea.com

We are a cross-disciplinary team within EA Worldwide Studios.
Our mission is to explore, build and help define the future of interactive entertainment.
PERF-GS was created by Stefano Scolari.

About

Fast. Lean. Cross-Vendor. Slang-based Gaussian splatting trainer: built for efficient and extensible differentiable rendering.

Resources

Stars

262 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages