Skip to content

Provider Auto-Updates ​

By default, Crush automatically checks for the latest and greatest list of providers and models from Catwalk, the open source Crush provider database. This means that when new providers and models are available, or when model metadata changes, Crush automatically updates your local configuration.

Custom provider catalog ​

You can also override Catwalk default URL (for testing, using a fork).

You can do so by setting CATWALK_URL enviromental variable. (e.g. export CATWALK_URL=http://localhost:8000)

Disabling automatic provider updates ​

For those with restricted internet access, or those who prefer to work in air-gapped environments, this might not be want you want, and this feature can be disabled.

To disable automatic provider updates in your crushrc:

bash
option provider-auto-update false

Or set the CRUSH_DISABLE_PROVIDER_AUTO_UPDATE environment variable:

bash
export CRUSH_DISABLE_PROVIDER_AUTO_UPDATE=1

Manually updating providers ​

Manually updating providers is possible with the crush update-providers command:

bash
# Update providers remotely from Catwalk.
crush update-providers

# Update providers from a custom Catwalk base URL.
crush update-providers https://example.com/

# Update providers from a local file.
crush update-providers /path/to/local-providers.json

# Reset providers to the embedded version, embedded at crush at build time.
crush update-providers embedded

# For more info:
crush update-providers --help