Skip to content

examples : fix is_first logic for tokenization #14329

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 22, 2025

Conversation

ggerganov
Copy link
Member

I accidentally broke this logic in #13194. The llama_memory_seq_pos_max() now returns -1 instead of 0 when the sequence is not present in the memory.

@ggerganov ggerganov requested a review from slaren June 22, 2025 16:18
@ggerganov ggerganov merged commit f1f5e82 into master Jun 22, 2025
55 checks passed
@ggerganov ggerganov deleted the gg/common-fix-is-first branch June 22, 2025 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants