google / google/aqt

Best practices to reduce memory usage in SERVE mode

Open
#706 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
361
Forks
33
Avg merge
18h 9m
Merged PRs (30d)
4

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.