Created
December 11, 2023 22:43
-
-
Save gosuri/9fd8218a757a083066503df5f9d96ec7 to your computer and use it in GitHub Desktop.
ollama.sdl.yaml
This file contains hidden or 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
--- | |
version: "2.0" | |
services: | |
ollama: | |
image: ollama/ollama | |
expose: | |
- port: 11434 | |
as: 11434 | |
to: | |
- global: true | |
command: | |
- "bash" | |
- "-c" | |
args: | |
- 'ollama serve > /dev/null 2>&1 & sleep 10 && ollama pull mistral && sleep infinity;' | |
profiles: | |
compute: | |
ollama: | |
resources: | |
cpu: | |
units: 12 | |
memory: | |
size: 16Gi | |
storage: | |
- size: 50Gi | |
gpu: | |
units: 1 | |
attributes: | |
vendor: | |
nvidia: | |
placement: | |
dcloud: | |
pricing: | |
ollama: | |
denom: uakt | |
amount: 1000 | |
deployment: | |
ollama: | |
dcloud: | |
profile: ollama | |
count: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment