janhq / jan

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer. Multiple engine support (llama.cpp, TensorRT-LLM)
https://jan.ai/
GNU Affero General Public License v3.0
23.74k stars 1.38k forks source link

bug: GPU mode not working after the 1st factory reset #4094

Open imtuyethan opened 4 days ago

imtuyethan commented 4 days ago

Jan version

0.5.8-736

Describe the Bug

After the 1st factory reset, GPU mode fails to activate. Users must toggle GPU mode off and on again to make it work. While restarting the app also fixes this, it's unintuitive behavior.

Expected Behavior GPU mode should work immediately after factory reset without requiring toggle or restart.

Steps to Reproduce

  1. Perform factory reset in Jan
  2. Enable GPU mode
  3. Note that GPU mode doesn't work
  4. Toggle GPU mode off and back on OR restart app to resolve

What is your OS?