Expand description
Worker-side index from a model metadata file’s identity to its
on-disk path. When a worker self-hosts metadata, it registers each
file here and rewrites the MDC’s CheckedFile.path to a
/v1/metadata/{slug}/{suffix}/{filename} URL on its own
system_status_server. The route handler reads paths back out by
the same key and streams the bytes to the frontend, which
blake3-verifies them against the MDC.
suffix is the LoRA slug (or "_base" for non-LoRA). It scopes
each registration so detaching a LoRA doesn’t unregister the base
model’s files (or vice versa).
Structs§
- Metadata
Artifact Registry - Cloning shares the underlying map.
Constants§
- BASE_
SUFFIX - Sentinel
suffixfor non-LoRA registrations. LoRA suffixes areSlug::slugifyoutputs ([a-z0-9_-]+); a name that slugifies to_basewould collide with this sentinel and is not supported.