recommenders
recommenders copied to clipboard
Saving Large ScaNN Retrieval Model - memory bottleneck
I have a large retrieval model that uses the ScaNN method for indexing the recommendations.
I'm saving the model out for the retrieval speed increase.
I'm starting to run models with +5M records, and I can't save the model to disk without my system memory crashing.
I've looked into pruning the model and saving the weights. Will this work with the ScaNN index?
Can anyone suggest how to get around the memory bottleneck when saving a large ScaNN retrieval model?