Checkpoint Weight Assemble#
- CheckpointWeightPhase trt_edgellm::rt::checkpointWeightPhase(
- nlohmann::json const &binding
Return the materialization phase owned by this transform recipe.
- bool trt_edgellm::rt::checkpointWeightManagesSourceRegistration(
- nlohmann::json const &binding
Whether this recipe maps and releases bounded source ranges internally.
- void trt_edgellm::rt::loadCheckpointWeight(
- CheckpointReader &checkpoint,
- Json const &binding,
- std::vector<Tensor> const &preparedWeights,
- Tensor &output,
- cudaStream_t stream
Load and convert one checkpoint binding into its final engine-input layout. Every recipe writes directly into the stable manager-owned output. Identity and cast recipes CUDA-map bounded checkpoint windows; other recipes map only the source tensors for the current binding. This path allocates no temporary CUDA memory and performs no cudaMemcpy host/device transfer.