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

Cache options #76

Open
shakedpe opened this issue May 9, 2022 · 2 comments
Open

Cache options #76

shakedpe opened this issue May 9, 2022 · 2 comments
Assignees

Comments

@shakedpe
Copy link
Collaborator

shakedpe commented May 9, 2022

Hi,
Is there a way to enable flexible caching? For example if I have a bug which affects only certain cases, I would like to use a list of the cases I want to recache, and not recache the whole dataset.
Thanks

@YoelShoshan
Copy link
Collaborator

We don't currently support this feature, and the recommended way is to re-cache all in such case (which is possibly the safest, depending on the case of course).

Feel free to:

  1. Propose the API change, with usage examples (no actual implementation)
  2. Create a PR with the desired change (only after 1 was discussed and agreed)

Thanks for the feature suggestion!

@mosheraboh
Copy link
Collaborator

I think that cacher.delete(sample_ids) should do the trick. Do you agree?
It should be very easy to implement.

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

No branches or pull requests

3 participants