Skip to content

Clarify shared decoder and model architecture names - #725

Merged
0xShug0 merged 1 commit into
mainfrom
refactor/causal-decoder-architecture-naming
Sep 28, 2026
Merged

0xShug0 merged 1 commit into
mainfrom
refactor/causal-decoder-architecture-naming

Conversation

@0xShug0

@0xShug0 0xShug0 commented Sep 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Rename shared Qwen-named decoder APIs to architecture-neutral CausalDecoderRuntime, GreedyCausalDecoderRuntime, CausalDecoder*, and Decoder* names.
  • Make model-local identifiers explicit about verified backbones, including Qwen2, Qwen3, Llama, and SmolLM2.
  • Update includes, build registrations, existing tests, and test instructions.

Naming-only refactor: no changes to math, graph construction, defaults, precision, cache policies, checkpoint keys, or existing runtime log keys. Downstream C++ callers must update the renamed headers and symbols.

Validation

  • Full-model Debug CLI and server builds passed.
  • Packed decoder projection tests passed on CPU and Vulkan.
  • Chunked prefill tests passed on CPU and CUDA, covering repeated prefill, prefix reuse, decode, reset, capacity growth, and reference parity.
  • Graph-release policy and attention-fallback tests passed.

No end-to-end model inference or performance measurements were rerun for this naming-only change.

@0xShug0
0xShug0 merged commit eea15b3 into main Sep 28, 2026
6 checks passed
@0xShug0
0xShug0 deleted the refactor/causal-decoder-architecture-naming branch September 28, 2026 16:55
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