see also:
conda activate base
git clone https://github.com/imartinez/privateGPT
cd privateGPT *conda create -n privategtp python=3.11 *conda activate privategtp *conda install -c conda-forge poetry *poetry install --with ui,local
poetry run python scripts/setup
* conda install -c "nvidia/label/cuda-11.7.0" cuda-cudart (NB. not doing this results in pytorch install failure as cant find compatible cuda-cudart library)
* conda install -c pytorch pytorch-cuda
* conda install -c anaconda cmake
* Open Powershell with that environment active then cd to the git clone directory folder created above eg. C:\Users\username\privateGTP
* $env:CMAKE_ARGS='-DLLAMA_CUBLAS=on'; poetry run pip install --force-reinstall --no-cache-dir llama-cpp-python
set PGPT_PROFILES=local
pip install docx2txt
conda install -c conda-forge html2text #but I still get 'charmap' codec can't decode byte 0x81 error
pip install torch transformers python-pptx Pillow
poetry run python scripts/setup
conda activate privategpt
cd C:\Users\username\privateGTP
make run
poetry run python -m private_gpt
poetry run python -m uvicorn private_gpt.main:app --reload --port 8001