Your library and share codes — bRRAIn Docs
Deploy models whose weights live in your own S3-compatible bucket, and share them with another organization.
Your library and share codes
Your library is a model source for weights you keep in your own S3-compatible bucket. Use it for fine-tuned or private models. In LLMOps → Library, use the Hugging Face | Your library switch. Every member of your organization sees the same entries.
Add a model
Choose Add, then enter:
- Name, model ID (
library/<slug>), description, base model, licence and size. - The bucket endpoint, bucket, folder, and whether the bucket uses path-style addressing.
- The access key and secret key.
Keys are stored in encrypted credential storage and are never shown again.
Check bucket
Check bucket reads the model folder and reports the config file, weight format and size, precision, context length, and whether a tokenizer and chat template are present. If the folder is one level too high, it tells you the right one.
Deploy
Deploying a library model works like any other model. See Deploying a model.
- On a hosted pod, the weights are copied from your bucket to the pod's disk and the model is served as
library/<slug>. A stopped pod that is started again does not download them again. - The disk is sized for you from the weight size. The ready time allowed grows with model size.
- The status line shows progress, for example "Copying weights from your bucket: X of Y GB at Z MB/s".
- Slow or interrupted bucket reads are resumed from the exact byte where they stopped. A copy that is still moving is not timed out. If a copy keeps failing, the deployment says so.
- For your own server, run it with
--served-model-name library/<slug>.
Several library models can share one network volume. A second deployment of the same model skips the copy once it has finished.
Share and import
Share produces a share code (starting brrain-library-v1:) that carries the entry's details to another organization, which pastes it into Import. The bucket keys are included only if you tick the box when sharing.
Where a model runs and who it is shared with is your decision. LLMOps does not enforce licence, country or sharing rules for you.