PERF-GS

3D Gaussian Splatting in 10 seconds on an RTX 4090

Efficient, extensible, cross-vendor, dependency-free & low VRAM differentiable training

StumpReal-time demo · Ultrafast · RTX 4090
BicycleReal-time demo · Ultrafast · RTX 4090
BonsaiReal-time demo · Ultrafast · RTX 4090
GardenReal-time demo · Ultrafast · RTX 4090

Stump trains for 10.15 seconds in this recording, followed by a free-camera orbit. From opening the scene to the trained result took 13.90 seconds.

Nine-scene Mip-NeRF 360 averages

Ultrafast training loop
10.51 s
RTX 4090 · 3,000 steps
Quality reconstruction
27.90 dB
RTX 4090 · 22.68 s
Quality+ reconstruction
28.227 dB
RTX 4090 · 122.66 s

Overview

The goal was allowing hundreds of experiments in a day on a single consumer GPU. On our RTX 4090, Ultrafast preset runs the whole nine-scene Mip-NeRF 360 dataset in 94.6 seconds. Loading the photos, initializing the splats, scoring the held-out views and exporting the model take some minimal additional time.

Kitchen A metal mixing bowl, onions and an oven mitt on the Kitchen counter.
Splats binned per tile Tile counts range from blue at 0 to red at 9,731. The highest counts cluster near the back of the counter.
Each square in the heatmap is one image tile. In this earlier Kitchen run, the busiest tiles had nearly 10,000 splats assigned to them. Every extra entry is another item to sort and another splat the renderer may visit when blending that tile.
Trainer design

Trainer architecture

We use SlangPy to write the training schedule in Python, the backend gpu dispatching using SlangPy and the kernels in Slang. Python picks a training camera, sets learning rates and decides when to grow the model (frontend training loop/setup), SlangPy compiles and caches each shader entry point for the session, then dispatches it through its Python RHI. There's no separate native extension to build.

Slang autodiffs the math for one splat/primitive, while we write the backward pass that accounts for how overlapping splats combine into a pixel. A primitive defines its projection, coverage and color. Mark its projection and coverage functions as differentiable, and Slang generates their derivatives from the same source. The compositor blends the contributions. The disk primitive in our tests uses the same blend loop with its own coverage function. Primitive interfaces · Disk primitive test

Vulkan is the cross-platform target, and D3D12 on Windows uses the same shader sources. Training has no CUDA or PyTorch dependency, but it is totally possible to interop with PyTorch and other frameworks. We've run Vulkan training on Windows with the Nvidia RTX 4050 Laptop GPU, RTX 4080, RTX 4090 and AMD Radeon RX 7900 XT. Linux and macOS are unverified, yet.

Initialization

COLMAP gives us camera poses and the initial sparse point cloud. Its color initializes the constant spherical harmonic coefficient, its opacity starts at 0.1, and its initial scale comes from the root-mean-square distance to its three nearest neighbors. That lets a dense patch of points start with smaller splats than a sparse one.

We also seed geometry between those points. We take up to 28 anchor photos from the training split, rectify stereo pairs and match them in both directions. We then triangulate matches that agree left-to-right and right-to-left, then check where the 3D point lands in a third training photo. We keep it if the color agrees and this adds up to 256,000 splats in places the sparse reconstruction may barely have sampled, which helps speeding up initial convergence.

Taking inspiration from PPISP, for a single-camera reconstruction we fit one radial falloff strength during setup and apply it when rendering. Otherwise the trainer uses a flat response. Stereo initialization · Lens fit

Forward passes

One ordinary step records the forward render, image loss, backward passes and Adam update in one GPU submission. After growth, we reorder splats along a Morton curve so nearby splats sit together in memory. At the start of a view the GPU can then cull an off-screen cluster of 128 splats with one bounding-box test.

The renderer projects each surviving Gaussian to an ellipse, counts the 8 × 8 pixel tiles it overlaps, and evaluates its view-dependent color if it touches the image. We bound the ellipse at the opacity cutoff, then walk the rows or columns of that box to find the tiles the ellipse crosses.

