-
Notifications
You must be signed in to change notification settings - Fork 485
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
DataError: string or blob too big #1180
Comments
Thank you for reporting this error! It looks like a problem with the way caching, a refactor of that part is long overdue! @lapp0 |
That is actually great to hear! I was worried I messed up at some point or the schema was the problem! Would be very thankful if this would be fixed. Also thanks a lot for the fast reply - much appreciated! |
I can't reproduce your error. Perhaps your python3 / sqlite3 version is different from mine? I did notice that the resulting regex is 1587257009 characters, which exceeds the default SQLite limit:
Mitigation should involve providing Outlines users the flexibility to cache to any database . (This would also solve many users problems here: vllm-project/vllm#4193) We're actively working on upgrades to our JSON Schema -> regex tooling, but currently the "items" constraint isn't applied properly and results in a massive unconstrained array:
Please instead use
|
Describe the issue as clearly as possible:
Hello everyone!
We are trying to build a helper to generate some configs (with a fixed schema) for a tool we developed over the last years and outlines seem like an amazing solution. Howewer, our json schema is not just 20 line but much rather around 750 (pretty formatted though) and this is causing the following error to occur: DataError: string or blob too big.
Steps/code to reproduce the bug:
Expected result:
Error message:
Outlines/Python version information:
Version information
Context for the issue:
No response
The text was updated successfully, but these errors were encountered: