Files
vetta-infer/crates/vetta-infer-ld/Cargo.toml
T
adm fb94f2321c [LD] GPU weight packer + FIRST real-weight GPU run (Inkling trunk)
- ld::packer (feature hip): load_raw (tensor bytes -> DeviceBuf, dtype
  preserved) + load_bf16_as_f32 (BF16 norm weights upcast to f32 for the
  rms_norm kernel, matching the reference). The bridge from canonical IR to
  GPU-resident weights; the seam where the per-layer loading/precision policy
  (engine-side composition) will be applied.
- FIRST REAL-WEIGHT GPU RUN: load the real Inkling trunk (~1.85 GB: embed +
  unembed [201024,2304] BF16, embed_norm + final_norm) and run embed ->
  embed_norm -> final_norm -> cast -> unembed on gfx1150, producing real
  logits over vocab 201024 + argmax token (20612, logit 27.77, all finite).
  Trunk-only skip-layer baseline — proves packer + executor + sampling on
  real data end-to-end. The full layered forward + Inkling parity refinements
  (AttnRes block-mix etc.) come next for correct generation.
- ld: optional hip + rt deps, feature-gated (default workspace stays
  host-independent).

Verified: RUSTFLAGS="-D warnings" cargo test --workspace = 97/97 PASS;
lean proofs (4 files, 42 theorems) green; real-weight trunk run PASS
(--features hip, --ignored).
2026-12-01 14:19:54 +01:00

14 lines
484 B
TOML

[package]
name = "vetta-infer-ld"
version.workspace = true
edition.workspace = true
license.workspace = true
[dependencies]
vetta-infer-abi = { path = "../vetta-infer-abi" }
vetta-infer-hip = { path = "../vetta-infer-hip", optional = true }
vetta-infer-rt = { path = "../vetta-infer-rt", optional = true }
[features]
# GPU packer + real-weight run tests (links HIP backend + executor).
hip = ["dep:vetta-infer-hip", "vetta-infer-hip/hip", "dep:vetta-infer-rt", "vetta-infer-rt/hip"]