preload_model
Preloads an Ollama model into VRAM to keep it loaded for warm inference, reducing latency on subsequent requests.
Instructions
Preload a model into VRAM for warm inference. Sends an empty chat request with keep_alive to keep the model loaded during the session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | The model name to preload (must be already installed via pull_model) | |
| keep_alive | No | Duration to keep the model loaded (optional, default: "-1" = permanent). Examples: "5m", "1h", "-1" |