Skip to content

{ai}[GCCcore/14.2.0] ollama v0.11.10 w/ CUDA 12.8.0 and fix location of ggml libraries#24749

Merged
smoors merged 2 commits intoeasybuilders:developfrom
lexming:20251204115034_new_pr_ollama01110
Dec 4, 2025
Merged

{ai}[GCCcore/14.2.0] ollama v0.11.10 w/ CUDA 12.8.0 and fix location of ggml libraries#24749
smoors merged 2 commits intoeasybuilders:developfrom
lexming:20251204115034_new_pr_ollama01110

Conversation

@lexming
Copy link
Copy Markdown
Contributor

@lexming lexming commented Dec 4, 2025

(created using eb --new-pr)

@lexming lexming added the update label Dec 4, 2025
@github-actions github-actions Bot added the 2025a issues & PRs related to 2025a common toolchains label Dec 4, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 4, 2025

Updated software ollama-0.11.10-GCCcore-14.2.0-CUDA-12.8.0.eb

Diff against ollama-0.11.10-GCCcore-14.3.0.eb

easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.3.0.eb

diff --git a/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.3.0.eb b/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.2.0-CUDA-12.8.0.eb
index b781261054..f816159d47 100644
--- a/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.3.0.eb
+++ b/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.2.0-CUDA-12.8.0.eb
@@ -2,18 +2,26 @@ easyblock = 'Bundle'
 
 name = 'ollama'
 version = '0.11.10'
+versionsuffix = '-CUDA-%(cudaver)s'
 
 homepage = 'https://ollama.com/'
 description = "Get up and running with large language models."
 
-toolchain = {'name': 'GCCcore', 'version': '14.3.0'}
+toolchain = {'name': 'GCCcore', 'version': '14.2.0'}
 
 builddependencies = [
     ('Go', '1.25.0', '', SYSTEM),
-    ('binutils', '2.44'),
-    ('CMake', '4.0.3'),
+    ('binutils', '2.42'),
+    ('CMake', '3.31.3'),
 ]
 
