Model catalogue
- Version
- since 2.x, describes 2.52.14
- Feature flag
model_catalog- For
- Workspace user, Platform operator
Operators curate a catalogue of open-source models from a model source (the Hugging Face Hub or a mirror of it). The platform downloads each model's files once into a cache it owns and shows the catalogue to workspace users, who attach a cached model to a project either as a read-only mount (ready at once, no storage quota used) or as a writable copy on the project's storage (quota-counted, for fine-tuning). Licences are recorded per model; a gated model must be accepted in the app before first use. Ready models open in notebook sessions and can be served as Inference endpoints.
What it does
- Lets operators add a model by its source repository id. The platform reads the size, the licence identifier and the gated flag from the source, defaults the display name to the repository name and pins the source revision (commit) so that what is cached stays reproducible. An entry moves
draft, thenavailable(visible to users), thendeprecated(hidden from the catalogue, existing grants keep working). - Downloads a model into the cache on request (Cache now): a platform service streams every file listed in the source manifest into one directory per entry and revision on a shared filesystem, resumes interrupted downloads, checks each file's size against the manifest and reports progress. Cache states are
not_cached,queued,caching,cachedanderror. - Shows users the catalogue of
availableentries with family, parameter count, task type, size, licence, a Gated marker and the cache state (Ready when cached). Only cached entries can be attached. - Attaches a model to a project in one of two modes. Use in project creates a read-only mount: ready immediately, path equal to the cache directory, no storage quota used. Copy to project storage materialises a writable copy under
models/<name>/on the project's share through the statespending,copying,ready(orerror), anddeletingon removal; before the copy starts, the platform checks that the model's size, rounded up to whole GB, fits the project's storage quota alongside its existing volumes. - Records a licence per model (the SPDX identifier from the source; an operator can set or change the identifier, a URL to the terms and a reference to the licence text over the API) and a gated flag (from the source, or set by an operator). A gated model requires the user to accept the licence in the app once; the acceptance (user, workspace, entry, licence text reference, time) is recorded and applies to that user across the platform.
- Holds one operator token for the model source per deployment, in the API's environment, for gated or private repositories. The token is never stored in the database, never shown in any interface and never used on behalf of a user; users never contact the source themselves.
- Hands ready models to the other capabilities: Open in notebook starts an interactive session with the model's path preset; Serve opens the endpoint creation dialog of Inference endpoints.
- Is switched on per deployment with the
model_catalogfeature flag.
Where it is
| Surface | Path |
|---|---|
| Web app (catalogue) | Models in the workspace sidebar: one card per model with Use in project and Copy to project storage |
| Web app (project) | Project page, storage tab, Models section: the project's mounts and copies with status, size and path, plus Open in notebook, Serve and remove |
| Operator console | Catalog, then Models: the list, Add model, and per entry Refresh metadata, Publish or Deprecate, Cache now, Remove cache, Delete |
| API (workspace) | GET /api/v1/workspaces/{workspace_id}/models; POST .../models/{entry_id}/accept-license; GET, POST /api/v1/workspaces/{workspace_id}/projects/{project_id}/models; DELETE .../projects/{project_id}/models/{model_id} |
| API (operators) | GET /admin/models?status=, POST /admin/models; PATCH, DELETE /admin/models/{id}; POST /admin/models/{id}/refresh-metadata; POST, DELETE /admin/models/{id}/cache |
| CLI | none |
How to use it
Curate, cache and publish a model (operator)
- Switch on
model_catalogunder Platform, then Feature flags. Unlike most capabilities, the operator routes of the catalogue are also behind the flag; there is no bring-up exemption because curation needs nothing registered first. - Open Catalog, then Models, and press Add model. Enter the Source repository id in the form
org/name(no whitespace); display name, family, parameters and task type are optional. On Create the platform reads the source metadata, pins the current revision and fills size, licence and the gated flag. If the source cannot be read, the entry is still created as a draft with a warning and an unpinned revision; once the source is reachable, use Refresh metadata and Pin latest revision to pin it (size and licence are then set over the API), or delete the draft and add the model again. A second entry for the same repository is refused with 409model_existswhile the draft is unpinned. - On the entry's page press Cache now. The entry goes
queued, thencachingwith a progress bar (the page polls every 5 seconds), thencachedwith the cache path, orerrorwith the message shown on the page. A failed download is retried by pressing Cache now again; the download resumes from the files already on disk. - Press Publish to move the entry from
drafttoavailable. It now appears in every workspace's catalogue. Deprecate hides it again while grants keep working; a deprecated entry does not come back (re-offer the model as a new entry). - To follow a new upstream revision, press Refresh metadata: the dialog shows the pinned and the latest revision and offers Pin latest revision. Pinning only changes the pin; press Remove cache and Cache now afterwards to fetch the new files.
- Remove cache deletes the cached files; the console warns that existing project mounts of this model will break. Delete removes the entry and its licence acceptances, and is refused with 409
model_in_usewhile any project still holds a mount or copy of it.
Use a model on a project (user)
- Open Models in the workspace sidebar. Every workspace member can browse the catalogue and accept licences; adding or removing a model on a project requires the
ManageProjectsworkspace permission (see Permissions). - On a card marked Ready, press Use in project for a read-only mount or Copy to project storage for a writable copy. For a model marked Gated whose licence you have not accepted, the licence dialog opens first: it shows the licence identifier and a link to the terms; press Accept license to record your acceptance and continue.
- Choose the project. A mount is available at once. A copy is checked against the project's storage quota (see Quotas and capacity) using the catalogue size rounded up to whole GB, then transferred in the background; the project's Models section polls every 5 seconds until it is
ready. - In the project's Models section, copy the path, press Open in notebook to start an interactive session with the model path preset (the session's launch script exports it as the environment variable
CEREBRO_MODEL_PATHbefore JupyterLab starts; see Jobs and scheduling), or press Serve to create an inference endpoint on it. - Removing a mount is immediate and leaves the cache untouched. Removing a copy requests deletion: the grant shows
deletinguntil the platform has removed the files and the row.
On-demand and on-prem
- On-demand (web): switched on. We curate the catalogue and keep the model cache; you browse the published models and use them in your projects, as a read-only mount or as a copy on project storage.
- Licensed on-prem: your operators create the cache area on the platform's shared filesystem, mount it read-only on the compute nodes that run sessions and jobs, run the fetcher service on a host where the cache and the project shares are mounted, configure the model source and, when gated repositories are needed, the operator token, and then switch on
model_catalog; see Deployment and integration for the order and Configuration for the flag. Your operators curate the catalogue.
Numbers
| What | Value | Where it is set |
|---|---|---|
| Fetcher work loop | one pass every 10 seconds by default; one cache job and one copy job are claimed per pass | per deployment |
| Stalled download or copy | a caching entry or copying grant with no progress for 30 minutes (default) is marked error with an interrupted message | per deployment |
| Progress reporting | written every 64 MiB downloaded; shown as a progress bar against the catalogue size | platform |
| Download verification | each file's size against the source manifest; a mismatch fails the download | platform |
| Resume | an interrupted file resumes from the bytes already on disk (HTTP range request); complete files are not downloaded again | platform |
| Retry | none automatic; the operator presses Cache now again (a failed copy is removed and requested again) | platform |
| Cache size limit | none set by the platform; curation is the control and the filesystem's capacity is monitored by the deployment | per deployment |
| Storage quota check for a copy | the catalogue size rounded up to whole GB (a 1-byte model counts as 1 GB) must fit the project's storage quota alongside its volumes at the time of the request; the copied files then live inside the project share | platform |
| Storage quota check for a mount | none | platform |
| Grants | one per project, entry and mode (409 model_already_added) | platform |
| Entries | one per source repository and pinned revision (409 model_exists) | platform |
| Licence acceptance | one per user and entry, platform-wide, kept when the entry is un-gated, deleted with the entry | platform |
| Page refresh | entry page every 5 seconds while queued or caching; project Models section every 5 seconds while a grant is pending, copying or deleting | platform |
| Copy directory name | the display name lower-cased and reduced to a-z, 0-9 and - under models/ on the project share | platform |
Limits and known behaviour
- Only curated models are offered. Users cannot add arbitrary source repositories, cannot supply their own source tokens and never reach the model source directly; the platform's cache is the only path.
- The catalogue does not synchronise itself with the source. Revisions are pinned at creation; Refresh metadata offers a newer revision and never applies it silently. Re-pinning does not touch the cache: remove and re-cache to fetch the new files.
- File verification is by size only in 2.48.6; checksums are not checked. The catalogue size is a lower bound: files whose size the source does not report count as 0.
- Copies on real project storage need a deployment-level step. The fetcher writes copies into a directory tree with one entry per project under a single root; where project shares exist as separately addressed volumes, the deployment must provide that layout before offering copies, otherwise copy grants land in
errorwith a path failure. Mounts need none of this, and a deployment can run with mounts only. - Isolation is deliberately soft: compute nodes mount the whole cache read-only, so any process on a node can read any cached model. Per-model access control is a deployment hardening measure, not a platform feature.
- Remove cache breaks existing mounts of that model; grants are not updated. A Delete of the entry is refused while grants exist (409
model_in_use); remove the grants first. - Right after Remove cache the entry can show
not_cachedwhile still carrying a cache path: that is the removal-pending state until the fetcher has deleted the files. - A gated model refuses Use in project and Copy to project storage with 403
model_license_not_accepteduntil the user has accepted; the app opens the licence dialog and retries once. Acceptance is per user, not per workspace, and is recorded for audit. - Attaching anything but an
availableandcachedentry answers 409model_not_ready; an entry that is notavailablereads as 404model_not_foundto users. A copy of an entry with no known size is refused with 409model_not_readyas well, because the quota cannot be accounted. - Removing a copy that is still
pending,copyingordeletinganswers 409model_grant_busy. - Source failures surface as 400
model_source_unauthorized(the operator token cannot read the repository; accept the vendor's terms at the source under that token), 404model_source_repo_not_foundor 400model_source_unavailable. A download that fails at once with an access error has the same cause; a size mismatch means the source moved under a non-pinned reference. - Switching
model_catalogoff makes the workspace and operator routes answer 404feature_disabledand hides the Models page, the sidebar item and the project Models sections. The fetcher keeps draining removals (cache removals, copy deletions) and the stall sweep but claims no new downloads or copies. Cached files, grants and licence acceptances are kept; mounts in running sessions keep working; re-enabling resumes where it left off. Cached files are only ever removed by Remove cache. - Planned: checksum verification of downloaded files. Tenant-supplied source tokens, automatic catalogue synchronisation and per-model isolation are not in 2.48.6 and are not promised.
Related pages
- Capabilities by delivery model
- Inference endpoints: serving a ready model through an OpenAI-compatible API
- Jobs and scheduling: the interactive sessions Open in notebook starts
- Project storage: the project shares that copies land on
- Quotas and capacity: the storage quota a copy is checked against
- Deployment and integration: cache filesystem, fetcher service and bring-up order