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

fix some error when start command on macos #1062

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

982945902
Copy link
Contributor

Describe the changes you have made:

when run local model in macos(m2 arm), maybe occur exec format error, i need Popen with shell=True, but when model path contain space (like me, my oi_dir is '/Users/lishuo121/Library/Application Support/open-interpreter/models/phi-2.Q5_K_M.llamafile') that not find err will occured, so i do some change to issue this problem.

Reference any relevant issues (e.g. "Fixes #000"):

Pre-Submission Checklist (optional but appreciated):

  • I have included relevant documentation updates (stored in /docs)
  • I have read docs/CONTRIBUTING.md
  • I have read docs/ROADMAP.md

OS Tests (optional but appreciated):

  • Tested on Windows
  • Tested on MacOS
  • Tested on Linux

@KillianLucas KillianLucas merged commit b90ac1d into OpenInterpreter:main Mar 11, 2024
@KillianLucas
Copy link
Collaborator

KillianLucas commented Mar 11, 2024

Nice, thanks for catching this, Chuan! Merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants