Skip to content

Conversation

@heya5
Copy link

@heya5 heya5 commented Dec 26, 2024

I found that using default parameters for inference resulted in abnormally high GPU memory usage. To fix this problem, I added a parameter return_hidden_states = False to control whether to return all hidden states by default.

@ebetica
Copy link
Contributor

ebetica commented Sep 19, 2025

Can you default it to True for backwards compatibility @heya5 ?

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.

3 participants