Skip to main content

Python SDK 0.5.1 — load bundles from the Hugging Face cache

Python SDK 0.5.1 lets Valen.local("Valen-Team/...") load bundles from the Hugging Face cache with ONNX Runtime 1.31, using no extra disk space.

Fixes​

  • Valen.local("Valen-Team/...") loads bundles from the Hugging Face cache with ONNX Runtime 1.31: the snapshot is mirrored as hard links in valen-onnx/<revision>/ next to it, so every graph and its external weights sit in one real directory. Files are shared with the cache, so no extra disk space is used. Local directories load as before.

Install​

Terminal
python -m pip install valen-sdk==0.5.1 # HTTP clients
python -m pip install "valen-sdk[onnx]==0.5.1" # local CPU inference