-
Notifications
You must be signed in to change notification settings - Fork 28
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
webapp: fix GPT storage #803
Conversation
27fdea3
to
be730f3
Compare
2269be1
to
c953f52
Compare
c953f52
to
b90e4ae
Compare
finally managed to find a way to avoid clogging up memory: don't trust |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the great work!
Using Chrome or Firefox (131) smaller models are saved with LocalStorage but GPT never seems to be persisted (refreshing clears it), is there anything to do to enable OPFS?
Edit: that was my mistake
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!! I left mostly questions and pleas for more comments in the code, nothing blocking :)
b90e4ae
to
f66420f
Compare
as outlined in #800, the storage space of the browser does break when huge models (such as GPT) are stored.
UInt8Array
instead of array of numbers