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

[enhancement]: Install latest InvokeAI on Mac OS #7491

Open
GitKernelDesign opened this issue Dec 23, 2024 · 0 comments
Open

[enhancement]: Install latest InvokeAI on Mac OS #7491

GitKernelDesign opened this issue Dec 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@GitKernelDesign
Copy link

GitKernelDesign commented Dec 23, 2024

Download InvokeAI : https://www.invoke.com/downloads

Install and authorize, open the Terminal and enter :
xattr -cr /Applications/Invoke\ Community\ Edition.app

Launch application and follow instructions.

Now, install Brew in the Terminal :
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Open Venv environment in the Terminal :

cd ~/invokeAI (my name folder)
source .venv/bin/activate

Terminal exemple Venv activate -> (invoke) user@mac invokeAI %

Install OpenCV on Venv :

brew install opencv

Intall Pytrosh on Venv :

pip3 install torch torchvision torchaudio

Quit Venv :

deactivate

Install Python 3.11 (only) :
https://www.python.org/ftp/python/3.11.0/python-3.11.0-macos11.pkg

Add in file activate (hide file shift+cmd+;) :

path: .Venv/bin/activate
Exemple ->

# we made may not be respected

export PYTORCH_ENABLE_MPS_FALLBACK=1
export PYTORCH_MPS_HIGH_WATERMARK_RATIO=0.0

hash -r 2>/dev/null

Open Terminal :

cd ~/invokeAI (my name folder)
source .venv/bin/activate
invokeai-web

Open in Safari http://127.0.0.1:9090

Normally everything will work without error

Alternatives

No response

Additional Content

No response

@GitKernelDesign GitKernelDesign added the enhancement New feature or request label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant