jan icon indicating copy to clipboard operation
jan copied to clipboard

bug: insufficient handling of insufficient memory

Open jlfranklin opened this issue 4 months ago • 1 comments

Jan version

0.5.5

Describe the Bug

When there is insufficient memory to run the model, lot of errors are thrown into the logs, and the returned text is complete gibberish.

Jan should stop the model and say something like, "sorry, my brain is full."

Steps to Reproduce

  1. Clean install of Jan on an 8GB Macbook Air M1
  2. Load Qwen Chat 7B
  3. Ask it anything.

Screenshots / Logs

app.log memory-pressure sample-response

What is your OS?

  • [X] MacOS
  • [ ] Windows
  • [ ] Linux

jlfranklin avatar Oct 02 '24 23:10 jlfranklin