Ubuntu 22.04 PrivateGPT Instructions
Ubuntu 22.04 PrivateGPT Instructions
Ubuntu 22.04 PrivateGPT Instructions
#Update
sudo update-initramfs -u
##Reboot VM
reboot
##Grab the current driver for your card (ie 470 for my Tesla P4)
sudo ubuntu-drivers devices
##Verify drivers
nvidia-smi
##PrivateGPT installation
##Install Python3.11
##verify pip
python3 -m pip install pip
##Install poetry
pip install poetry
##Setup privateGPT
git clone https://github.com/imartinez/privateGPT
##Change Directory
cd privateGPT
##Optional
##Make BASH script to run on boot (There is probably a better way to do this
and if someone wants to provide it ill update this)
#!/bin/bash
cd /home/{put-username-here}/privateGPT
python3 -m venv venv
source venv/bin/activate
PGPT_PROFILE=local make run
##If you run into memory issues when you are trying to ingest files into GPT
##Kill the process from the previous step
cd ~/privateGPT
nano settings.yaml
##If you ingest files and need to remove them you can erase them all with
Make wipe