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

Allow disabling caching #102

Merged
merged 1 commit into from
May 12, 2023
Merged

Allow disabling caching #102

merged 1 commit into from
May 12, 2023

Conversation

rlouf
Copy link
Member

@rlouf rlouf commented May 12, 2023

The current use of caching does not allow the user to disable it should they want to. This PR changes this; to disable the cache one needs to call

import outlines
outlines.disable_cache()

at the top of their script.

The current use of caching does not allow the user to disable it should
they want to. This PR changes this; to disable the cache one needs to
call

```
import outlines
outlines.disable_cache()
```

at the top of their script.
@rlouf rlouf changed the title Allow to disable caching Allow disabling caching May 12, 2023
@rlouf rlouf merged commit 78e9e78 into main May 12, 2023
@rlouf rlouf deleted the fix-cache branch May 12, 2023 12:32
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