ltx23_load_transformer_nf4

Load the LTX-2.3 transformer with resident NF4 weights

Description

Builds the transformer, swaps the cast-set linears for ltx23_nf4_linear, and loads everything onto device: at ~4.5 bits/parameter the whole 22B transformer stays GPU-resident, avoiding per-step weight transfers.

Usage

ltx23_load_transformer_nf4(ckpt, device = "cuda", verbose = TRUE, ...)

Arguments

  • ckpt: An NF4 ltx23_checkpoint (ltx23_open_fp8_checkpoint reads any shard artifact).
  • device: Character.
  • verbose: Logical.
  • ...: Passed to ltx23_transformer (tiny test configs).

Value

The loaded ltx23_transformer.