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

Update README.md #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@ The utility relies on creating a symlink at `$HOME/.ollama/models` that will the
your internal and external caches. Make sure you're okay with that.

Move/copy your entire cache to another directory:
```

```sh
mkdir -p ${HOME}/ollama_internal/models
cp -r ${HOME}/.ollama/models/ ${HOME}/ollama_internal/models/
# run the below command to then remove the previous Ollama cache directory:
# rm -rf ${HOME}/.ollama/models
```

Create a symlink to your external cache:
```

```sh
ln -s ${HOME}/ollama_internal/models ${HOME}/.ollama/models
```

Expand All @@ -38,15 +40,18 @@ Symlinks are not available on Windows, so the utility is not recommedned on Wind
### Installing

Clone this repository:
```
git clone https://github.com/sealad886/ollama-util.git
cd /path/to/ollama-util

```sh
git clone https://github.com/sealad886/ollamautil.git
cd /path/to/ollamautil
pip install -U -r requirements.txt
```

Note: it is highly recommended that you create a virtual environment that is stable for this utility. For example:
```
python -m venv ollama-util
source ollama-util/bin/activate

```sh
python -m venv ollamautil
source ollamautil/bin/activate
pip install -U -r requirements.txt
```

Expand Down