gpu_set_threshold
Set the VRAM threshold between 50-95% to automatically offload models to CPU when memory exceeds the limit, preventing out-of-memory errors.
Instructions
Set the VRAM auto-management threshold (50-95%). When VRAM exceeds this, models are automatically offloaded to CPU.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gpu_set_threshold"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threshold_pct | No |