Expand description
Load .rlxp packages into a Session.
ⓘ
let compiled = rlx_runtime::pkg::compile_rlxp(&session, "model.rlxp")?;Also: open_rlxp, load_rlxp_graph, placement helpers, and
rlxp://path#tensor URI resolution in the weight cache.
Functions§
- compile_
rlxp - Compile the embedded MIR graph of an
.rlxppackage. - compile_
rlxp_ bind_ params - Compile an
.rlxpand bind every catalog tensor onto matching Params (and leave Constants toPackage::graphmaterialize). - compile_
rlxp_ with - Compile with explicit
CompileOptions. - load_
rlxp_ graph - Open a package and return its MIR graph (hot-tier materialize).
- load_
rlxp_ placement - Placement metadata from a package, if present.
- open_
rlxp - Open a flat
.rlxp, ZIP, or package directory. - tensors_
for_ rank - Tensor names this rank should load for a placement (metadata-only packs).
- weight_
names_ for_ rank - Prefer a physical
dist/rank-{rank}/tree when present; otherwise filter the global weight index bytensors_for_rank.