-
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
GPT4All python binding on Intel Mac is easy to fix #3187
Comments
I’m encountering the same issue on a Mac Intel. Looking at the source code the issue seems to be caused by the
Followed the same steps to reproduce and got:
When |
Same issue when I try:
|
Same issue with macOS 15.3, from gpt4all import GPT4All as GPT4AllModel subprocess.CalledProcessError: Command '['sysctl', '-n', 'sysctl.proc_translated']' returned non-zero exit status 1. |
Bug Report
The python module says that running GPT4All on an Apple Silicon mac through Rosetta isn't supported. I was trying to run it on my Intel mac, and was running into a crash when importing the module on line 30-something of _pyllmodel.py. Since I wasn't using Rosetta, and that line was just supposed to detect it (I think?), I commented it out and everything now works great. I didn't make a PR because I'm not at all sure what you're even doing with that code.
Steps to Reproduce
Expected Behavior
I expect gpt4all to be loaded.
Your Environment
pip show gpt4all
): 2.8.2The text was updated successfully, but these errors were encountered: