Skip to content

Commit

Permalink
Merge branch 'master' into dev/zeping/fix_smoke_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zpoint committed Dec 27, 2024
2 parents 28ce35d + 1386798 commit 1aa9e9d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions llm/ollama/ollama.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,9 @@ service:

setup: |
# Install Ollama
if [ "$(uname -m)" == "aarch64" ]; then
# For apple silicon support
sudo curl -L https://ollama.com/download/ollama-linux-arm64 -o /usr/bin/ollama
else
sudo curl -L https://ollama.com/download/ollama-linux-amd64 -o /usr/bin/ollama
fi
sudo chmod +x /usr/bin/ollama
# official installation reference: https://ollama.com/download/linux
curl -fsSL https://ollama.com/install.sh | sh
sudo chmod +x /usr/local/bin/ollama
# Start `ollama serve` and capture PID to kill it after pull is done
ollama serve &
Expand Down

0 comments on commit 1aa9e9d

Please sign in to comment.