gpt4all-chat icon indicating copy to clipboard operation
gpt4all-chat copied to clipboard

Installation on Fedora 37 (SOLVED!)

Open morpheus2448 opened this issue 1 year ago • 2 comments

After download and install of version 0.1.0 I ran into some issues.

./chat: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory

I tried installing libjpeg-turbo-devel but that did not help. After some searching I ran the following commands which fixes the error:

sudo dnf copr enable aflyhorse/libjpeg && sudo dnf install libjpeg8

I run the chat app again:

./chat: error while loading shared libraries: libxcb-cursor.so.0: cannot open shared object file: No such file or directory

To fix this error I ran:

sudo dnf install xcb-util-cursor

Success!

./chat 
QML debugging is enabled. Only use this in a safe environment.
gptj_model_load: loading model from 'ggml-gpt4all-j.bin' - please wait ...
gptj_model_load: n_vocab = 50400
gptj_model_load: n_ctx   = 2048
gptj_model_load: n_embd  = 4096
gptj_model_load: n_head  = 16
gptj_model_load: n_layer = 28
gptj_model_load: n_rot   = 64
gptj_model_load: f16     = 2
gptj_model_load: ggml ctx size = 5401.45 MB
gptj_model_load: memory_size =  1792.00 MB, n_mem = 57344
gptj_model_load: ................................... done
gptj_model_load: model size =  3609.38 MB / num tensors = 285

It took a minute to load and my whole screen froze while it did so, but after my browser with many tabs open crashed; the chat window opened.

Hope this is helpful.

morpheus2448 avatar Apr 14 '23 08:04 morpheus2448

Very helpful, thanks!

manyoso avatar Apr 14 '23 11:04 manyoso

Thank u god :pray:

Gabriel-Alves-Cunha avatar Apr 14 '23 22:04 Gabriel-Alves-Cunha

Done. Installer now give these shared libs.

manyoso avatar May 09 '23 16:05 manyoso