ensure_free
Frees GPU VRAM until at least the specified GB is available, with an option to force removal of busy models and record the requester in the audit log.
Instructions
Free VRAM until at least gb GB is available. Skips claimed/busy models
unless force=True. by records the requester in the audit log.
Also reports reserved_mb — how much of the resulting free VRAM other
sessions have reserved for non-Ollama work (None if unreadable).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | unknown | |
| gb | Yes | ||
| force | No |