[](https://electronicarts.github.io/perf-gs/)
[](#requirements)
[](#architecture-from-a-high-level)
[](#requirements)
# PERF-GS: 3DGS in 10 seconds
**Efficient, extensible, dependency-free, low-memory 3D Gaussian Splatting training in Python and Slang. No CUDA or PyTorch required.**
PERF-GS is a 3D Gaussian Splatting (3DGS) trainer built on Python and Slang that runs on NVIDIA, AMD, and Apple Silicon GPUs via Vulkan or Direct3D 12, no CUDA or PyTorch required.
Open a folder of photos (with built-in COLMAP reconstruction) or an existing COLMAP scene in the standalone app, train in seconds, and export standard PLY models.
Across all nine Mip-NeRF 360 scenes on an **RTX 4090** (training loop mean, Graphdeco RGB8 evaluation), PERF-GS averages:
- **27.13 dB in 10.51 s** (*Ultrafast*, 3,000 steps)
- **27.40 dB in 15.91 s** (*Balanced*, 3,000 steps, **2.81 GiB** VRAM)
- **27.90 dB in 22.68 s** (*Quality*, 3,500 steps)
- **28.23 dB in 122.66 s** (*Quality+*, 29.84 dB on the 7-scene subset)
To the best of our knowledge (as of November 2026), PERF-GS is the fastest open-source 3DGS trainer. On the same RTX 4080, *Quality* trains **1.8× faster than [LiteGS](https://github.com/MooreThreads/LiteGS)**, **4.9× faster than [SAD-GS](https://github.com/LinjieLyu/SADGS)**, **5.7× faster than [SkipGS](https://github.com/ASU-ESIC-FAN-Lab/SkipGS)**, and **10.0× faster than [FastGS-Big](https://github.com/fastgs/FastGS)** at higher 9-scene PSNR, while *Balanced* fits in **2.80 GiB** of VRAM on a 6 GB RTX 4050 Laptop GPU.
[Quickstart](#quickstart) | [Benchmarks](#benchmarks) | [Trainer Comparison](#trainer-comparison) | [Reconstructions](#reconstructions) | [Design](#architecture-from-a-high-level)

*Stump - Ultrafast - RTX 4090 - 9.21 s training loop (13.08 s from scene open)* | [GIF](assets/stump-preview.gif) | [Full-res WebP](assets/stump-rtx4090-orbit.webp)
## Requirements
- **OS & Python:** Python 3.10+. Tested on Windows 11, Linux (Vulkan), and macOS (Apple M2 via MoltenVK, unbenchmarked).
- **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](docs/benchmarks.md#where-memory-goes)
## 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](https://www.python.org/downloads/windows/)):
```powershell
py -3.11 -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e .
```
3. **Launch the hub:**
```powershell
.\.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...**.
macOS (Apple Silicon via MoltenVK)
Install the Vulkan loader, MoltenVK, and Apple's Metal Toolchain (Xcode Command Line Tools alone may omit it):
```sh
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.

Linux (Vulkan)
Ensure a Vulkan GPU driver and loader are installed (plus `zenity` or `kdialog` and `xdg-utils` for Hub file dialogs, and `colmap` on `PATH` or `--colmap-bin` if reconstructing raw photos):
```sh
python3 -m venv .venv
.venv/bin/python -m pip install -e ".[dev]"
.venv/bin/python -m trainer.frontend.app --hub
```
Automatic VRAM budgeting uses NVML (`libnvidia-ml.so.1`) on NVIDIA GPUs and DRM sysfs on AMD GPUs. Verified on Linux x86_64 with an NVIDIA RTX 4060 Laptop GPU (8 GB, Vulkan; unbenchmarked).
### Command Line
Download the Tanks & Temples Truck scene (~650 MB) and train headless with *Balanced* (default; add `--preset ultrafast|quality|quality+` to switch):
```powershell
.\.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//output.ply`. Run `--help` or see [Usage](docs/usage.md#training) | [Hub walkthrough](docs/usage.md#interactive-hub) | [Datasets](docs/usage.md#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](docs/data/NVIDIA_GeForce_RTX_4090_presets_current.csv) · [Q+](docs/data/NVIDIA_GeForce_RTX_4090_qualityplus.csv) · [Repro](docs/benchmark-rtx4090.md) |
| **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](docs/data/NVIDIA_GeForce_RTX_4080_presets.csv) · [Q+](docs/data/NVIDIA_GeForce_RTX_4080_qualityplus.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](docs/data/AMD_Radeon_RX_7900_XT_presets.csv) · [Q+](docs/data/AMD_Radeon_RX_7900_XT_qualityplus.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](docs/data/NVIDIA_GeForce_RTX_4050_Laptop_GPU_benchmarks.csv) · [Repro](docs/benchmark-rtx4050.md) |
*\*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.).*
### Trainer Comparison: Speed vs. Quality Frontier (RTX 4080)

All trainers below were measured headless on the **same RTX 4080 (16 GB)** across all nine Mip-NeRF 360 scenes (seed 42, `images_4` outdoors / `images_2` indoors, 246 held-out views scored with Graphdeco RGB8 PSNR; the 7-scene column excludes *Flowers* and *Treehill* for comparability with gsplat / LichtFeld Studio / Opt3DGS). PERF-GS ran on Windows Vulkan; external trainers ran on WSL2 CUDA.
| Trainer / Preset | Steps | Train loop ↓ | Launch to PLY ↓ | PSNR (9 scenes) ↑ | PSNR (7 scenes) ↑ | End VRAM | Backend / GPU Vendors |
| --- | ---: | ---: | ---: | ---: | ---: | ---: | --- |
| **PERF-GS Ultrafast** | 3,000 | **17.62 s** | 31.28 s | 27.13 dB | 28.52 dB | 5.29 GiB | Vulkan / D3D12 (NVIDIA, AMD, Apple) |
| **PERF-GS Balanced** *(default)* | 3,000 | **25.97 s** | 41.30 s | 27.39 dB | 28.81 dB | **2.80 GiB** | Vulkan / D3D12 (NVIDIA, AMD, Apple) |
| **PERF-GS Quality** | 3,500 | **32.44 s** | - | **27.90 dB** | **29.40 dB** | 4.80 GiB | Vulkan / D3D12 (NVIDIA, AMD, Apple) |
| **PERF-GS Quality+** | 17,536 avg. | 216.40 s | - | **28.23 dB** | **29.83 dB** | 4.80 GiB | Vulkan / D3D12 (NVIDIA, AMD, Apple) |
| [LiteGS](https://github.com/MooreThreads/LiteGS) *(aggressive, 1M)* | 9,760–9,982 | 59.27 s | - | 27.58 dB | 29.04 dB | - | CUDA (NVIDIA) |
| [SAD-GS](https://github.com/LinjieLyu/SADGS) *(host cache)* | 3,000 | 159.21 s | - | 27.19 dB | 28.66 dB | - | CUDA (NVIDIA) |
| [SkipGS](https://github.com/ASU-ESIC-FAN-Lab/SkipGS) *(FastGS Standard)* | 30,000 | 184.26 s | - | 27.43 dB | 28.97 dB | - | CUDA (NVIDIA) |
| [FastGS-Big](https://github.com/fastgs/FastGS) | 30,000 | 325.86 s | - | 27.83 dB | 29.44 dB | - | CUDA (NVIDIA) |
*Train loop* covers optimization through final GPU sync (excluding loading, initialization, evaluation, and export); *Launch to PLY* measures process creation through disk-synced PLY export (dashes mark clocks not collected across all nine scenes). [Full trainer comparison, published cross-GPU baselines & reproduction patches](docs/benchmarks.md#rtx-4080-comparison) | [RTX 4080 CSV](docs/data/NVIDIA_GeForce_RTX_4080_presets.csv) | [LiteGS CSV](docs/data/mipnerf360_litegs_4080.csv) | [Peers CSV](docs/data/mipnerf360_peers_4080.csv)
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](docs/data/NVIDIA_GeForce_RTX_4050_Laptop_GPU_benchmarks.csv) | [System info](docs/data/NVIDIA_GeForce_RTX_4050_Laptop_GPU_system.txt) | [Reproduce](docs/benchmark-rtx4050.md) | [Truck telemetry](docs/benchmarks.md#truck-timing-and-memory)
Per-scene benchmark charts (RTX 4090, RTX 4080, RX 7900 XT)



**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](docs/benchmarks.md) | [Reproduction protocol](docs/mipnerf360_3k.md#reproduce-the-benchmark)
## 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](#initialization) | [Forward passes](#forward-passes) | [Backward passes](#backward-passes) | [Densification](#densification) | [Presets](#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](shaders/core/interfaces.slang) | [Disk primitive test](tests/test_disk_primitive.py)
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](https://research.nvidia.com/labs/sil/projects/ppisp/)). [Stereo init](src/trainer/data/stereo.py) | [Lens fit](src/trainer/data/lens_calibration.py)
### 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 < 1/255$, and early-outs below $T < 10^{-4}$. Loss combines pixel error with separable 11x11 SSIM. [Rasterizer](src/trainer/backend/render/rasterizer.py) | [SSIM shader](shaders/losses/ssim_loss.slang)
### Backward passes
Inspired by [TamingGS](https://arxiv.org/abs/2406.15643), 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](shaders/rasterize/tile_binned/backward_persplat.slang) | [Projection backward](shaders/rasterize/tile_binned/projection_backward.slang) | [Adam precision](shaders/common/adam_precision.slang)
### Densification
Growth combines [SAD-GS](https://vcai.mpi-inf.mpg.de/projects/SAD-GS/) anisotropic structure-aware splitting (every 500 steps, projecting splat axes against image structure tensors) with interleaved 100-step [AbsGS](https://arxiv.org/abs/2404.10484)-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](shaders/densify/score_structure_aware.slang) | [Split ranking](shaders/densify/rank_families.slang)
Preset recipes
| Preset | Steps | SH | Pixel sampling | Photos | Growth cap | Post-growth trim |
| --- | ---: | ---: | --- | --- | ---: | --- |
| Ultrafast | 3,000 | 2 | 25% [STBN](docs/stbn_pixel_sampling.md) | 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](docs/usage.md#training)
## Reconstructions
Seed 42 held-out renders (*Ultrafast* & *Balanced*: 3,000 steps; *Quality*: 3,500 steps). [Benchmarks](#benchmarks)
| Reference photo |
Ultrafast |
Balanced |
Quality |
| Kitchen - DSCF0912.JPG - Quality 34.99 dB |
 |
 |
 |
 |
| Bicycle - _DSC8824.JPG - Quality 29.74 dB |
 |
 |
 |
 |
| Stump - _DSC9277.JPG - Quality 30.65 dB |
 |
 |
 |
 |
| Room - DSCF4763.JPG - Quality 36.30 dB |
 |
 |
 |
 |
| Bonsai - DSCF5725.JPG - Quality 35.45 dB |
 |
 |
 |
 |
Scenes and reference photography from Barron et al., CVPR 2022. [Mip-NeRF 360 dataset](https://jonbarron.info/mipnerf360/)
## Datasets
The download helpers link to three datasets that can be obtained separately by users - [Download instructions](docs/usage.md#datasets)
| Dataset | Project / attribution | Included scene selection |
| --- | --- | --- |
| Mip-NeRF 360 | [Barron et al., CVPR 2022](https://jonbarron.info/mipnerf360/) | bicycle, bonsai, counter, garden, kitchen, room, stump (plus optional flowers and treehill) |
| Tanks & Temples | [Knapitsch et al., ACM TOG 2017](https://www.tanksandtemples.org/) | train, truck |
| Deep Blending | [Hedman et al., ACM TOG 2018](https://repo-sam.inria.fr/fungraph/deep-blending/) | drjohnson, playroom |
## License
This project is provided under the BSD 3-Clause License, see [LICENSE](LICENSE) for details. See [NOTICE](NOTICE.md) 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](https://electronicarts.na1.echosign.com/public/esignWidget?wid=CBFCIBAA3AAABLblqZhByHRvZqmltGtliuExmuV-WNzlaJGPhbSRg2ufuPsM3P0QmILZjLpkGslg24-UJtek*). See [CONTRIBUTING.md](CONTRIBUTING.md) for dev setup, test commands, and the benchmark regression gate.
## How to Cite
Scolari, S. (2026). *perf-gs*. Electronic Arts.
```bibtex
@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.