Spaces:
Sleeping
Sleeping
Commit ·
009fecd
1
Parent(s): 4c8bc64
Vendor patched simready-foundation-core wheel (LFS)
Browse filesWheel tracked via Git LFS — Space pre-receive hook rejects >10MB
files in regular git. Adds .gitattributes entry for *.whl in
tools/hf_space/wheels/.
Source: simready-oem-library-pm@b0bae21
- .gitattributes +1 -0
- Dockerfile +15 -10
- tools/hf_space/Dockerfile +15 -10
- tools/hf_space/wheels/simready_foundation_core-0.2.0a1-py3-none-any.whl +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tools/hf_space/wheels/*.whl filter=lfs diff=lfs merge=lfs -text
|
Dockerfile
CHANGED
|
@@ -55,16 +55,21 @@ RUN git clone https://github.com/NVIDIA/simready-foundation \
|
|
| 55 |
&& cd ${SIMREADY_FOUNDATIONS_PATH} \
|
| 56 |
&& git checkout ${SIMREADY_FOUNDATIONS_COMMIT} \
|
| 57 |
&& chown -R ${USER}:${USER} ${SIMREADY_FOUNDATIONS_PATH}
|
| 58 |
-
|
| 59 |
-
#
|
| 60 |
-
#
|
| 61 |
-
#
|
| 62 |
-
#
|
| 63 |
-
#
|
| 64 |
-
#
|
| 65 |
-
#
|
| 66 |
-
#
|
| 67 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
|
| 69 |
# Copy the bundled validator (the same code our DGXC runner uses) and
|
| 70 |
# the Space's own entry points. Keep the in-repo path so the validator's
|
|
|
|
| 55 |
&& cd ${SIMREADY_FOUNDATIONS_PATH} \
|
| 56 |
&& git checkout ${SIMREADY_FOUNDATIONS_COMMIT} \
|
| 57 |
&& chown -R ${USER}:${USER} ${SIMREADY_FOUNDATIONS_PATH}
|
| 58 |
+
|
| 59 |
+
# Vendored simready-foundation-core wheel. Built offline from the
|
| 60 |
+
# foundation repo at commit 805d2c5 using:
|
| 61 |
+
# 1. python -m omni.usd_profiles.codegen --docs-root docs
|
| 62 |
+
# --destination-dir _build/python --namespace omni.capabilities
|
| 63 |
+
# 2. python -m build --wheel nv_core/sr_specs
|
| 64 |
+
# Plus a local patch (docs/__init__.py + pyproject.toml entry-point
|
| 65 |
+
# declaration) so the wheel ships the SimReadyPlugin entry-point that
|
| 66 |
+
# omni.asset_validator's allow-list discovery requires. Without this
|
| 67 |
+
# wheel the validator loads only DefaultPlugin and ends up with
|
| 68 |
+
# profiles=0. The clone above is still needed for spec markdown
|
| 69 |
+
# (SIMREADY_FOUNDATIONS_PATH) — wheel provides the runtime package.
|
| 70 |
+
COPY tools/hf_space/wheels/simready_foundation_core-0.2.0a1-py3-none-any.whl /tmp/
|
| 71 |
+
RUN pip install --no-cache-dir /tmp/simready_foundation_core-0.2.0a1-py3-none-any.whl \
|
| 72 |
+
&& rm /tmp/simready_foundation_core-0.2.0a1-py3-none-any.whl
|
| 73 |
|
| 74 |
# Copy the bundled validator (the same code our DGXC runner uses) and
|
| 75 |
# the Space's own entry points. Keep the in-repo path so the validator's
|
tools/hf_space/Dockerfile
CHANGED
|
@@ -55,16 +55,21 @@ RUN git clone https://github.com/NVIDIA/simready-foundation \
|
|
| 55 |
&& cd ${SIMREADY_FOUNDATIONS_PATH} \
|
| 56 |
&& git checkout ${SIMREADY_FOUNDATIONS_COMMIT} \
|
| 57 |
&& chown -R ${USER}:${USER} ${SIMREADY_FOUNDATIONS_PATH}
|
| 58 |
-
|
| 59 |
-
#
|
| 60 |
-
#
|
| 61 |
-
#
|
| 62 |
-
#
|
| 63 |
-
#
|
| 64 |
-
#
|
| 65 |
-
#
|
| 66 |
-
#
|
| 67 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
|
| 69 |
# Copy the bundled validator (the same code our DGXC runner uses) and
|
| 70 |
# the Space's own entry points. Keep the in-repo path so the validator's
|
|
|
|
| 55 |
&& cd ${SIMREADY_FOUNDATIONS_PATH} \
|
| 56 |
&& git checkout ${SIMREADY_FOUNDATIONS_COMMIT} \
|
| 57 |
&& chown -R ${USER}:${USER} ${SIMREADY_FOUNDATIONS_PATH}
|
| 58 |
+
|
| 59 |
+
# Vendored simready-foundation-core wheel. Built offline from the
|
| 60 |
+
# foundation repo at commit 805d2c5 using:
|
| 61 |
+
# 1. python -m omni.usd_profiles.codegen --docs-root docs
|
| 62 |
+
# --destination-dir _build/python --namespace omni.capabilities
|
| 63 |
+
# 2. python -m build --wheel nv_core/sr_specs
|
| 64 |
+
# Plus a local patch (docs/__init__.py + pyproject.toml entry-point
|
| 65 |
+
# declaration) so the wheel ships the SimReadyPlugin entry-point that
|
| 66 |
+
# omni.asset_validator's allow-list discovery requires. Without this
|
| 67 |
+
# wheel the validator loads only DefaultPlugin and ends up with
|
| 68 |
+
# profiles=0. The clone above is still needed for spec markdown
|
| 69 |
+
# (SIMREADY_FOUNDATIONS_PATH) — wheel provides the runtime package.
|
| 70 |
+
COPY tools/hf_space/wheels/simready_foundation_core-0.2.0a1-py3-none-any.whl /tmp/
|
| 71 |
+
RUN pip install --no-cache-dir /tmp/simready_foundation_core-0.2.0a1-py3-none-any.whl \
|
| 72 |
+
&& rm /tmp/simready_foundation_core-0.2.0a1-py3-none-any.whl
|
| 73 |
|
| 74 |
# Copy the bundled validator (the same code our DGXC runner uses) and
|
| 75 |
# the Space's own entry points. Keep the in-repo path so the validator's
|
tools/hf_space/wheels/simready_foundation_core-0.2.0a1-py3-none-any.whl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1bce113e5b6c503c1900bbb12f5c1366c0a2f53cc37860b16dc0de7d4c6eab8
|
| 3 |
+
size 22285226
|