Tiles inside the bounding box A blue rectangle encloses a slanted pink ellipse. The rectangle overlaps twelve yellow tiles.
Tiles touched by the ellipse The same ellipse intersects eight yellow tiles. Four of the twelve tiles fall outside the ellipse.
The box covers 12 tiles. Testing the ellipse itself keeps eight, so this splat needs four fewer entries in the tile lists. Yellow marks the tiles that each method assigns. Hanson et al., Speedy-Splat, Fig. 1b–c.

We use Mip-Splatting here. The training cameras set a 3D smoothing scale for each splat, and a 2D filter widens small projected footprints while compensating their opacity.

A large splat can touch many tiles. Sorting a depth key for every copy would repeat a lot of work. We sort splats by depth once per view, emit the splat–tile pairs in that order, then do a stable GPU radix sort on just the tile ID. Each tile gets a front-to-back list. The blend skips alpha below 1/255 and stops a pixel once its remaining transmittance falls below 0.0001. The loss compares the render with the training photo using pixel error and SSIM. The SSIM shader filters each 11 × 11 neighborhood first along rows, then along columns. Rasterizer · SSIM shader

Backward passes

Many pixels can see the same splat. If each pixel writes its own update, those writes compete for the same gradient in memory. Building on TamingGS, we give each GPU lane one splat within a tile. The lane adds up that tile's pixel contributions in registers, then writes the total for its splat.

One lane per pixel Four pixels each issue an atomic addition to the same splat gradient.
One lane per splat One lane sums the same four pixel contributions in registers and issues one atomic addition.
Follow one gradient component for one splat in a tile. With four contributing pixels, local accumulation turns four writes to the same address into one.

Each splat's contribution depends on what the splats in front of it have already blended. Every 32 splats in a tile, the forward pass saves each active pixel's accumulated RGB and remaining transmittance. An indirect dispatch schedules the groups reached by at least one pixel. Within each group, lanes use the saved values and wave operations to reconstruct the blend in front of their splat.

From a talk I gave (slides available soon, hopefully)
Per-pixel writes · slide 64 Nine pixel threads direct red atomic-add arrows toward the same gradient buffer.
Per-splat accumulation · slide 66 One lane handles each splat in depth order. Green arrows collect pixel contributions in registers and red arrows write to each splat's gradient buffer.
Depth groups within one tile · slide 80 Colored boxes group a tile’s depth-sorted splats. A yellow outline highlights one group of 32.
Each box holds up to 32 consecutive splats in the tile's depth order. The highlighted box is one backward job. A lane handles one splat in that group.

Once those contributions have been summed across tiles, a separate pass differentiates the projection once per contributing splat. Another pass handles spherical harmonic color and its dependence on view direction. Adam updates the parameters in 32-bit float (and we use int64 atomics for better cross-platform compatibility). Its two running moments are stored in bfloat16 with stochastic rounding, which halves the storage for those moments and lets small updates accumulate. Blend backward · Projection backward · Adam precision

Densification

How small does a splat need to be to represent the detail in a photo? We use a modified version of SAD-GS to answer that question for each of the splat's three axes.

Local structure in the photo Yellow ellipses trace the local scale and direction of detail in a photograph of a locomotive.
Structure-aware splitting Two cameras see different projections of a Gaussian. The resulting children are narrower along the axis that needs more detail.
On the locomotive, the yellow ellipses pick out long edges along the body and finer detail around the wheels. Different cameras see a splat from different angles. Together those views tell us which axis needs to split. Illustration by Lyu et al., SAD-GS.

During growth, every tenth step samples a structure tensor built from RGB gradients in the training photo to estimate the local image frequency. We project each of the splat's axes into that view and compare its length with the scale of the image detail. If the projected axis is longer than the estimated wavelength of that detail, the view votes to split that axis. We accumulate votes across cameras.

Every 500 steps during growth, a splat can split if over 64% of its eligible observations vote for more detail and its screen-position loss gradient is large enough. Depending on which axes need subdivision, one parent can become two, four or eight children. On the intervening 100-step growth updates, we use an AbsGS-style update driven by accumulated screen-position gradients. Small splats with a large gradient can be cloned and larger ones can split. Growth updates can also prune splats with low opacity or little accumulated blend weight. With Quality's 4M cap, proposed splits can outnumber the free slots. We rank expansions by the parent's average screen-position gradient divided by the proposed family size and give space to whole families, strongest axis first. Structure scoring · Split allocation

Presets

All four presets use the renderer and growth rules above, but we change how many pixels and splats get work, where the photos live, and how long we keep refining. The timings and held-out PSNR below are means over the nine Mip-NeRF 360 scenes on the RTX 4090, with equal weight per scene.

Ultrafast

A spatiotemporal blue-noise mask picks a quarter of the pixels for the backward pass, scales their gradients by four, and advances on the next visit to that camera, while SSIM still sees the full neighborhood. Degree-2 spherical harmonics and 3,000 steps gave 10.51 s at 27.13 dB.

To isolate sparse pixel sampling advantages, run Ultrafast twice on the same scene and seed. Set --stbn-pixel-fraction 1 on the second run. You get full pixel supervision with the same growth cap, color model and GPU image cache.

Balanced

Balanced runs for the same 3,000 steps with the same degree-2 color model, and uses every pixel for supervision. It's the default. It allows up to 2.6M splats and grows through step 1,900. We stream the current photo from RAM into a mapped GPU texture and compute its structure map when needed. On Bicycle alone, caching all 169 training photos takes 656 MiB of packed pixels and their structure maps add another 1,311 MiB before texture padding. Reusing those textures is how Balanced fits more splats in less VRAM than Ultrafast. It averaged 15.91 s at 27.40 dB, with 2.81 GiB of GPU memory at loop end versus Ultrafast's 5.29 GiB.

Quality

Here we still stream the photos and use every pixel. Moving from degree-2 to degree-3 spherical harmonics gives each color channel 16 coefficients instead of nine to fit changes with viewing angle. It can grow to 4M splats through step 1,900. For the next 200 steps, we sample one pixel per 4 × 4 block and estimate how much its RGB would change if a splat disappeared. The estimate accounts for the splats in front of it and the color that would show through from behind.

At step 2,100 the CPU ranks the removal costs collected on the GPU, and the GPU compacts the surviving splats. We aim to keep 75% of the live population and always keep splats we didn't observe during scoring. The final 1,400 steps refine the survivors. That gave 22.68 s at 27.90 dB and 2.10M final splats on average. We tried the same 75% trim on Bicycle and Kitchen with the two faster presets. SSIM and LPIPS got worse in all four runs, so we left it out of those presets.

Quality+

This runs Quality's 3,500 steps and continues with the model it just trained. The splat count stays fixed and we keep the Adam state, final learning rates and loss weights. To decide when to stop, we render up to eight fixed training views every four passes' worth of updates (at least 100 steps). A cumulative gain of 0.05 dB in mean PSNR resets the counter. Three checks without that gain end the run. The held-out views are used for reporting. On the 4090 that bought another 0.33 dB on average, reaching 28.227 dB in 122.66 s including the convergence checks. The four indoor scenes gained 0.69 dB on average and the five outdoor scenes gained 0.04 dB. Preset settings and stopping rule · Benchmark results

Reconstructions - animated

Kitchen · RTX 4080 · 3,000 steps per model · seed 42
Bicycle · RTX 4080 · 3,000 steps per model · seed 42

Benchmark results

The desktop GPU results average the nine Mip-NeRF 360 scenes equally. Graphdeco evaluation covers 246 held-out views, at quarter resolution outdoors and half resolution indoors. See the RTX 4050 Laptop GPU results on three datasets below.

GPU / presetStepsTrain loopPSNRSSIMVGG LPIPSEnd VRAM
RTX 4090 24 GB
Ultrafast3,00010.51 s27.13 dB0.79350.25645.29 GiB
Balanced3,00015.91 s27.40 dB0.81410.22282.81 GiB
Quality3,50022.68 s27.90 dB0.82850.19964.81 GiB
Quality+17,044 avg.122.66 s28.227 dB0.83170.19094.81 GiB
RTX 4080 16 GB
Ultrafast3,00017.62 s27.13 dB0.79360.25675.29 GiB
Balanced3,00025.97 s27.39 dB0.81430.22292.80 GiB
Quality3,50032.44 s27.90 dB0.82860.19974.80 GiB
Quality+17,536 avg.216.40 s28.225 dB0.83160.19074.80 GiB
Radeon RX 7900 XT 20 GB
Ultrafast3,00016.44 s27.125 dB0.79360.25695.41 GiB
Balanced3,00027.02 s27.391 dB0.81430.22292.85 GiB
Quality3,50039.47 s27.898 dB0.82860.19974.85 GiB
Quality+17,189 avg.202.04 s28.210 dB0.83160.19094.85 GiB

Headless Vulkan, seed 42. Training-loop timing excludes COLMAP reconstruction, loading, initialization, held-out evaluation and export. Quality+ includes its training-view convergence checks. VRAM is sampled at loop end.

RTX 4050 Laptop GPU (6 GB)

We tested each preset on 13 scenes on a Dell XPS 14 9440 with a 30 W enforced GPU power limit. Each row averages its completed scenes equally. Mip-NeRF 360 covers nine scenes at quarter resolution outdoors and half resolution indoors. Tanks & Temples covers Train and Truck at half resolution, and Deep Blending covers DrJohnson and Playroom at full resolution.

DatasetPresetScenesStepsTrain loopPSNR ↑SSIM ↑VGG LPIPS ↓Final splatsEnd VRAM
Mip-NeRF 360Ultrafast5/93,00069.54 s24.575 dB0.69570.30311.59M3.86 GiB
Mip-NeRF 360Ultrafast
(stream where required)
9/93,00090.50 s27.112 dB0.79350.25661.43M3.20 GiB
Mip-NeRF 360Balanced9/93,000139.88 s27.395 dB0.81430.22282.07M2.80 GiB
Mip-NeRF 360Quality9/93,500191.41 s27.893 dB0.82850.19962.10M4.77 GiB
Tanks & TemplesUltrafast2/23,00073.91 s23.921 dB0.83790.19541.37M3.71 GiB
Tanks & TemplesBalanced2/23,000105.40 s24.104 dB0.85070.17481.73M2.60 GiB
Tanks & TemplesQuality2/23,500123.24 s24.466 dB0.85790.16601.30M4.60 GiB
Deep BlendingUltrafast2/23,00051.04 s29.890 dB0.90360.27411.02M4.60 GiB
Deep BlendingBalanced2/23,00084.99 s29.914 dB0.90780.25851.70M2.73 GiB
Deep BlendingQuality2/23,500115.19 s30.191 dB0.91140.24581.83M4.72 GiB

Ultrafast exceeded the GPU memory budget during setup on Bonsai, Counter, Kitchen and Room. The stock row averages the scenes that completed with the preset defaults. The “stream where required” row adds the affected scenes, rerun with training images streamed from system RAM. The per-scene CSV records each override and the original capacity error. The trainer also reduces the splat capacity automatically when needed. The CSV lists the requested and effective capacities for each run.

Headless Vulkan, seed 42. Loop times exclude setup, held-out scoring and export. VRAM is process-local GPU memory at loop end. Graphdeco scored RGB8 renders from every eighth registered camera.

Inspect all 39 laptop runs
ScenePresetTest viewsTrain loopPSNR ↑SSIM ↑VGG LPIPS ↓Final splatsEnd VRAM
BicycleUltrafast2561.80 s24.591 dB0.70290.30201.61M4.16 GiB
BicycleBalanced2597.37 s25.102 dB0.75440.23972.49M2.72 GiB
BicycleQuality25139.60 s25.624 dB0.78230.20002.61M4.72 GiB
FlowersUltrafast2271.07 s21.473 dB0.56970.38211.59M3.96 GiB
FlowersBalanced22111.09 s21.724 dB0.60180.34022.49M2.72 GiB
FlowersQuality22169.87 s22.025 dB0.62980.30202.55M4.72 GiB
GardenUltrafast2484.16 s26.786 dB0.82460.18701.59M4.16 GiB
GardenBalanced24140.59 s27.267 dB0.85320.13472.26M2.73 GiB
GardenQuality24203.85 s27.774 dB0.86880.11132.35M4.73 GiB
StumpUltrafast1662.41 s26.957 dB0.76870.25161.58M3.41 GiB
StumpBalanced16100.03 s27.331 dB0.79230.21412.55M2.72 GiB
StumpQuality16145.81 s27.700 dB0.80930.18812.61M4.72 GiB
TreehillUltrafast1868.26 s23.070 dB0.61250.39281.59M3.62 GiB
TreehillBalanced18109.35 s23.088 dB0.64150.33362.47M2.73 GiB
TreehillQuality18158.18 s23.230 dB0.65780.28952.71M4.72 GiB
BonsaiUltrafast (streamed retry)37107.29 s30.730 dB0.93490.20771.32M2.38 GiB
BonsaiBalanced37159.84 s30.962 dB0.93810.19901.74M2.89 GiB
BonsaiQuality37211.27 s31.699 dB0.94270.19021.90M4.83 GiB
CounterUltrafast (streamed retry)30129.19 s28.098 dB0.89540.21471.20M2.38 GiB
CounterBalanced30195.59 s28.124 dB0.90080.20311.47M2.89 GiB
CounterQuality30247.08 s28.749 dB0.90810.19281.34M4.83 GiB
KitchenUltrafast (streamed retry)35132.54 s30.873 dB0.91940.14221.13M2.38 GiB
KitchenBalanced35196.69 s31.072 dB0.92430.13071.52M2.89 GiB
KitchenQuality35243.09 s31.831 dB0.92970.12421.22M4.83 GiB
RoomUltrafast (streamed retry)3997.78 s31.434 dB0.91380.22971.25M2.38 GiB
RoomBalanced39148.39 s31.884 dB0.92190.21041.65M2.89 GiB
RoomQuality39203.93 s32.402 dB0.92800.19871.65M4.83 GiB
TrainUltrafast3874.51 s20.961 dB0.77580.26121.35M3.86 GiB
TrainBalanced38100.55 s21.109 dB0.79430.23851.65M2.60 GiB
TrainQuality38120.08 s21.540 dB0.80430.22681.25M4.60 GiB
TruckUltrafast3273.31 s26.880 dB0.89990.12971.38M3.55 GiB
TruckBalanced32110.25 s27.099 dB0.90720.11111.81M2.60 GiB
TruckQuality32126.40 s27.392 dB0.91140.10531.35M4.60 GiB
DrJohnsonUltrafast3347.51 s29.102 dB0.89600.28790.79M4.65 GiB
DrJohnsonBalanced3386.50 s29.298 dB0.90280.26791.72M2.74 GiB
DrJohnsonQuality33118.65 s29.669 dB0.90830.25121.94M4.73 GiB
PlayroomUltrafast2954.57 s30.677 dB0.91130.26031.24M4.54 GiB
PlayroomBalanced2983.48 s30.529 dB0.91270.24901.68M2.72 GiB
PlayroomQuality29111.73 s30.713 dB0.91450.24031.73M4.72 GiB
Compare the same models on Radeon and GeForce Nearly identical RTX 4080 and RX 7900 XT crops of Stump and Kitchen, alongside amplified pixel differences

Both cards rendered the same two saved models from 51 held-out cameras using Vulkan. Of 219,272,010 RGB8 channel values, 712 differed by more than one level. The largest difference was 12 levels. Fixed-model measurements

Training fresh models on each GPU produced larger differences. Across the four presets, 11 of 984 matched views differed by over 1 dB in PSNR. The largest gap was 4.26 dB on a Room view at Quality+. Compare that view · Per-view differences

Quality+ convergence on the RTX 4090 Training-view PSNR gains on Bicycle and Room, and the change in held-out PSNR from Quality to Quality+ for each of the nine scenes

Quality+ stopped between 8,652 and 21,996 steps. Compared with Quality, held-out PSNR rose on six scenes and by 0.326 dB on average. VGG LPIPS improved on all nine.

Compare trainers on the same RTX 4080 Training-loop time versus held-out PSNR for PERF-GS, LiteGS, SAD-GS, SkipGS and FastGS-Big on the same RTX 4080

The dashed line connects measured configurations that improve PSNR as more training time becomes available. Method settings and measurements

Train your own scene

Perf-gs was designed to be extremely simple to setup and install.

git clone https://github.com/electronicarts/perf-gs.git
cd perf-gs
py -3.11 -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e .
After installation, launch the hub and click Open dataset folder.... For photos, click Install reconstruction tools if prompted, then Reconstruct to COLMAP. An existing COLMAP scene opens directly.

python -m trainer.frontend.app --hub

Once the point cloud appears, choose a preset and click Start Training. Explore the result and save it with Export PLY....

Installation and quickstart

Ultrafast requires NVIDIA's separately licensed research masks. Balanced is the default.

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
Train after 3,000 steps (left) and Room ready to train (right).

Citation

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