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

* Fixes constrained output (Grammar) support in BatchedExecutorGuidance #904

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

webitube
Copy link
Contributor

  • Fixes constrained output (Grammar) support in BatchedExecutorGuidance.
    • Accept the token after Sample().
    • Remove the do-nothing GuidanceSampler.Accept() override so that Accept() actually works.

(cherry picked from commit aa72479)

…ce. 1. Accept the token after Sample(). 2. Remove the do-nothing GuidanceSampler.Accept() override so that Accept() actually works.

(cherry picked from commit aa72479)
@martindevans
Copy link
Member

Thanks for this! I'll merge it once the CI passes :)

@martindevans martindevans merged commit 4df040a into SciSharp:master Aug 22, 2024
6 checks passed
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