Skip to content

Instantly share code, notes, and snippets.

@mayeenulislam
Created March 22, 2024 05:41
Show Gist options
  • Save mayeenulislam/a2e50a52881b72bfe98391fe85ebc1f2 to your computer and use it in GitHub Desktop.
Save mayeenulislam/a2e50a52881b72bfe98391fe85ebc1f2 to your computer and use it in GitHub Desktop.
Installing PrivateGPT on an Apple M3 Mac

Installing PrivateGPT on an Apple M3 Mac

# clone the repo and get into it
git clone https://github.com/imartinez/privateGPT && cd privateGPT

# install Python 3.11
pyenv install 3.11

# install make for running various scripts
brew install make

# installing my chosen dependencies
poetry install --extras "ui llms-ollama"

# INSTALL OLLAMA
# FROM ollama.com
# .................installed :)

# Install ollama models
ollama pull mistral
ollama pull nomic-embed-text

# install other dependencies
poetry install --extras "ui llms-ollama embeddings-ollama vector-stores-qdrant"

# TROUBLESHOOTING
# during this installation you might need to run
# pip install --upgrade poetry
# pip install --upgrade build

# Finally...
PGPT_PROFILES=ollama make run

# Now open up the IP address on your browser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment