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

Fix llama_get_logits_ith Null Handling #920

Merged

Conversation

martindevans
Copy link
Member

Throwing an exception when llama_get_logits_ith returns null. It's never valid to construct a Span from null, and doing so was causing issues (e.g. crashing the debugger when trying to inspect the span to diagnose the problem).

@martindevans martindevans merged commit 0db26a4 into SciSharp:master Sep 4, 2024
6 checks passed
@martindevans martindevans deleted the fix_llama_get_logits_ith_null branch September 4, 2024 02:33
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