Update README.md

This commit is contained in:
Saifeddine ALOUI 2023-10-23 10:22:13 +02:00 committed by GitHub
parent 1b0d7c96f8
commit 98f380e2a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,6 +120,7 @@ Make sure to add it to your path so that you can run it easily from a terminal.
If you don't have git installed, please install it: If you don't have git installed, please install it:
[Install git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) [Install git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
Make sure to add it to your path so that you can run it easily from a terminal. Make sure to add it to your path so that you can run it easily from a terminal.
- To use your GPU, you may need to install [nVidia cuda toolkit](https://developer.nvidia.com/cuda-toolkit)
- Run a terminal and install pip: - Run a terminal and install pip:
```bash ```bash
python -m ensurepip --upgrade python -m ensurepip --upgrade
@ -144,6 +145,26 @@ python -m venv ./env
- On windows: `./env/Scripts/activate` - On windows: `./env/Scripts/activate`
- On linux: `./env/bin/activate` - On linux: `./env/bin/activate`
- On macos: `./env/bin/activate` - On macos: `./env/bin/activate`
- download submodules (lollms_core, zoos and safe_store library)
```bash
git submodule init
git submodule update
cd zoos/bindings_zoo
git checkout main
cd ../personalities_zoo
git checkout main
cd ../extensions_zoo
git checkout main
cd ../models_zoo
git checkout main
cd ../../lollms_core
git checkout main
pip install -e .
cd ../../utilities/safe_store
git checkout main
pip install -e .
cd ../..
```
- install dependancies - install dependancies
```bash ```bash
pip install --upgrade -r requirements.txt pip install --upgrade -r requirements.txt