Skip to content

Commit 255be32

Browse files
committed
ci(hstu): prepare the official checkpoint image
Stage the public dense checkpoint in the family dependency image before offline GPU tests. Verify its SHA-256 and expose the existing model-directory variable required by the trusted Dev controller. Signed-off-by: Yizhuo Zhang <yizhuoz@nvidia.com>
1 parent f034f76 commit 255be32

2 files changed

Lines changed: 18 additions & 2 deletions

File tree

‎families/hstu/README.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,10 @@ client reject them. Fixing this parser requires a Triton backend change.
310310

311311
CI stages `external_files` from the manifests before offline execution. Set
312312
`TRTMC_HSTU_MODEL_DIR` to that raw-checkpoint directory (or explicitly set
313-
`DLRMV3_CHECKPOINT`); selected tests never download weights. CI's
314-
`TRTMC_NATIVE_BUILD_DIR` locates the transport library while the Task loader
313+
`DLRMV3_CHECKPOINT`); selected tests never download weights. The
314+
family dependency image uses `ci/Dockerfile.dependencies` to download and
315+
SHA-256-check the official checkpoint before network-isolated execution.
316+
CI's `TRTMC_NATIVE_BUILD_DIR` locates the transport library while the Task loader
315317
uses the isolated `TRTMC_RUNTIME_ROOT`. An independent upstream check is
316318
available through `tests/upstream_check.py` with `DLRMV3_UPSTREAM`,
317319
`DLRMV3_CHECKPOINT` and `DLRMV3_CONVERTED` set.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
ARG BASE_IMAGE
5+
FROM ${BASE_IMAGE}
6+
7+
COPY requirements.txt /opt/trtmc-ci/family-requirements.txt
8+
RUN python -m pip install --disable-pip-version-check --no-cache-dir \
9+
--no-build-isolation -r /opt/trtmc-ci/family-requirements.txt \
10+
&& python -m pip check
11+
12+
# Stage the official MLPerf dense checkpoint before network-isolated tests.
13+
RUN python -c 'from hashlib import sha256; from pathlib import Path; from urllib.request import Request, urlopen; request = Request("https://inference.mlcommons-storage.org/dlrmv3_trained_checkpoint/non_sparse.ckpt", headers={"User-Agent": "TRTMC-CI"}); data = urlopen(request, timeout=600).read(); assert sha256(data).hexdigest() == "cdb249443cdd9277418962317639204567967b5af3bb41db1fbe5fdbd8f57949"; root = Path("/opt/trtmc-ci/hstu"); root.mkdir(parents=True); (root / "non_sparse.ckpt").write_bytes(data)'
14+
ENV TRTMC_HSTU_MODEL_DIR=/opt/trtmc-ci/hstu

0 commit comments

Comments
 (0)