BUILD_FAILED and no error message; deploy LoRA checkpoints with baseten train checkpoint deploy instead.
For deploying weights from external cloud storage (GCS, S3, Azure), see Deploy from cloud storage.
Checkpoint reference
Therepo and revision fields in checkpoint_repository select the training project and checkpoint to deploy.
repo: The training project’s name. The job ID belongs inrevision, not here.revision: The job and checkpoint to deploy. These formats are supported:
To look up a job’s checkpoint names, run:
ID column. See List and download checkpoints for the full output.
LLM deployment
Use Engine-Builder-LLM to deploy a fine-tuned language model. Setbase_model to decoder:
config.yaml
Embeddings deployment
Use BEI to deploy a fine-tuned embedding or reranker model. Useencoder_bert for BERT-based models (sentence-transformers, rerankers, classifiers) or encoder for causal embedding models:
config.yaml
- No tensor parallelism: Omit
tensor_parallel_countor set it to1. - Fast tokenizer required: Your checkpoint must include a
tokenizer.jsonfile. Models using only the legacyvocab.txtformat aren’t supported. - Embedding model files: For sentence-transformer models, include
modules.jsonand1_Pooling/config.jsonin your checkpoint.
webserver_default_route field sets the inference endpoint path:
/v1/embeddings: For embedding models./v1/systemone: For typed-decision models (BEI-Bert)./rerank: For rerankers./predict: For classifiers./predict_tokens: For token-level prediction.
Deploy the model
To deploy the model, run the following command from the directory that containsconfig.yaml:
--wait returns when the deployment is active.
The curl examples below authenticate with BASETEN_API_KEY. Export your API key first.
To call an LLM deployment:
Delete the model
When you finish, delete the model to stop its charges. Replace<model_id> with the model ID from the predict URL that baseten model push printed. Deleting the model doesn’t delete your synced checkpoints.
--yes to skip the confirmation prompt in scripts.
Related
- Engine-Builder-LLM configuration: Complete build and runtime options for LLMs.
- BEI reference configuration: Complete configuration for encoder models.
- Deploy from cloud storage: GCS, S3, and Azure deployment using
checkpoint_repository. - Training Jobs overview: Training Jobs, checkpoints, and the full training workflow.
- Secrets: Store credentials for private storage and base models.