+dependencies = [
+    ('CUDA', '12.8.0', '', SYSTEM),
+]
+
+# default CUDA compute capabilities to use (override via --cuda-compute-capabilities)
+cuda_compute_capabilities = ['6.0', '7.0', '7.5', '8.0', '8.9', '9.0']
+
 default_component_specs = {
     'source_urls': ['https://github.com/ollama/ollama/archive'],
     'sources': ['v%(version)s.tar.gz'],
@@ -21,10 +29,11 @@ default_component_specs = {
     'start_dir': 'ollama-%(version)s',
 }
 components = [
-    ('ggml-cpu', version, {
+    ('ggml-cpu-cuda', version, {
+        # CPU and CUDA12 presets
         'easyblock': 'CMakeMake',
         'configopts': '-DGGML_BACKEND_DIR="%(installdir)s/lib/ollama"',
-        'buildopts': '%(name)s',
+        'buildopts': 'ggml-cpu ggml-cuda',
     }),
     ('ollama', version, {
         'easyblock': 'GoPackage',
@@ -32,7 +41,7 @@ components = [
 ]
 
 sanity_check_paths = {
-    'files': ['bin/ollama', f'lib/ollama/libggml-base.{SHLIB_EXT}'],
+    'files': ['bin/ollama', f'lib/ollama/libggml-base.{SHLIB_EXT}', f'lib/ollama/libggml-cuda.{SHLIB_EXT}'],
     'dirs': ['lib/ollama'],
 }
 
@@ -41,7 +50,7 @@ sanity_check_commands = [
 ]
 
 modextrapaths = {
-    'LD_LIBRARY_PATH': 'lib/ollama',
+    'LD_LIBRARY_PATH': ['lib/ollama', 'lib/ollama/cuda_v12'],
 }
 
 moduleclass = 'ai'
Diff against ollama-0.11.10-GCCcore-14.3.0-CUDA-12.9.1.eb

easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.3.0-CUDA-12.9.1.eb

diff --git a/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.3.0-CUDA-12.9.1.eb b/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.2.0-CUDA-12.8.0.eb
index ace9c61e73..f816159d47 100644
--- a/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.3.0-CUDA-12.9.1.eb
+++ b/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.2.0-CUDA-12.8.0.eb
@@ -7,20 +7,20 @@ versionsuffix = '-CUDA-%(cudaver)s'
 homepage = 'https://ollama.com/'
 description = "Get up and running with large language models."
 
-toolchain = {'name': 'GCCcore', 'version': '14.3.0'}
+toolchain = {'name': 'GCCcore', 'version': '14.2.0'}
 
 builddependencies = [
     ('Go', '1.25.0', '', SYSTEM),
-    ('binutils', '2.44'),
-    ('CMake', '4.0.3'),
+    ('binutils', '2.42'),
+    ('CMake', '3.31.3'),
 ]
 
 dependencies = [
-    ('CUDA', '12.9.1', '', SYSTEM),
+    ('CUDA', '12.8.0', '', SYSTEM),
 ]
 
 # default CUDA compute capabilities to use (override via --cuda-compute-capabilities)
-cuda_compute_capabilities = ['6.0', '7.0', '7.5', '8.0', '8.6', '9.0']
+cuda_compute_capabilities = ['6.0', '7.0', '7.5', '8.0', '8.9', '9.0']
 
 default_component_specs = {
     'source_urls': ['https://github.com/ollama/ollama/archive'],
Diff against ollama-0.6.0-GCCcore-13.3.0.eb

easybuild/easyconfigs/o/ollama/ollama-0.6.0-GCCcore-13.3.0.eb

diff --git a/easybuild/easyconfigs/o/ollama/ollama-0.6.0-GCCcore-13.3.0.eb b/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.2.0-CUDA-12.8.0.eb
index dd57493129..f816159d47 100644
--- a/easybuild/easyconfigs/o/ollama/ollama-0.6.0-GCCcore-13.3.0.eb
+++ b/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.2.0-CUDA-12.8.0.eb
@@ -1,29 +1,39 @@
 easyblock = 'Bundle'
 
 name = 'ollama'
-version = '0.6.0'
+version = '0.11.10'
+versionsuffix = '-CUDA-%(cudaver)s'
 
 homepage = 'https://ollama.com/'
 description = "Get up and running with large language models."
 
-toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
+toolchain = {'name': 'GCCcore', 'version': '14.2.0'}
 
 builddependencies = [
-    ('Go', '1.23.6', '', SYSTEM),
+    ('Go', '1.25.0', '', SYSTEM),
     ('binutils', '2.42'),
-    ('CMake', '3.29.3'),
+    ('CMake', '3.31.3'),
 ]
 
+dependencies = [
+    ('CUDA', '12.8.0', '', SYSTEM),
+]
+
+# default CUDA compute capabilities to use (override via --cuda-compute-capabilities)
+cuda_compute_capabilities = ['6.0', '7.0', '7.5', '8.0', '8.9', '9.0']
+
 default_component_specs = {
     'source_urls': ['https://github.com/ollama/ollama/archive'],
     'sources': ['v%(version)s.tar.gz'],
-    'checksums': ['fc82cca9ed394eac496239244304215c94cc39c67c81432dc1179c5056b4c6b5'],
+    'checksums': ['6efaf68abb094c6581717e36839d6406beed1c06130b2367c09f8d4264021049'],
     'start_dir': 'ollama-%(version)s',
 }
 components = [
-    ('ggml-cpu', version, {
+    ('ggml-cpu-cuda', version, {
+        # CPU and CUDA12 presets
         'easyblock': 'CMakeMake',
-        'buildopts': '%(name)s',
+        'configopts': '-DGGML_BACKEND_DIR="%(installdir)s/lib/ollama"',
+        'buildopts': 'ggml-cpu ggml-cuda',
     }),
     ('ollama', version, {
         'easyblock': 'GoPackage',
@@ -31,7 +41,7 @@ components = [
 ]
 
 sanity_check_paths = {
-    'files': ['bin/ollama', f'lib/ollama/libggml-base.{SHLIB_EXT}'],
+    'files': ['bin/ollama', f'lib/ollama/libggml-base.{SHLIB_EXT}', f'lib/ollama/libggml-cuda.{SHLIB_EXT}'],
     'dirs': ['lib/ollama'],
 }
 
@@ -40,7 +50,7 @@ sanity_check_commands = [
 ]
 
 modextrapaths = {
-    'LD_LIBRARY_PATH': 'lib/ollama',
+    'LD_LIBRARY_PATH': ['lib/ollama', 'lib/ollama/cuda_v12'],
 }
 
 moduleclass = 'ai'

Updated software ollama-0.11.10-GCCcore-14.2.0.eb

Diff against ollama-0.11.10-GCCcore-14.3.0.eb

easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.3.0.eb

diff --git a/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.3.0.eb b/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.2.0.eb
index b781261054..fae12c2abf 100644
--- a/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.3.0.eb
+++ b/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.2.0.eb
@@ -6,12 +6,12 @@ version = '0.11.10'
 homepage = 'https://ollama.com/'
 description = "Get up and running with large language models."
 
-toolchain = {'name': 'GCCcore', 'version': '14.3.0'}
+toolchain = {'name': 'GCCcore', 'version': '14.2.0'}
 
 builddependencies = [
     ('Go', '1.25.0', '', SYSTEM),
-    ('binutils', '2.44'),
-    ('CMake', '4.0.3'),
+    ('binutils', '2.42'),
+    ('CMake', '3.31.3'),
 ]
 
 default_component_specs = {
Diff against ollama-0.11.10-GCCcore-14.3.0-CUDA-12.9.1.eb

easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.3.0-CUDA-12.9.1.eb

diff --git a/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.3.0-CUDA-12.9.1.eb b/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.2.0.eb
index ace9c61e73..fae12c2abf 100644
--- a/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.3.0-CUDA-12.9.1.eb
+++ b/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.2.0.eb
@@ -2,26 +2,18 @@ easyblock = 'Bundle'
 
 name = 'ollama'
 version = '0.11.10'
-versionsuffix = '-CUDA-%(cudaver)s'
 
 homepage = 'https://ollama.com/'
 description = "Get up and running with large language models."
 
-toolchain = {'name': 'GCCcore', 'version': '14.3.0'}
+toolchain = {'name': 'GCCcore', 'version': '14.2.0'}
 
 builddependencies = [
     ('Go', '1.25.0', '', SYSTEM),
-    ('binutils', '2.44'),
-    ('CMake', '4.0.3'),
+    ('binutils', '2.42'),
+    ('CMake', '3.31.3'),
 ]
 
-dependencies = [
-    ('CUDA', '12.9.1', '', SYSTEM),
-]
-
-# default CUDA compute capabilities to use (override via --cuda-compute-capabilities)
-cuda_compute_capabilities = ['6.0', '7.0', '7.5', '8.0', '8.6', '9.0']
-
 default_component_specs = {
     'source_urls': ['https://github.com/ollama/ollama/archive'],
     'sources': ['v%(version)s.tar.gz'],
@@ -29,11 +21,10 @@ default_component_specs = {
     'start_dir': 'ollama-%(version)s',
 }
 components = [
-    ('ggml-cpu-cuda', version, {
-        # CPU and CUDA12 presets
+    ('ggml-cpu', version, {
         'easyblock': 'CMakeMake',
         'configopts': '-DGGML_BACKEND_DIR="%(installdir)s/lib/ollama"',
-        'buildopts': 'ggml-cpu ggml-cuda',
+        'buildopts': '%(name)s',
     }),
     ('ollama', version, {
         'easyblock': 'GoPackage',
@@ -41,7 +32,7 @@ components = [
 ]
 
 sanity_check_paths = {
-    'files': ['bin/ollama', f'lib/ollama/libggml-base.{SHLIB_EXT}', f'lib/ollama/libggml-cuda.{SHLIB_EXT}'],
+    'files': ['bin/ollama', f'lib/ollama/libggml-base.{SHLIB_EXT}'],
     'dirs': ['lib/ollama'],
 }
 
@@ -50,7 +41,7 @@ sanity_check_commands = [
 ]
 
 modextrapaths = {
-    'LD_LIBRARY_PATH': ['lib/ollama', 'lib/ollama/cuda_v12'],
+    'LD_LIBRARY_PATH': 'lib/ollama',
 }
 
 moduleclass = 'ai'
Diff against ollama-0.6.0-GCCcore-13.3.0.eb

easybuild/easyconfigs/o/ollama/ollama-0.6.0-GCCcore-13.3.0.eb

diff --git a/easybuild/easyconfigs/o/ollama/ollama-0.6.0-GCCcore-13.3.0.eb b/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.2.0.eb
index dd57493129..fae12c2abf 100644
--- a/easybuild/easyconfigs/o/ollama/ollama-0.6.0-GCCcore-13.3.0.eb
+++ b/easybuild/easyconfigs/o/ollama/ollama-0.11.10-GCCcore-14.2.0.eb
@@ -1,28 +1,29 @@
 easyblock = 'Bundle'
 
 name = 'ollama'
-version = '0.6.0'
+version = '0.11.10'
 
 homepage = 'https://ollama.com/'
 description = "Get up and running with large language models."
 
-toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
+toolchain = {'name': 'GCCcore', 'version': '14.2.0'}
 
 builddependencies = [
-    ('Go', '1.23.6', '', SYSTEM),
+    ('Go', '1.25.0', '', SYSTEM),
     ('binutils', '2.42'),
-    ('CMake', '3.29.3'),
+    ('CMake', '3.31.3'),
 ]
 
 default_component_specs = {
     'source_urls': ['https://github.com/ollama/ollama/archive'],
     'sources': ['v%(version)s.tar.gz'],
-    'checksums': ['fc82cca9ed394eac496239244304215c94cc39c67c81432dc1179c5056b4c6b5'],
+    'checksums': ['6efaf68abb094c6581717e36839d6406beed1c06130b2367c09f8d4264021049'],
     'start_dir': 'ollama-%(version)s',
 }
 components = [
     ('ggml-cpu', version, {
         'easyblock': 'CMakeMake',
+        'configopts': '-DGGML_BACKEND_DIR="%(installdir)s/lib/ollama"',
         'buildopts': '%(name)s',
     }),
     ('ollama', version, {

@lexming lexming added the bug fix label Dec 4, 2025
@github-actions github-actions Bot added 2025b issues & PRs related to 2025b common toolchains change labels Dec 4, 2025
@lexming lexming changed the title {ai}[GCCcore/14.2.0] ollama v0.11.10 w/ CUDA 12.8.0 {ai}[GCCcore/14.2.0] ollama v0.11.10 w/ CUDA 12.8.0 and fix location of ggml libraries Dec 4, 2025
@lexming lexming removed the change label Dec 4, 2025
@lexming
Copy link
Copy Markdown
Contributor Author

lexming commented Dec 4, 2025

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
Copy Markdown
Collaborator

@lexming: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=24749 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_24749 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 9002

Test results coming soon (I hope)...

Details

- notification for comment with ID 3612267478 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Copy Markdown
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 4 out of 4 (total: 26 mins 21 secs) (4 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.6, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/76d56e0d96d8e7961131ff8845ad7ab8 for a full test report.

Copy link
Copy Markdown
Contributor

@smoors smoors left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@smoors smoors added this to the next release (5.2.0?) milestone Dec 4, 2025
@smoors
Copy link
Copy Markdown
Contributor

smoors commented Dec 4, 2025

Going in, thanks @lexming!

@smoors smoors merged commit 51a875b into easybuilders:develop Dec 4, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2025a issues & PRs related to 2025a common toolchains 2025b issues & PRs related to 2025b common toolchains bug fix update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants