Skip to content

v0.6.0 — CUDA geometry fixes, robust BiRefNet, legacy NVIDIA support

Latest

Choose a tag to compare

@pwilkin pwilkin released this 19 Aug 20:00

Highlights

Reliable CUDA geometry at high resolution (#33). This release fixes the severe
holes and corrupted geometry seen with the 0.5.4 CUDA build. FlashAttention values
are power-of-two scaled around the tensor-core path so large shape-SLAT activations
stay finite, and the pinned GGML revision uses 64-bit mask strides for attention
masks larger than 2 GiB. Sparse subdivision now also detects non-finite or empty
results and retries or fails with a useful diagnostic instead of silently producing
a broken mesh.

BiRefNet uses less memory and preserves the source aspect ratio (#34, #35). The
final high-resolution convolutions are evaluated in bounded-height stripes, reducing
peak backend allocations on memory-constrained GPUs. The predicted matte is resized
back to the original image dimensions before the subject is cropped, so non-square
inputs are no longer stretched. Background-removal cutouts now retain RGBA alpha.

Legacy NVIDIA binaries (#30). Releases now include separate cuda12 packages,
built with CUDA 12.9 for Pascal and Volta GPUs (compute capability 6.0, 6.1 and 7.0),
including cards such as the Tesla P100. The Linux and Windows installers detect these
GPUs and select the legacy runtime automatically. The standard cuda packages remain
the CUDA 13.1 builds for Turing and newer GPUs.

Performance and build improvements

  • CPU execution now uses all available cores by default. --threads N and the
    TRELLIS_THREADS environment variable can override the count; the contributed
    20-core benchmark improved the sparse-structure flow stage from 305 s/step to
    118 s/step (2.6x). Thanks @3DJ77.
  • Custom CUDA kernels now honor CMAKE_CUDA_ARCHITECTURES, so source builds target
    the architectures requested by the caller. Thanks @RaresKeY.
  • Added focused regression tests for large FlashAttention masks, BF16 value range,
    degenerate sparse subdivision, and image preprocessing.
  • Added the intended MIT license (#28). Thanks @3DJ77.

Downloads

Each backend archive contains both trellis-server and trellis-cli:

  • trellis-cuda-* — NVIDIA Turing and newer (CUDA 13.1)
  • trellis-cuda12-* — NVIDIA Pascal/Volta (CUDA 12.9)
  • trellis-vulkan-* — Vulkan backend
  • trellis-rocm-* — experimental AMD ROCm backend

Trellis Studio is available as Linux AppImage, Debian package, and portable tarball,
plus Windows installer and portable zip. Existing standalone installations can be
updated by running the installer again; it will select the appropriate runtime.

Full changelog: v0.5.4...v0.6.0