Spaces:
Running on T4
Running on T4
Sync from simready-oem-library-pm@99a90321
Browse files
tools/hf_space/README.md
CHANGED
|
@@ -14,7 +14,7 @@ infrastructure on every run.
|
|
| 14 |
| Asset transfer | 10β20 GiB per submission onto a 49 GiB PVC | None β `huggingface_hub.snapshot_download` reads from HF storage directly |
|
| 15 |
| Cost model | NVIDIA pays for the runner | Customer pays for their Space's hardware hours |
|
| 16 |
| Concurrency | Single runner, jobs serialized | One Space per dataset β scales linearly |
|
| 17 |
-
| Where verdicts land | `
|
| 18 |
| Trigger | GitHub Actions `workflow_dispatch` | Gradio UI (spike) β HF Hub webhook (next) |
|
| 19 |
|
| 20 |
The Space is **internal pilot scope**: the HF_TOKEN that opens the verdict
|
|
|
|
| 14 |
| Asset transfer | 10β20 GiB per submission onto a 49 GiB PVC | None β `huggingface_hub.snapshot_download` reads from HF storage directly |
|
| 15 |
| Cost model | NVIDIA pays for the runner | Customer pays for their Space's hardware hours |
|
| 16 |
| Concurrency | Single runner, jobs serialized | One Space per dataset β scales linearly |
|
| 17 |
+
| Where verdicts land | `dashboard/data/status.json` in this repo | `validation/results.json` in the dataset, via PR |
|
| 18 |
| Trigger | GitHub Actions `workflow_dispatch` | Gradio UI (spike) β HF Hub webhook (next) |
|
| 19 |
|
| 20 |
The Space is **internal pilot scope**: the HF_TOKEN that opens the verdict
|
tools/hf_space/runner.py
CHANGED
|
@@ -1502,7 +1502,7 @@ def run(
|
|
| 1502 |
"path": zip_rel,
|
| 1503 |
"spec_url": ("https://github.com/NVIDIA-dev/"
|
| 1504 |
"simready-oem-library-pm/blob/main/"
|
| 1505 |
-
"docs/sdk/packaging-spec.md"
|
| 1506 |
"#folder-structure"),
|
| 1507 |
"msg": ("SimReady datasets must be delivered as "
|
| 1508 |
"unpacked directories β neither foundation "
|
|
|
|
| 1502 |
"path": zip_rel,
|
| 1503 |
"spec_url": ("https://github.com/NVIDIA-dev/"
|
| 1504 |
"simready-oem-library-pm/blob/main/"
|
| 1505 |
+
"dashboard/docs/sdk/packaging-spec.md"
|
| 1506 |
"#folder-structure"),
|
| 1507 |
"msg": ("SimReady datasets must be delivered as "
|
| 1508 |
"unpacked directories β neither foundation "
|
tools/validation/plugins/simready-report/skills/simready-report/validate.py
CHANGED
|
@@ -704,7 +704,7 @@ def run_preliminary_checks(root: Path) -> list[dict]:
|
|
| 704 |
Two sources are in play:
|
| 705 |
- Foundation specs (NVIDIA/simready-foundation): AA.002.
|
| 706 |
Drift-watched via tools/spec_sync/.
|
| 707 |
-
- SDK packaging spec (docs/sdk/packaging-spec.md): PKG.*.
|
| 708 |
Lives in this repo, no drift watch needed.
|
| 709 |
|
| 710 |
Implemented:
|
|
@@ -789,10 +789,10 @@ def _check_aa_002_supported_file_types(root: Path) -> list[dict]:
|
|
| 789 |
|
| 790 |
|
| 791 |
# SDK packaging spec β the SimReady asset packaging convention this
|
| 792 |
-
# repo's docs/sdk/packaging-spec.md mandates. Independent from the
|
| 793 |
# foundation specs (which cover USD-content, not packaging structure).
|
| 794 |
_SDK_PACKAGING_SPEC_URL = ("https://github.com/NVIDIA-dev/simready-oem-library-pm/"
|
| 795 |
-
"blob/main/docs/sdk/packaging-spec.md")
|
| 796 |
_SDK_PACKAGING_SPEC_FOLDER = f"{_SDK_PACKAGING_SPEC_URL}#folder-structure"
|
| 797 |
_SDK_PACKAGING_SPEC_DISCOVERY = f"{_SDK_PACKAGING_SPEC_URL}#discovery-rules"
|
| 798 |
_SDK_PACKAGING_SPEC_MANIFEST = f"{_SDK_PACKAGING_SPEC_URL}#package-manifest-wrapp"
|
|
@@ -801,7 +801,7 @@ _SDK_PACKAGING_SPEC_MANIFEST = f"{_SDK_PACKAGING_SPEC_URL}#package-manifest-wrap
|
|
| 801 |
def _check_pkg_layout(root: Path) -> list[dict]:
|
| 802 |
"""Checks against the SDK packaging spec's structural requirements.
|
| 803 |
|
| 804 |
-
Spec: docs/sdk/packaging-spec.md (in this repo). Codes follow the
|
| 805 |
spec's own numbered Discovery Rules where applicable.
|
| 806 |
|
| 807 |
Rules enforced:
|
|
|
|
| 704 |
Two sources are in play:
|
| 705 |
- Foundation specs (NVIDIA/simready-foundation): AA.002.
|
| 706 |
Drift-watched via tools/spec_sync/.
|
| 707 |
+
- SDK packaging spec (dashboard/docs/sdk/packaging-spec.md): PKG.*.
|
| 708 |
Lives in this repo, no drift watch needed.
|
| 709 |
|
| 710 |
Implemented:
|
|
|
|
| 789 |
|
| 790 |
|
| 791 |
# SDK packaging spec β the SimReady asset packaging convention this
|
| 792 |
+
# repo's dashboard/docs/sdk/packaging-spec.md mandates. Independent from the
|
| 793 |
# foundation specs (which cover USD-content, not packaging structure).
|
| 794 |
_SDK_PACKAGING_SPEC_URL = ("https://github.com/NVIDIA-dev/simready-oem-library-pm/"
|
| 795 |
+
"blob/main/dashboard/docs/sdk/packaging-spec.md")
|
| 796 |
_SDK_PACKAGING_SPEC_FOLDER = f"{_SDK_PACKAGING_SPEC_URL}#folder-structure"
|
| 797 |
_SDK_PACKAGING_SPEC_DISCOVERY = f"{_SDK_PACKAGING_SPEC_URL}#discovery-rules"
|
| 798 |
_SDK_PACKAGING_SPEC_MANIFEST = f"{_SDK_PACKAGING_SPEC_URL}#package-manifest-wrapp"
|
|
|
|
| 801 |
def _check_pkg_layout(root: Path) -> list[dict]:
|
| 802 |
"""Checks against the SDK packaging spec's structural requirements.
|
| 803 |
|
| 804 |
+
Spec: dashboard/docs/sdk/packaging-spec.md (in this repo). Codes follow the
|
| 805 |
spec's own numbered Discovery Rules where applicable.
|
| 806 |
|
| 807 |
Rules enforced:
|