Changes
Page history
Update Ollama
authored
Jul 11, 2025
by
FEDERICO MUNOZ ROJAS
Show whitespace changes
Inline
Side-by-side
md/ollama.md
View page @
6fd1f131
...
...
@@ -4,6 +4,7 @@ title: Ollama
Se puede ejecutar Ollama en el cluster por medio de contenedores de _Singularity_. A continuación se muestra un ejemplo de _script_ de cola para ejecutar Ollama:
```
...
...
@@ -49,16 +50,13 @@ module add singularity
SIF_DIR=/opt/ohpc/pub/containers/IA
singularity instance start --nv $SIF_DIR/ollama.sif ollama.instance ollama serve
singularity exec instance://ollama.instance ollama serve&
curl http://localhost:11434/api/chat -d '{
"model": "llama3.3",
"messages": [ { "role": "user",
"content": "why is the sky blue?" } ],
"stream": false
}'
"stream": false }'
```