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: fix cache behavior for gemma2 and warn if caching breaks #9

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

chanind
Copy link
Owner

@chanind chanind commented Aug 7, 2024

Gemma2 seems to ignore normal huggingface cache settings, and requires custom params to provided: huggingface/transformers#31981. This PR adds those params for gemma2, and updates the LRE code to fallback to ignoring caching entirely if caching breaks (with a warning message).

@chanind chanind merged commit 18a7bfc into main Aug 7, 2024
2 checks passed
@chanind chanind deleted the fix-gemma2-caching branch August 7, 2024 15:53
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