Please rotate your device

To continue exploring this website, please rotate your device to a vertical orientation

Changelog

Hugging Face OIDC

Date

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:

yaml
weights:
  - source: hf://acme/private-model@main
    mount_location: /models/private-model
    auth:
      auth_method: HF_OIDC
      hf_oidc_resource: acme/private-model

For more information, see our docs.