>
sam3d-plus 0.0.2

Single-image 3D reconstruction with cached flow-matching sampler

SAM 3D Objects reconstructs full 3D shape, texture, and layout from a single masked image. This fork adds HiCache to the slat-stage flow-matching sampler, skipping most backbone evaluations by forecasting the cached velocity with a scaled-Hermite polynomial.

mamba env create -f environments/default.yml
mamba activate sam3d-objects

# for pytorch/cuda dependencies
export PIP_EXTRA_INDEX_URL="https://pypi.ngc.nvidia.com https://download.pytorch.org/whl/cu121"

# install sam3d-objects and core dependencies
pip install -e '.[dev]'
pip install -e '.[p3d]' # pytorch3d dependency on pytorch is broken, this 2-step approach solves it

# for inference
export PIP_FIND_LINKS="https://nvidia-kaolin.s3.us-east-2.amazonaws.com/torch-2.5.1_cu121.html"
pip install -e '.[inference]'
01

Evidence

HiCache interval-3 speedup1.44× vs the uncached baseline at F1 1.000 (transferred slat-stage table, not stock validation)
HiCache i3/o2 corrected forecastF1 = 1.000 (CD 0.0121) vs 0.0125 as-released
HiCache i5/o3 corrected forecastF1 = 1.000 (CD 0.0126) vs 0.0127 as-released
HiCache i6/o3 forecastF1 = 1.000 (CD 0.0128) under both sign conventions
Lossless interval rangeinterval-6 at F1@0.05 on this stage, speedups 1.3x to 1.5x
CPU contract testsFour tests pass with no GPU or model weights
02

Media

03

Install & verify

# CPU contract tests (no GPU or model weights)
pytest tests/ # expect 4 passed

# accel-module CPU unit self-test from the README
python -m sam3d_objects.model.backbone.generator.flow_matching.accel
04

Limits

What this release does not claim (from the release notes):

  • GPU speedup validation and weight-gated demo cells.
05

Family

Base modelSAM 3D Objects, accelerated by the hicache-plus-plus forecast core
Same basesam3d-plus-plus · fastsam3d-plus · fastsam3d-plus-plus
All 13 adaptersTRELLIS: faster-trellis, faster-trellis-plus-plus · TRELLIS.2: fast-trellis2, hermit-trellis2, hermit-trellis2-plus-plus · Hunyuan3D-2: hunyuan2-plus, hunyuan2-plus-plus · Hunyuan3D-2.1: hunyuan2.1-plus, hunyuan2.1-plus-plus · SAM: sam3d-plus, sam3d-plus-plus, fastsam3d-plus, fastsam3d-plus-plus
ExternalPaper arXiv:2511.16624 · Meta SAM 3D site