[TRTLLM-12352][feat] integrate ModelExpress checkpoint loading - #15641
Conversation
|
/bot run --disable-fail-fast |
|
PR_Github #55912 [ run ] triggered by Bot. Commit: |
|
PR_Github #55912 [ run ] completed with state
|
36b2b4b to
f52b100
Compare
|
/bot run --disable-fail-fast |
|
PR_Github #56487 [ run ] triggered by Bot. Commit: |
|
PR_Github #56487 [ run ] completed with state
|
e6584ed to
65b9e9c
Compare
|
/bot run --disable-fail-fast |
3405dce to
22c40e0
Compare
|
/bot run --disable-fail-fast |
|
PR_Github #57252 [ run ] triggered by Bot. Commit: |
|
PR_Github #57252 [ run ] completed with state
|
22c40e0 to
5f2516e
Compare
|
/bot run --disable-fail-fast |
|
PR_Github #57855 [ run ] triggered by Bot. Commit: |
|
PR_Github #57855 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #57950 [ run ] triggered by Bot. Commit: |
|
PR_Github #57950 [ run ] completed with state
|
be4968e to
552ff8a
Compare
|
/bot run --disable-fail-fast |
|
PR_Github #58039 [ run ] triggered by Bot. Commit: |
|
/bot run --disable-fail-fast |
|
PR_Github #58073 [ run ] triggered by Bot. Commit: |
|
PR_Github #58039 [ run ] completed with state |
552ff8a to
535f8ed
Compare
|
/bot run --disable-fail-fast |
|
/bot run --disable-fail-fast |
|
PR_Github #59598 [ run ] triggered by Bot. Commit: |
|
PR_Github #59598 [ run ] completed with state |
Signed-off-by: Chien-Chun Hung <2679986+chienchunhung@users.noreply.github.com>
Signed-off-by: Chien-Chun Hung <2679986+chienchunhung@users.noreply.github.com>
Signed-off-by: Chien-Chun Hung <2679986+chienchunhung@users.noreply.github.com>
Signed-off-by: Chien-Chun Hung <2679986+chienchunhung@users.noreply.github.com>
Exclude the non-comparable model descriptor from MX compatibility metadata so no-shards receivers can discover equivalent sources across local checkpoint paths. Signed-off-by: Chien-Chun Hung <2679986+chienchunhung@users.noreply.github.com>
Signed-off-by: Chien-Chun Hung <2679986+chienchunhung@users.noreply.github.com>
Signed-off-by: Chien-Chun Hung <2679986+chienchunhung@users.noreply.github.com>
6256dcd to
705436e
Compare
|
/bot run --disable-fail-fast |
1 similar comment
|
/bot run --disable-fail-fast |
|
PR_Github #59831 [ run ] triggered by Bot. Commit: |
|
PR_Github #59831 [ run ] completed with state
|
|
/bot run --disable-fail-fast --stage-list "Build-Docker-Images" |
|
PR_Github #60014 [ run ] triggered by Bot. Commit: |
|
PR_Github #60014 [ run ] completed with state
|
|
/bot skip --comment "Current-head CI failures were unrelated test/infra flakes. The targeted Docker run verified all PR-relevant x86_64 and SBSA release images, including successful modelexpress==0.4.1 installation; its only failure was an SBSA tritondevel Jenkins-agent DNS/pod deletion." |
|
PR_Github #60069 [ skip ] triggered by Bot. Commit: |
|
PR_Github #60069 [ skip ] completed with state |
Summary
Integrate optional ModelExpress (MX) checkpoint loading for the TensorRT-LLM PyTorch backend.
MX is treated as a separately deployed shared service. Operators start and manage the MX server and its Redis metadata backend, then configure each TensorRT-LLM launch with the MX server URL. TensorRT-LLM does not start or own MX/Redis processes or containers.
Deployment Model
mx_config.server_urlis setMODEL_EXPRESS_URLis set and no explicit URL is configuredmx_config.server_urland use that server.checkpoint_formatis notMXOne MX server can be shared by multiple TensorRT-LLM launches that can reach the endpoint. A worker that does not find a compatible source loads from storage and publishes its weights; later compatible workers can receive them through MX.
Changes
mxpackage extra withmodelexpress==0.4.1:pip install "tensorrt_llm[mx]"mx_config.server_url,MODEL_EXPRESS_URL, query timeout, and model identity through the MX checkpoint loader.SourceIdentity, weight-layout, and transform-protocol metadata so incompatible publishers are rejected before transfer.Current Scope
LlamaForCausalLMwith transform protocol version 1.Validation
Completed on reviewed head
3388328514:git diff --checkpassed.torchandtransformers) are not installed./bot runCI rerun was requested for the reviewed head.Related Work