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

Managed LLamaBatch #442

Merged
merged 1 commit into from
Jan 20, 2024
Merged

Conversation

martindevans
Copy link
Member

Removed LLamaBatchSafeHandle (using unmanaged memory, created by llama.cpp) and replaced it with a fully managed LLamaBatch. Modified the BatchedDecoding example to use new managed batch. Much simpler to work with!

…ama.cpp) and replaced it with a fully managed `LLamaBatch`. Modified the `BatchedDecoding` example to use new managed batch.
@martindevans martindevans added enhancement New feature or request break change labels Jan 19, 2024
@martindevans martindevans merged commit a0be27d into SciSharp:master Jan 20, 2024
3 checks passed
@martindevans martindevans deleted the managed_llama_batch branch January 20, 2024 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
break change enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant