You can now pull model weights at deploy time and sync volumes from Hugging Face repositories without storing or rotating a long-lived access token.
For example, add Baseten as a read-only Trusted Publisher on acme/private-model, then configure your Truss config.yaml to mount its weights at /models/private-model:
weights:
- source: hf://acme/private-model@main
mount_location: /models/private-model
auth:
auth_method: HF_OIDC
hf_oidc_resource: acme/private-modelFor more information, see our docs.