Skip to content

Conversation -1 instead of _end#1197

Merged
martindevans merged 2 commits intoSciSharp:masterfrom
martindevans:batch_executor_neg_one
May 31, 2025
Merged

Conversation -1 instead of _end#1197
martindevans merged 2 commits intoSciSharp:masterfrom
martindevans:batch_executor_neg_one

Conversation

@martindevans
Copy link
Member

Using -1 for start/end positions in Conversation. This eliminates the possibility of KV cache leaks due to bugs with _end getting out of sync.

…the possibility of KV cache leaks due to bugs with `_end` getting out of sync.
@martindevans martindevans requested a review from dpmm99 May 31, 2025 23:12
Copy link
Contributor

@dpmm99 dpmm99 left a comment

Choose a reason for hiding this comment

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

Better! :)

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

Comments