In huggingface_hub >= 0.27 the `huggingface-cli` binary is deprecated and prints a "Use hf instead" notice then exits without doing the operation. The previous wrappers ran `huggingface-cli upload/download` silently, treated the deprecation exit as success, and uploaded nothing. Detect the new `hf` binary first and use that. If only the legacy `huggingface-cli` is on PATH (older installs), fall back with a WARN so users know the failure mode if anything goes sideways. Also: hf_pull.sh now asserts the downloaded file is non-empty (`test -s`) so we catch silent download failures before the `docker load` step. |
||
|---|---|---|
| .. | ||
| .dockerignore | ||
| build.sh | ||
| Dockerfile | ||
| entrypoint.sh | ||
| freeze.sh | ||
| hf_pull.sh | ||
| hf_push.sh | ||
| run.sh | ||
| smoke_test.py | ||
| test_locally.sh | ||