Skip to content
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

Make LLamaKvCacheView Safe #721

Merged
merged 1 commit into from
May 10, 2024
Merged

Conversation

martindevans
Copy link
Member

Made the LLamaKvCacheView usable without unsafe:

  • Checking indices
  • Returning span of correct length
  • Hiding native methods
  • Hiding native types

 - Checking indices
 - Returning span of correct length
 - Hiding native methods
 - Hiding native types
@martindevans martindevans merged commit 3b0b2ab into SciSharp:master May 10, 2024
4 checks passed
@martindevans martindevans deleted the kv_cache_view branch May 10, 2024 14:19
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