Skip to content

Add OpenWiki documentation - #94

Closed
barvhaim wants to merge 1 commit into
mainfrom
feature/openwiki-documentation
Closed

barvhaim wants to merge 1 commit into
mainfrom
feature/openwiki-documentation

Conversation

@barvhaim

@barvhaim barvhaim commented Jul 7, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Adds a structured documentation set under openwiki/ that explains the Granite Switch architecture, workflows, and domain concepts — written for both human contributors and coding agents.

OpenWiki Agent based on Pi.dev harness https://github.com/barvhaim/pi-openwiki

What's included

Entry point

  • openwiki/quickstart.md — what the project is, the core idea in 60 seconds, install options, three common tasks, and a full documentation map.

architecture/

  • overview.md — subsystem diagram, runtime data flow, and the adapter index-numbering convention.
  • switch.md — how SingleSwitch selects adapters via attention.
  • token-exchange.md — the KV-cache-safe control mechanism.
  • lora.md — SwitchedLoRALinear and per-token weight application.
  • composer.md — compose pipeline and CLI reference.
  • hf-backend.md / vllm-backend.md — backend specifics and known limitations.
  • configuration.md — full GraniteSwitchConfig reference.

workflows/

  • compose-a-model.md, inference.md, development.md.

domain/

  • concepts.md (glossary), supported-models.md.

Other changes

  • AGENTS.md (new) and CLAUDE.md now reference the OpenWiki as the starting point for docs.

Notes

  • Docs cite source files/paths throughout for verification.
  • Flagged that the existing GraniteSwitchConfig example in CLAUDE.md is stale (references removed hiding_groups/control_dims from before the token-exchange rewrite).

Add a structured documentation set under openwiki/ covering the Granite
Switch architecture, workflows, and domain concepts for both human
contributors and coding agents.

- quickstart.md as the entry point with a full documentation map
- architecture/: overview, SingleSwitch, token exchange, LoRA layers,
  composer, HF and vLLM backends, and GraniteSwitchConfig reference
- workflows/: compose a model, run inference, development and testing
- domain/: concepts/glossary and supported models

Also reference OpenWiki from AGENTS.md and CLAUDE.md so contributors and
agents start from the wiki.
@barvhaim barvhaim closed this Jul 8, 2026
@barvhaim
barvhaim deleted the feature/openwiki-documentation branch August 16, 2026 07:40
vedem1192 pushed a commit to vedem1192/granite-switch that referenced this pull request Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant