generated from brevdev/seed
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
83ef69c
commit 5c14557
Showing
2 changed files
with
5 additions
and
23 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
build: | ||
python_version: '3.10' | ||
python_version: "3.10" | ||
cuda: 12.0.1 | ||
python_packages: | ||
- jupyterlab | ||
run: | ||
- curl -fsSL https://ollama.com/install.sh | sh | ||
- ollama serve & sleep 10; ollama pull llama3; echo "kill 'ollama serve' process"; ps -ef | grep 'ollama serve' | grep -v grep | awk '{print $2}' | xargs -r kill -9 | ||
user: | ||
shell: zsh | ||
authorized_keys_path: /home/ubuntu/.ssh/authorized_keys | ||
ports: | ||
- '2222:22' | ||
- '8000:8000' | ||
- "2222:22" | ||
- "8000:8000" | ||
services: | ||
- name: ollama | ||
- name: ollama-server | ||
entrypoint: OLLAMA_HOST=0.0.0.0 ollama serve | ||
ports: | ||
- 127.0.0.1:11434:11434 |