Hi3D-INT4

hi3d-official/Hi3Dv1.0 (image-conditioned 3D geometry refinement) with a calibrated INT4 refinement transformer and an INT8 conditioner (DINOv2 + CLIP). Same method and runtime family as JustAnotherUser1/TRELLIS.2-ROCm-INT4 and JustAnotherUser1/Pixal3D-ROCm-INT4.

The transformer was calibrated block by block with RoundBit (AutoRound-style: learned rounding and group scales; INT4, group size 64, 50 iterations per block, ~4.25 bits per weight incl. scales). 168 linear layers are quantized.

Results

For Hi3D, RoundBit only covers the 512 path. Counting everything that path needs, it is about 3Γ— smaller: 6.5 GB shrinks to 2.2 GB (βˆ’67 %). As with Pixal3D, that is the size of a self-contained package; today the stock files still have to be present.

Size (512 path)

part stock RoundBit note
transformer_512 3.68 GB (fp16) 0.91 GB + 0.26 GB INT4; the 0.26 GB is non-quantized tensors still read from stock.
conditioner (DINOv2 + CLIP) 2.43 GB (fp32) 0.62 GB INT8; stock figure from the RoundBit Hi3D README.
VAE 0.38 GB 0.38 GB not quantized
total 6.48 GB 2.17 GB 3.0Γ—, βˆ’67 %
  • Replaced parts only: 6.11 GB becomes 1.53 GB, a factor of 4.0Γ—.
  • 1024 path: transformer_1024 (3.68 GB) is not converted. If you count it too, Hi3D goes from 10.2 GB to 5.8 GB (1.7Γ—).
  • MCP runner: the INT4 transformer and INT8 conditioner are only used by the RoundBit eval script; the 3d_creator MCP runner still loads stock weights.

VRAM and speed (fox, seed 42)

setup peak VRAM time
stock, everything on GPU 7.1 GiB not recorded
stock with offload 3.81 GiB 22 s
RoundBit with offload 1.50 GiB 20 s

For large objects the VAE decode sets the peak: the police robot reaches 2.20 GiB.

Quality

Quality is measured as chamfer distance to the stock mesh; two stock runs with different seeds already differ by 0.0017–0.0021.

object chamfer vs stock
fox (unseen) 0.0021
throne (unseen) 0.0029
police robot (unseen) 0.0036

The fox is at the noise floor; the robot and throne are slightly above it.

These figures are for the default int_smoke file (calibrated on the dragon). The alternative int_multi file (dragon + 6 TRELLIS.2 objects) gives fox 0.0023, police robot 0.0031, throne 0.0035.

Files

file content size
int_smoke/roundbit_512.pt INT4 g64 transformer layers, calibrated on the dragon. Default. 908 MB
int_multi/roundbit_512.pt INT4 g64 transformer layers, calibrated on dragon + 6 TRELLIS.2 objects 908 MB
cond_int8.pt INT8 conditioner (DINOv2 + CLIP), built by roundbit_hi3d.py save_cond 621 MB

These are RoundBit tuning states ({"layers", "info"}) as PyTorch files, not .safetensors. The eval runtime loads them as real 4-bit Int4Linear layers. Each file replaces only the quantized layers; everything else is still loaded from hi3d-official/Hi3Dv1.0, so you need that repository as well.

Usage

Put the files back under RoundBit/runs/hi3d/ in a RoundBit checkout (keeping the int_smoke/ and int_multi/ folders), then:

hf download JustAnotherUser1/Hi3D-ROCm-INT4 --local-dir RoundBit/runs/hi3d
$PY hi3d/roundbit_hi3d.py eval --tag int_smoke --obj fox --seed 42      # --cond_int8 1 is the default

Details: hi3d/README.md in RoundBit.

License

The weights are derived from hi3d-official/Hi3Dv1.0 and are subject to the Hi3D Open License Agreement 1.0. The RoundBit runtime code has its own license terms.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for JustAnotherUser1/Hi3D-ROCm-INT4

Finetuned
(6)
this model