模型能否跑在某张卡上
fit_check判断某模型(指定量化、指定上下文)能否跑在某张显卡上。返回 fits/tight/no/unknown、剩余显存、内存拆解、以及跑不动时的替代方案(降量化/减上下文/换更大卡),并附带该卡的租金。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model": "<model>",
"gpu": "<gpu>"
},
"name": "fit_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gpu | Yes | 显卡 id 或别名,如 rtx4090 | |
| model | Yes | ||
| quant | No | ||
| context_tokens | No | 默认 4096 |