-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
Application crash caused by ChatGPT-3.5 Turbo and ChatGPT-4 #2002
Comments
repros for me if chatgpt key is the only model i have:
|
This is fixed and merged. |
Reopening for visibility until the next release. |
Is there a workaround for this until the next release? I chose CGPT4 during my initial setup and even though I have uninstalled/reinstalled/uninstalled/cleared cache/chose a diff dir/etc. chat.exe starts for a few seconds and then dies. |
You can delete chatgpt-gpt-4.txt from the model directory, or downgrade to v2.7.0 by downloading it from here. |
This problem is still present, in Windows as well, and most likely other platforms. One way to make it work is to install an actual model first (such as Mistral Instruct), restart the application, then install your openai key. |
The crash is still happening. Following @SheMelody 's instructions did work. But then the app crashed when I went to Settings > Models and then clicked ChatGPT from the Model/Character dropdown. Macbook M1 Pro |
When I performed my tests, I simply deleted folders in |
Thanks a lot @SheMelody. This worked for me. |
This is still broken in the current release. Is the plan to require everyone affected to follow these recommended workarounds or will the proposed fix clean things up itself? edit: I ask because I cannot get the workarounds to work, which seems like a common report. |
The second workaround still doesn't work for my MacBook M1 Pro. Crashes when I click the drop down in Settings > Models |
It will crash if you go to settings and click on ChatGPT-4 model. Chances are if this is already selected (for some reason) you will just instantly crash when opening settings. I don't know an exact fix for this but you should try checking the |
This was fixed in the v2.7.2 release (offline installers coming soon). |
Bug Report
After I upgraded GPT4All from V2.7.0 to V2.7.1, the application started to crash every time I tried to run it. Removing all the models helped and the application ran seamlessly. I started to return the models one by one. Everything worked OK until I returned chatgpt-gpt-3.5-turbo.txt into the model directory. I received the same result with bringing back chatgpt-gpt-4.txt. I tried to add OpenAI API key to "ChatGPT-3.5 Turbo" and the application crashed immediately. Trying to add the key to ChatGPT-4 led to the same result.
The error log show this message:
gguf_init_from_file: invalid magic characters 'sk-x'
load_gguf: gguf_init_from_file failed
zsh: segmentation fault /Applications/gpt4all/bin/gpt4all.app/Contents/MacOS/gpt4all
My API key begins like this:
sk-xZu.....
Steps to Reproduce
Expected Behavior
Your Environment
The text was updated successfully, but these errors were encountered: