You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: f16-resident weights on the OpenXLA path (fusion-free bandwidth win) #572
Using the per-dtype weight ABI landed in #568, upload the resident (non-quantized) weights as f16 rather than f32-then-demote-in-graph, so the per-step weight DRAM read halves with no dequant and no fusion required. This is the low-hanging bandwidth win the #568 ABI already enables, independent of the fusion gate that blocks the packed int8 path.
Scope
Declare the affected resident weight args as f16 in the emitter (instead of f32) and have the dot consume them directly: f16 in, f32 accumulate.
Add selection plumbing: per device (GPU) default, overridable via MLXCEL_XLA_PRECISION.
Integration / acceptance
Wired into the normal load / serve path, not a standalone emitter helper: f16-resident weights are selected per device (GPU) or via MLXCEL_XLA_PRECISION, and defaulted where safe.
On GB10, measured tok/s >= current f16 and resident weight memory ~halved versus f32-resident, captured through the normal generation path (not iree-benchmark-module in isolation).
No dequant and no target fusion is required for this win (that is the point): it is orthogonal to the packed int8 fusion gate.
Dependencies
Depends on #571 (reproducible IREE toolchain) for the GB10 measurement.
Activity
docs: fusion spike findings for the packed int8 path (#573) (#578)
docs(xla): validate #575 low-precision on Metal + oracle dumper (#611)
docs: fusion spike findings for the packed int8 path (lablup#573) (la…
docs(xla): validate lablup#575 low-precision on Metal + oracle dumper (…