Skip to content

KV cache is no longer a model attribute#30730

Merged
gante merged 1 commit intohuggingface:mainfrom
zucchini-nlp:remove_cache_as_attr
May 9, 2024
Merged

KV cache is no longer a model attribute#30730
gante merged 1 commit intohuggingface:mainfrom
zucchini-nlp:remove_cache_as_attr

Conversation

@zucchini-nlp
Copy link
Copy Markdown
Member

What does this PR do?

Addresses the comment and removes lines where we got past kv cache from model attributes. Static cache is no longer a model attribute starting from #30476

Slow tests on Llama passing locally for me.

@zucchini-nlp zucchini-nlp requested a review from gante May 9, 2024 15:04
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Copy Markdown
Contributor

@gante gante left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing 💛

@gante gante requested a review from ArthurZucker May 9, 2024 15:44
Copy link
Copy Markdown
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the cleanup!

@gante gante merged commit 5413b89 into huggingface:main May 9, 2024
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.

4 participants