Skip to content

[examples] Optimize static Llama last-token logit projection - #844

Merged
mhs4670go merged 1 commit into
Samsung:mainfrom
mhs4670go:last
Jul 27, 2026
Merged

[examples] Optimize static Llama last-token logit projection#844
mhs4670go merged 1 commit into
Samsung:mainfrom
mhs4670go:last

Conversation

@mhs4670go

Copy link
Copy Markdown
Contributor

Gather the final valid hidden state before the LM head in prefill and append-prefill paths so the runtime does not materialize full-sequence logits.

TICO-DCO-1.0-Signed-off-by: seongwoo mhs4670go@naver.com

Gather the final valid hidden state before the LM head in prefill and
append-prefill paths so the runtime does not materialize full-sequence
logits.

TICO-DCO-1.0-Signed-off-by: seongwoo <mhs4670go@naver.com>

@shs-park shs-park left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
=)

Reviewed by AI via personal agents

@mhs4670go
mhs4670go merged commit 8bc75dd into Samsung:main Jul 27, 2026
7 checks passed
@mhs4670go
mhs4670go deleted the last branch July 27, 2026 23:40
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