Provider Auto-Updates

Crush keeps its provider and model catalog current by checking Catwalk automatically.

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 the CATWALK_URL environment 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 what you want, and this feature can be disabled.

To disable automatic provider updates in your crushrc:

option provider-auto-update false

Or set the CRUSH_DISABLE_PROVIDER_AUTO_UPDATE environment variable:

export CRUSH_DISABLE_PROVIDER_AUTO_UPDATE=1

Manually updating providers

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

# 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

Read this post in your terminal with glow:glow -p https://crush.charm.land/advanced/provider-updates.md

EOF