From be043529769c52b847ab6639ad16bc311df6093e Mon Sep 17 00:00:00 2001 From: John LaGrone Date: Fri, 2 Oct 2026 09:57:31 -0500 Subject: [PATCH] add rocm ollama for testing --- .../testing/ollama/rocm/0.35.0.lua | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 modules/m3/applications/testing/ollama/rocm/0.35.0.lua diff --git a/modules/m3/applications/testing/ollama/rocm/0.35.0.lua b/modules/m3/applications/testing/ollama/rocm/0.35.0.lua new file mode 100644 index 00000000..e60e4e16 --- /dev/null +++ b/modules/m3/applications/testing/ollama/rocm/0.35.0.lua @@ -0,0 +1,22 @@ + +help([[ +Name: Ollama +Version: 0.35.0 +Website: https://ollama.com/ + +Ollama is an open-source tool that allows you to run large language models (LLMs) like Llama 3 and Mistral directly on your local machine + +]]) +whatis("Name: Ollama") +whatis("Version: ollama:0.35.0") +whatis("Category: Ollama") +whatis("URL: https://hub.docker.com/r/ollama/ollama") +whatis("Description: Provides access to Ollama through a container built with Apptainer") +family("Ollama") + +always_load('apptainer') +local sif_file = '/hpc/m3/containers/ollama/ollama_0.35.0-rocm.sif' + +setenv('CONTAINER_IMAGE', sif_file) +source_sh("bash", "/hpc/m3/apps/ollama/helper_scripts/ollama_rocm.sh") +