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

Add a progress bar for compilation #810

Closed
rlouf opened this issue Apr 12, 2024 · 0 comments · Fixed by #915
Closed

Add a progress bar for compilation #810

rlouf opened this issue Apr 12, 2024 · 0 comments · Fixed by #915
Labels
enhancement structured generation Linked to structured generation

Comments

@rlouf
Copy link
Member

rlouf commented Apr 12, 2024

Compilation can take a few seconds, and it would be a huge improvement to the UI if we let the users know what is happening and the progress of the compilation progress. We should be able to get by with tqdm added to this function. Even if we don't know exactly how many state the compiler needs to traverse the total number of states in the FSM should give an upper bound.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement structured generation Linked to structured generation
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant