Jeffser / Alpaca

An Ollama client made with GTK4 and Adwaita
GNU General Public License v3.0
116 stars 18 forks source link

Alpaca Flatpak and Ollama server running in the background all the time #106

Open henriquead7 opened 1 week ago

henriquead7 commented 1 week ago

Bug Description

After closing Alpaca, even with the option to run in the background turned off, Alpaca and the Ollama server remain in the background consuming GPU resources, such as VRAM. This bug has already been reported in issue 75 (closed).

Expected behavior

Close Alpaca, and both it and the Ollama server would be terminated, freeing up the GPU. And it would run in the background only when the option is selected in the app.

Screenshots

Video demonstrating the Alpaca running in the background, even though it is completely shut down.

https://github.com/Jeffser/Alpaca/assets/56042159/dae0db3c-b337-447f-9b66-5ec7b11b8fac

I apologize for any inconvenience, but I had reported it in the closed issue. I believe you didn’t see it because it was already closed. That wasn’t my intention (And congratulations for your work, Alpaca is a great app 😊 ).

Additional context

System: Fedora Workstation 40 Flatpak version: 1.15.8 Alpaca version: 0.9.5 GPU: Nvidia GTX 1060 Nvidia driver: 550.90.07 CUDA: 12.4

Jeffser commented 1 week ago

Hi, thanks for the report, there is an option on the preferences menu on Alpaca to keep Alpaca open in the background if you close the app, maybe that's it?

henriquead7 commented 1 week ago

This option is unchecked, in the video I demonstrate it (but my interface is in PT-BR)