Spaces:
Running on Zero
Running on Zero
Commit History
3 days ago
-
test: the real-pipeline tier — every mode through the app's own generate() on a tiny random checkpoint, on the CPU and on MPS
Unverified signatureThe offline suite only ever exercised fakes. It was green at 1102 tests while five blockers were live. `scripts/local_smoke.py` runs the pinned diffusers LTX-2.5 classes on optimum-intel-internal-testing/tiny-random-ltx2.5 (~95 MB, pinned revision, fetched only with --fetch). It goes through `import app`, `generate()`, the GPU entrypoint and `get_pipeline` on the resolved device: - every mode, with its required media made on the fly, at <=128 px and <=17 frames; - the duration head; - prompt enhancement with the tiny enhancer through the app's own `enhance()`; - a rank-4 LoRA on the tiny transformer's real attention Linears (12 modules attached); - stage 2 with tiny random upsampler and decoder models built from the real configs; - the typed refusal of a too-large stage 2 off CUDA; - on MPS, the typed self-test refusal under `enforce`. Each case reports PASS/FAIL, the exception, the artifact and verify_streams' verdict. The script prints a table, writes JSON, and exits non-zero on any …45cef14
4 days ago
-
test: `scripts/gate.sh` — the gate says which environment its verdict belongs to
Unverified signatureThe suite was green for its whole recorded history in torch-less venvs. In the environment README prescribes it was 34 failed, 20 errors (fixed in 1c404fd). Nothing in a result told the two apart. The gate now does: PYTHON=.venv/bin/python scripts/gate.sh * It prints the interpreter and Python version, and the torch version or "NOT importable", before it runs anything. * It runs `pytest -q -p no:cacheprovider`, then `ruff check --no-cache .` (the whole tree, unscoped) if ruff imports in that env. If ruff is missing it says lint was NOT checked; it never passes silently. * Exit 1 on any failure and 2 if `PYTHON` cannot run. The default is `python3` because a bare `python` is not on every machine. * It sets PYTHONDONTWRITEBYTECODE and disables both caches, so a run leaves no untracked files. README's local-run section now says the tests are meant for the venv with requirements.txt installed. A torch-less venv also passes, but it skips the checks against real torch, torch…c51fc56