Skip to content

Fix llama_get_logits_ith Null Handling#920

Merged
martindevans merged 2 commits intoSciSharp:masterfrom
martindevans:fix_llama_get_logits_ith_null
Sep 4, 2024
Merged

Fix llama_get_logits_ith Null Handling#920
martindevans merged 2 commits intoSciSharp:masterfrom
martindevans:fix_llama_get_logits_ith_null

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).

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