From 6555d772527905b94893e35064fa5a57ea6e264e Mon Sep 17 00:00:00 2001 From: Tammy DiPrima Date: Fri, 6 Dec 2024 11:20:17 -0500 Subject: [PATCH 1/2] Update README.md Correct repository is `ollamautil`; not `ollama-util`. Signed-off-by: Tammy DiPrima --- README.md | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 6d399b9..65565ff 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,8 @@ 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: @@ -25,7 +26,8 @@ cp -r ${HOME}/.ollama/models/ ${HOME}/ollama_internal/models/ ``` Create a symlink to your external cache: -``` + +```sh ln -s ${HOME}/ollama_internal/models ${HOME}/.ollama/models ``` @@ -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 ``` From 3a9e7343c8c5c85501170b90d69f986116613d5f Mon Sep 17 00:00:00 2001 From: Tammy DiPrima Date: Fri, 6 Dec 2024 11:51:09 -0500 Subject: [PATCH 2/2] Update README.md Fixed my own oops. Signed-off-by: Tammy DiPrima --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 65565ff..cf50238 100644 --- a/README.md +++ b/README.md @@ -50,8 +50,8 @@ 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: ```sh -python -m venv ollamautil -source ollamautil/bin/activate +python -m venv ollama-util +source ollama-util/bin/activate pip install -U -r requirements.txt ```