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: set outlines version to 0.1.3 to avoid caching serialization issue #2766

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

drbh
Copy link
Collaborator

@drbh drbh commented Nov 20, 2024

This PR fixes the outline version to 0.1.3 to avoid a bug introduced in 0.1.4 when attempting to cache the tokenizer

related: dottxt-ai/outlines#1274 and dottxt-ai/outlines-core#95

@drbh drbh changed the title fix: set outlines version to 0.1.3 to avoid bug fix: set outlines version to 0.1.3 to avoid caching serialization issue Nov 20, 2024
@drbh
Copy link
Collaborator Author

drbh commented Nov 20, 2024

merging this hot fix as it resolves the failing tests on main and avoid a runtime crash

@drbh drbh merged commit 6ee8d6d into main Nov 20, 2024
10 of 12 checks passed
@drbh drbh deleted the update-outlines-minor-version branch November 20, 2024 23:09
torymur pushed a commit to dottxt-ai/outlines-core that referenced this pull request Dec 2, 2024
I understand that `pickleable` is not your priority right now. But the
`RegexGuide` needs to be pickled for `vllm` production use, which is
multiprocessing-based.

This PR reintroduces this pickling capability + some tests.

I understand that this introduces more effort on your side.

References:
dottxt-ai/outlines#1274
vllm-project/vllm#10490
vllm-project/vllm#10576
vllm-project/vllm#10489

It would also tackle the current caching issues: 
huggingface/text-generation-inference#2766
dottxt-ai/outlines#1283

Closes:
#95
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