Skip to content

Detect MultiCodeDecoder dimensions per multifunction schema - #521

Merged
ZachNagengast merged 1 commit into
mainfrom
oss/fused-mcd-dimension-detection
Aug 5, 2026
Merged

Detect MultiCodeDecoder dimensions per multifunction schema#521
ZachNagengast merged 1 commit into
mainfrom
oss/fused-mcd-dimension-detection

Conversation

@EduardoPach

Copy link
Copy Markdown
Contributor

The fused and stepped functions expose different I/O, so loadModel was probing
names (key_cache_updates, key_padding_mask, all_logits, input_embeds) that
only exist on the stepped graph and silently leaving codecVocabSize /
inputEmbedDim at their defaults in fused mode.

Read each function's own schema instead: gumbel and code0_hidden_states when
fused, the existing names when stepped. Cache geometry stays at its defaults in
fused mode — that graph owns its KV cache.

@ZachNagengast
ZachNagengast merged commit 2cbc39c into main Aug 5, 2026
19 checks passed
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.

2 participants