Spaces:
Running on T4
Running on T4
Commit ·
84ef862
1
Parent(s): aeb50d3
Pin simready-foundation to 805d2c5 (matches DGXC's working version)
Browse files- Dockerfile +12 -5
Dockerfile
CHANGED
|
@@ -10,7 +10,6 @@
|
|
| 10 |
# image so cold-start is fast — the per-validation cost is just the
|
| 11 |
# dataset download + USD parsing, not pip resolution.
|
| 12 |
|
| 13 |
-
# build-bust marker 1779850523
|
| 14 |
FROM python:3.11-slim
|
| 15 |
|
| 16 |
# Base build deps. usd-core ships wheels for x86_64 so we don't need
|
|
@@ -33,12 +32,20 @@ WORKDIR /home/${USER}/app
|
|
| 33 |
COPY tools/hf_space/requirements.txt ./requirements.txt
|
| 34 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 35 |
|
| 36 |
-
# Foundation specs:
|
| 37 |
-
#
|
| 38 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
ENV SIMREADY_FOUNDATIONS_PATH=/opt/simready_foundations
|
| 40 |
-
|
|
|
|
| 41 |
${SIMREADY_FOUNDATIONS_PATH} \
|
|
|
|
|
|
|
| 42 |
&& chown -R ${USER}:${USER} ${SIMREADY_FOUNDATIONS_PATH}
|
| 43 |
|
| 44 |
# Copy the bundled validator (the same code our DGXC runner uses) and
|
|
|
|
| 10 |
# image so cold-start is fast — the per-validation cost is just the
|
| 11 |
# dataset download + USD parsing, not pip resolution.
|
| 12 |
|
|
|
|
| 13 |
FROM python:3.11-slim
|
| 14 |
|
| 15 |
# Base build deps. usd-core ships wheels for x86_64 so we don't need
|
|
|
|
| 32 |
COPY tools/hf_space/requirements.txt ./requirements.txt
|
| 33 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 34 |
|
| 35 |
+
# Foundation specs: pinned to a specific commit so spec churn upstream
|
| 36 |
+
# doesn't break the Space's compatibility with the pinned simready-
|
| 37 |
+
# validate package. The validator's loader rejects features whose
|
| 38 |
+
# requirement codes aren't registered, and the foundation repo's main
|
| 39 |
+
# branch has moved ahead of what simready-validate 2026.4.x understands
|
| 40 |
+
# — sticking to the 2026.04.0 release tag (commit 805d2c5) matches the
|
| 41 |
+
# DGXC runner's working setup. Bump deliberately when both the spec
|
| 42 |
+
# and the validator package are tested together.
|
| 43 |
ENV SIMREADY_FOUNDATIONS_PATH=/opt/simready_foundations
|
| 44 |
+
ENV SIMREADY_FOUNDATIONS_COMMIT=805d2c50179a9878c89b0f41baaa0ecafe47c3d7
|
| 45 |
+
RUN git clone https://github.com/NVIDIA/simready-foundation \
|
| 46 |
${SIMREADY_FOUNDATIONS_PATH} \
|
| 47 |
+
&& cd ${SIMREADY_FOUNDATIONS_PATH} \
|
| 48 |
+
&& git checkout ${SIMREADY_FOUNDATIONS_COMMIT} \
|
| 49 |
&& chown -R ${USER}:${USER} ${SIMREADY_FOUNDATIONS_PATH}
|
| 50 |
|
| 51 |
# Copy the bundled validator (the same code our DGXC runner uses) and
|