crates/context is taken verbatim from claude/port-rope (rope scaling incl. setup_resolve_rope/derived_factor, memory plan, context policy). New setup_policy module: ram_ctx, ctx_ram_need, resident_budget_gib, low_ram_*; a golden grid from 'import setup' (resolve_rope/derived_factor too, which the branch had only transcribed) checked bit for bit. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
14 lines
350 B
TOML
14 lines
350 B
TOML
[package]
|
|
name = "leleka-context"
|
|
version = "0.1.0"
|
|
description = "Pure serving-context policy: RoPE scaling tables, memory admission arithmetic, cell geometry"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[dev-dependencies]
|
|
serde_json = { version = "1", features = ["float_roundtrip"] }
|
|
|
|
[lints]
|
|
workspace = true
|