Skip to content

Commit

Permalink
BUG: Change directory to download ollama
Browse files Browse the repository at this point in the history
The original directory was being hidden on JupyterHub by Longhorn,
moving it to a different location to download the model
  • Loading branch information
meoflynn committed Nov 21, 2024
1 parent ab15e07 commit 9dc4721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter-llm-notebook/install-sciml-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ echo -e "\nInstalling Localtunnel...\n"
npm install -g localtunnel

echo -e "\nInstalling Ollama...\n"
OLLAMA_DIR="/home/${NB_USER}/ollama"
OLLAMA_DIR="/opt/ollama"
OLLAMA_RELEASE_URL="https://github.com/ollama/ollama/releases/download/v0.4.2/ollama-linux-amd64.tgz"
mkdir -p "$OLLAMA_DIR"
wget --quiet --show-progress -O- "$OLLAMA_RELEASE_URL" | tar -xz -C "$OLLAMA_DIR"

0 comments on commit 9dc4721

Please sign in to comment.