Skip to content

Remove legacy FSQ emission path - #20

Merged
trashhalo merged 2 commits into
mainfrom
codex/remove-fsq
Jul 29, 2026
Merged

trashhalo merged 2 commits into
mainfrom
codex/remove-fsq

Conversation

@trashhalo

Copy link
Copy Markdown
Contributor

Summary

  • remove the FSQ head, objective, configuration, checkpoint fields, and chess-era geometry controls
  • require an explicit multi-vector emission strategy: concepts/codebook for autoregressive state or QueryBridge for continuous unordered sets
  • make the maze reference use ConceptObjective directly and remove examples tied only to the deleted emitter
  • preserve continuous single-vector embeddings, QueryBridge emission, codebook/concept state, residual state, CoT emission, KV-cache, and GradCache coverage

Breaking changes

  • fsq_dim, fsq_levels, fsq_emit, FSQObjective, label_dims, emb_slots, lam_hard_neg, and ss_sample are removed
  • rollout_train_codebook is replaced by rollout_train_state
  • multi-vector Trainer runs now require an explicit emission= strategy
  • legacy FSQ checkpoints fail with a migration error instead of being silently reinterpreted

Validation

  • ruff format --check src tests
  • ruff check src tests
  • ty check src
  • pytest -q (74 passed)

@trashhalo
trashhalo marked this pull request as ready for review July 29, 2026 20:18
@trashhalo
trashhalo merged commit 1743cc9 into main Jul 29, 2026
1 check passed
trashhalo added a commit that referenced this pull request Jul 29, 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