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

Best practices to reduce memory usage in SERVE mode #706

Open
mar-muel opened this issue Sep 5, 2024 · 0 comments
Open

Best practices to reduce memory usage in SERVE mode #706

mar-muel opened this issue Sep 5, 2024 · 0 comments

Comments

@mar-muel
Copy link

mar-muel commented Sep 5, 2024

Hi there - Thanks for the great work, this library is disparately needed in the jax ecosystem.

Am I correct in my understanding that when switching to SERVE mode, the original weights are bypassed in the forward pass and instead the quantized weights are being used?

If so, loading the original weights would be unnecessary and just adds to memory usage. What would be the easiest way to avoid having to use the original weights, while re-using the existing implementation that was used for training?

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

1 participant