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

Models aren't unloaded from GPU memory (windows) #17

Open
cchance27 opened this issue Jul 30, 2023 · 1 comment
Open

Models aren't unloaded from GPU memory (windows) #17

cchance27 opened this issue Jul 30, 2023 · 1 comment

Comments

@cchance27
Copy link

I was testing i loaded a 2B model then wanted to change the system prompt, so i changed it and hit start, and the new gen was much slower, when i checked i managed to verify the issue, it seems that the app is not unloading the GPU memory before loading the new model so it's getting loaded into shared memory instead of the native gpu memory.

@clarkmcc
Copy link
Owner

Interesting, I haven't noticed this on metal yet so I'm wondering if this is a rustformers issue. I'll do some more testing to pin it down.

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

2 participants