You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please note that even we declare model=None in app.py. While the Streamlit app's feature is that "any user interaction will cause the code to be rerun from top to bottom," Python does not immediately release resources, leading to resource consumption issues. (see stackoverflow)
Solution
Use lower embedding to reduce the memory usage. Commit
Use st.cache_recourse to avoid memory abnormal increase. Commit
Problem
HuggingFaceEmbeddings
which cause lots of memory.Reference
Suggestion
The text was updated successfully, but these errors were encountered: