Belt-and-suspenders for the --no-deps install of no-torch-runtime.txt: add a workflow step in every Windows job that runs pip install --upgrade typer pydantic huggingface_hub inside the Studio venv after install.ps1 finishes. install.ps1 itself keeps --no-deps so torch never lands transitively, but typer + pydantic + huggingface_hub don't depend on torch and absolutely need their full runtime dep trees to import. Pinning the exact transitive list in no-torch-runtime.txt is fragile (each minor version of typer or pydantic adds another package -- click, then annotated-doc, then pydantic-core, then typing-inspection, etc.). The follow-up pip install --upgrade is idempotent (no-op when everything's already there) and pulls in any missing module in one step. Also pin typing-inspection in no-torch-runtime.txt directly so the Linux/Mac --no-deps path picks it up the next time a fresh runner image is provisioned. |
||
|---|---|---|
| .. | ||
| single-env | ||
| __init__.py | ||
| base.txt | ||
| extras-no-deps.txt | ||
| extras.txt | ||
| no-torch-runtime.txt | ||
| overrides.txt | ||
| studio.txt | ||
| triton-kernels.txt | ||