diff --git a/docs/admin-api.openapi.json b/docs/admin-api.openapi.json index 4187bf5..9da1d15 100644 --- a/docs/admin-api.openapi.json +++ b/docs/admin-api.openapi.json @@ -9944,6 +9944,12 @@ "created_by": { "type": "string" }, + "project": { + "type": "string" + }, + "publish": { + "type": "boolean" + }, "artifacts": { "type": "array", "items": { @@ -9989,18 +9995,26 @@ }, "base_repo": { "type": "string", - "description": "BaseRepo and BaseRevision are the weights trained on: the model's own on its registry, in safetensors (Hugging Face), not a GGUF." + "description": "BaseRepo and BaseRevision are the weights trained on: the model's own on its registry, in safetensors (Hugging Face), not a GGUF. Empty finds them from where the model's came: the repository itself, or the one its card says it was made from." }, "base_revision": { "type": "string" }, "node": { "type": "string", - "description": "Node trains it; GPUMemoryMiB is what it needs of a card, which can be what an engine there leaves free." + "description": "Node trains it; empty is the first with a card that has enough free. GPUMemoryMiB is what it needs of a card, which can be what an engine there leaves free; 0 is worked out from the weights' size." }, "gpu_memory_mib": { "type": "integer" }, + "project": { + "type": "string", + "description": "Project is the project the job is started in: its members see and manage it, and only one of its jobs trains at a time." + }, + "publish": { + "type": "boolean", + "description": "Publish puts what the job makes on the mirror and makes it the model's adapter by itself when the job is done, restarting a llama.cpp model's replicas to load it." + }, "owner": { "type": "string", "description": "Owner is who the adapter will belong to: org:, team:, project: (by path or ID), user: or key:. Only callers there see it. When the pairs come from one knowledge base, it defaults to that collection's owner; it must be able to read every collection they come from."