You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 86bc033
Browse filesBrowse the repository at this point in the historyBrowse files
docs: update CLAUDE.md and AUDIO.md to match current code (#143)
* docs: update CLAUDE.md and AUDIO.md to match code
CLAUDE.md still described the removed SingleSwitch: the project tree listed
hf/switch/single.py and vllm/switch/single.py, the import example and test
commands pointed at SingleSwitch files that no longer exist, and the
architecture section described a trainable router. It now reflects the
coded-memory MultiSwitch (the only engine since #131), links
docs/MULTISWITCH_EXPLAINED.md, and lists conversation.py, token_exchange.py,
hf/switch/codes/, vllm/audio/ and tests/audio/. The dev install command used
`--extra dev`, but `dev` is a dependency group, so it is now `--group dev`;
the nonexistent tests/regression/ entry is dropped.
docs/AUDIO.md said transformers>=5.16 was not pinned yet. The package has
required it since #130, so the caveat now says a normal install already has
it and keeps the ImportError fallback note for older installs.
Signed-off-by: samadarsh <samadarsh14@gmail.com>
* docs: drop leftover router references in CLAUDE.md
The overview still listed "optional trainable switching" with a router, the
adapter section said adapters are "router-selected", and the test-directory
list still named tests/regression/, which does not exist. MultiSwitch has
no trainable router: it derives the per-token adapter index from the
control tokens. The test list now names tests/audio/ instead.
Signed-off-by: samadarsh <samadarsh14@gmail.com>
---------
Signed-off-by: samadarsh <samadarsh14@gmail.com>
Copy file name to clipboardExpand all lines: CLAUDE.md
+28-20Lines changed: 28 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
9
9
1.**Building models with embedded adapters** - Combine a base Granite model with multiple LoRA adapters into a single checkpoint
10
10
2.**Automatic adapter control** - Activate adapters via special control tokens or chat templates
11
11
3.**Fast inference** - Deploy with vLLM for speedup over standard HuggingFace inference
12
-
4.**Optional trainable switching** - Train a router to automatically select adapters per-token
12
+
4.**Multi-transition switching** - MultiSwitch picks the adapter per token from the control tokens seen so far (latest wins), so one request can switch adapters any number of times
0 commit comments