Custom Models
Deploy model to Ray object store
Pre-load model weights into the Ray object store for fast access by plugins.
This operation:
- Downloads the model archive from S3
- Deserializes weights based on format (safetensors, pytorch, etc.)
- Stores weights in Ray object store for zero-copy sharing
After deployment, plugins can load the model instantly using:
from engine.models.loader import load_namespace_model
weights = load_namespace_model("model_id")
Note: This is optional - models are also loaded on-demand when plugins first request them. Use this endpoint to pre-warm the cache.
post/v1/namespaces/{namespace_id}/models/{model_id}/deploy
Path parameters
namespace_idstring required
model_idstring required
Response
Successful Response
Changes
Changed in 1 of the 29 revisions of this API.1
- ○
the endpoint scheme security
BearerAuthwas added to the APIapi-security-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○