Class ChatMemoryBudget
Pure, static, no ORT, no GenAI, no I/O - so the entire gate is a tier-1 unit test over a hand-written EdgeResourceSnapshot with no natives at all.
public static class ChatMemoryBudget
- Inheritance
-
ChatMemoryBudget
- Inherited Members
Methods
- RequiredBytes(ChatModelShape, int, ChatMemoryBudgetOptions)
weights + KV(context) + workspace + reserve, before any measured-peak substitution.
- Resolve(ChatBudgetRequest, ChatMemoryBudgetOptions)
Applies spec section 9.3's rules, in the order they apply.