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

bug: download of models always fails (current stable and current beta) #4582

Open
1 of 3 tasks
zWhdmB5T opened this issue Feb 5, 2025 · 7 comments
Open
1 of 3 tasks
Assignees
Labels
needs info Not enough info, more logs/data required type: bug Something isn't working

Comments

@zWhdmB5T
Copy link

zWhdmB5T commented Feb 5, 2025

Jan version

jan-linux-x86_64-0.5.14.AppImage and jan-beta-linux-x86_64-0.5.15-rc4-beta.AppImage

Describe the Bug

My System:

  • openSUSE Leap 15.6 (latest patch level)
  • jan-linux-x86_64-0.5.14.AppImage
  • jan-beta-linux-x86_64-0.5.15-rc4-beta.AppImage

Bug:

This bug applies to both stated releases.
I run the AppImages without sudo (just usual user).
It is: download of models always fails (whichever model I choose…)
I get (e.g.) Download Failed Model llama3.2-1b-instruct download failed: undefined
An other AppImage application does have internet access and uses it.

Steps to Reproduce

No response

Screenshots / Logs

No response

What is your OS?

  • MacOS
  • Windows
  • Linux
@zWhdmB5T zWhdmB5T added the type: bug Something isn't working label Feb 5, 2025
@github-project-automation github-project-automation bot moved this to Investigating in Menlo Feb 5, 2025
@zWhdmB5T zWhdmB5T changed the title bug: download of models always fails bug: download of models always fails (current stable and current beta) Feb 5, 2025
@imtuyethan
Copy link
Contributor

@zWhdmB5T Can you send us app logs to investigate, here's how to get app logs: https://jan.ai/docs/troubleshooting#how-to-get-error-logs

@imtuyethan imtuyethan added the needs info Not enough info, more logs/data required label Feb 5, 2025
@zWhdmB5T
Copy link
Author

zWhdmB5T commented Feb 6, 2025

Dear @imtuyethan

here you are:

jan-linux-x86_64-0.5.14.AppImage

app.log
cortex.log

jan-beta-linux-x86_64-0.5.15-rc5-beta.AppImage

cortex.log

Please note

  • update from jan-beta-linux-x86_64-0.5.15-rc4-beta.AppImage to jan-beta-linux-x86_64-0.5.15-rc5-beta.AppImage recently
  • This does not work on current jan-beta-linux-x86_64-0.5.15-rc5-beta.AppImage :

@zWhdmB5T Can you send us app logs to investigate, here's how to get app logs: https://jan.ai/docs/troubleshooting#how-to-get-error-logs

  • I just have the cortex.log — but no app.log on current jan-beta-linux-x86_64-0.5.15-rc5-beta.AppImage .
  • In the cortex.log it says something like Error: Problem with the SSL CA cert (path? access rights?) — but I currently don't have network (internet) issues on my system generally (many applications like Mozilla Firefox and Thunderbird, NTP service, running system updates (zypper on openSUSE) or FlatPak updates or Snap updates do work!) and I also have another AppImage which uses network (internet) and does.

@tleveille
Copy link

tleveille commented Feb 6, 2025

Hi,

I have the same problem on current stable 0.5.14 on Linux using the appimage. Not that I am running it on an immutable bluefin distro.

However I have a different error than the user above in cortex.log, it says Out of memory for the download_service:

20250206 08:32:19.007318 UTC 7189 ERROR Transfer failed for URL: https://huggingface.co/bartowski/Llama-3.2-1B-Instruct-GGUF/resolve/main/Llama-3.2-1B-Instruct-Q8_0.gguf Error: Out of memory - download_service.cc:33

However I have plenty of memory with only 4GB of use out of 32GB.

❯ free
               total        used        free      shared  buff/cache   available
Mem:        32533020     4075408    23573368      809040     6126512    28457612
Swap:        8388604           0     8388604

On beta 0.5.15 I get the same error at startup and then when I click to show all models I have "Not enough Ram" flag on all models.

@tleveille
Copy link

I think you can ignore my comment above, I had that error because I was running the wrong image of bluefin and was missing the full cuda drivers.

@shadowcjm35
Copy link

shadowcjm35 commented Feb 6, 2025

Hello, i have the same problem. When i'm trying to download a model i have a popup with this message inside:
Download Failed
Model llama3.2-1b-instruct download failed: undefined

This my two files

app.log
cortex.log

Jan version: jan-linux-x86_64-0.5.14.AppImage

@moraesmv
Copy link

moraesmv commented Feb 8, 2025

I have a similar problem where I download models, and after a restart, the models are shown as not downloaded.
when clicking to download again, it provides the message
Download Failed
please delete the model before downloading again.

System Windows.

app.log
cortex.log

@zWhdmB5T
Copy link
Author

I now use jan-beta-linux-x86_64-0.5.15-rc11-beta.AppImage as beta and I am still having this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info Not enough info, more logs/data required type: bug Something isn't working
Projects
Status: Investigating
Development

No branches or pull requests

6 participants