Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ollama for openSUSE:Factory checked in at 2026-09-04 12:40:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ollama (Old) and /work/SRC/openSUSE:Factory/.ollama.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ollama" Fri Sep 4 12:40:14 2026 rev:69 rq:1375542 version:0.33.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ollama/ollama.changes 2026-08-09 21:45:25.542908382 +0200 +++ /work/SRC/openSUSE:Factory/.ollama.new.1265/ollama.changes 2026-09-04 12:41:27.896807177 +0200 @@ -1,0 +2,52 @@ +Thu Aug 27 04:51:49 UTC 2026 - Adrian Schröter <[email protected]> + +- Update to 0.33.1 + * MLX: Qwen3.8 Flash Next support + * cmake: make external compat patches idempotent + * MLX and llama.cpp update + * mlxrunner: add structured output support + * mlxrunner: avoid Metal GPU timeouts when loading models from slow storage + +------------------------------------------------------------------- +Wed Aug 26 09:17:50 UTC 2026 - Adrian Schröter <[email protected]> + +- Update to 0.33.0 + * Improved caching + * DeepSeek Harness launcher now falls back to npx when the global + npm install fails, with Windows command-shim support + * MLX dependency update + +------------------------------------------------------------------- +Tue Aug 11 13:23:00 UTC 2026 - Eyad Issa <[email protected]> + +- Update to version 0.32.9 + * Added support for the NVIDIA Nemotron 3 architecture. + * Handled a boundary condition in the Muse Glimmer + function-calling parser. +- Update to version 0.32.8 + * Added Muse Glimmer support for NVIDIA, AMD, and + additional platforms. +- Update to version 0.32.7 + * Added initial MLX support for Muse Glimmer on Apple Silicon, + including DFlash and image input support. +- Update to version 0.32.6 + * Made Qwen3.5 faster on Apple GPUs with automatic + speculative decoding through the MLX MTP head. + * Matched OpenAI's wire format for OpenAI-compatible + streaming responses. + * Truncated OpenAI responses now report a length finish reason. + * Made ollama run kimi-k3 offer kimi-k3:cloud for cloud models. + * Fixed TUI rendering, file completion, and /prompt scrolling. + * Temporarily removed experimental image generation support. + * Updated the MLX and llama.cpp engines. +- Update to version 0.32.5 + * Fixed an MLX Metal bug that could reduce output quality + for NVFP4 models, particularly Laguna. +- Update to version 0.32.4 + * Added Laguna support on Apple GPUs through the MLX engine. + * Quantized draft-model output heads at the requested type + when creating speculative-decoding drafts. + * Fixed Qwen3 MoE decoding for differently-quantized experts + and improved packed gate/up projection performance. + +------------------------------------------------------------------- @@ -388,0 +441,2 @@ +- CVE-2026-7482: ollama: heap out-of-bounds read in the GGUF + model loader Old: ---- AGENTS.md _service ollama-0.32.3.tar.gz tool-scripts.obscpio New: ---- ollama-0.33.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ollama.spec ++++++ --- /var/tmp/diff_new_pack.ZMUw0a/_old 2026-09-04 12:41:30.629903154 +0200 +++ /var/tmp/diff_new_pack.ZMUw0a/_new 2026-09-04 12:41:30.631903224 +0200 @@ -18,17 +18,15 @@ #!BcntSyncTag: ollama # We require too much memory atm. -# these jobs work on all supported archs with the specified memory of _constraints file -# found by trial and error +# these jobs work on all supported %ifarch x86_64 %global jobs 3 %else %global jobs 4 %endif -# Keep these vendored revisions pinned to the versions required by Ollama. -%global llama_cpp_version b10091 -%global mlx_version 33c03c486c34a7dadab5339563612c9933c4a406 +%global llama_cpp_version b10630 +%global mlx_version c793734eb715dbcfdb1ced58e348ec53c2d7ed85 %global mlx_c_version fba4470b89073180056c9ea46c443051375f7399 %{bcond_with rocm} @@ -43,7 +41,7 @@ %global preset_flavor %flavor %if "%{flavor}" == "cuda" -%global preset_flavor cuda-v13 +%global preset_flavor llama_cuda_v13_linux %if %{with cuda} ExclusiveArch: x86_64 %else @@ -76,11 +74,11 @@ %endif %define cuda_version_major 13 -%define cuda_version_minor 0 +%define cuda_version_minor 3 %define cuda_version %{cuda_version_major}-%{cuda_version_minor} Name: ollama -Version: 0.32.3 +Version: 0.33.1 Release: 0 Summary: Tool for running AI models on-premise License: MIT @@ -92,20 +90,20 @@ Source3: %{name}-user.conf Source4: sysconfig.%{name} Source5: %{name}-rpmlintrc -# Hints for the pbuild-ai update tooling that maintains this package. Listed as -# a source because factory-auto declines any file the spec does not mention. -Source6: AGENTS.md -# Keep the helper directory recognized by source_validator. -Source7: tool-scripts -# Pinned vendored revision. -Source10: https://github.com/ggml-org/llama.cpp/archive/refs/tags/%{llama_cpp_version}.tar.gz#/llama.cpp-main.tar.xz +#!RemoteAsset: git+https://github.com/ggml-org/llama.cpp#%{llama_cpp_version} +#!CreateArchive +Source10: llama.cpp-main.tar.xz + +#!RemoteAsset: git+https://github.com/ml-explore/mlx#%{mlx_version} +#!CreateArchive +Source11: mlx-main.tar.xz # Pinned vendored revision. -Source11: https://github.com/ml-explore/mlx/archive/%{mlx_version}.tar.gz#/mlx-main.tar.xz +#!RemoteAsset: git+https://github.com/ml-explore/mlx-c#%{mlx_c_version} +#!CreateArchive +Source12: mlx-c-main.tar.xz -# Pinned vendored revision. -Source12: https://github.com/ml-explore/mlx-c/archive/%{mlx_c_version}.tar.gz#/mlx-c-main.tar.xz Patch0: fix-mlxrunner-tests.diff Patch1: disable-llama.cpp-ui.patch BuildRequires: ccache @@ -144,7 +142,7 @@ BuildRequires: pkgconfig(vulkan) %endif -%if "%{flavor}" == "cuda" || "%{flavor}" == "mlx_cuda" +%if "%{flavor}" == "cuda" # requires cuda-toolkit*-config-common, cuda-cudart, cuda-cccl BuildRequires: cuda-cudart-devel-%{cuda_version} BuildRequires: cuda-driver-devel-%{cuda_version} @@ -210,10 +208,13 @@ %prep %autosetup -a1 -p1 -n %{name}-%{version} +mkdir git-modules +pushd git-modules mkdir llama.cpp mlx mlx-c tar xf %{S:10} --strip-components=1 -C llama.cpp tar xf %{S:11} --strip-components=1 -C mlx tar xf %{S:12} --strip-components=1 -C mlx-c +popd # 2. Patch cmake/local.cmake to skip git-dependent compat patch checks (submodules are extracted from tarballs, not git) sed -i 's/git submodule update --init --recursive/# git submodule update skipped — sources from tarballs/' CMakeLists.txt || true @@ -264,8 +265,8 @@ echo -e 'package ml\nvar LibOllamaPath string = "/usr/%{_lib}/ollama"' > ml/path.go # and also the local copy of MLX sources -export OLLAMA_MLX_SOURCE=$PWD/mlx -export OLLAMA_MLX_C_SOURCE=$PWD/mlx-c +export OLLAMA_MLX_SOURCE=$PWD/git-modules/mlx +export OLLAMA_MLX_C_SOURCE=$PWD/git-modules/mlx-c %cmake \ -UOLLAMA_INSTALL_DIR -DOLLAMA_INSTALL_DIR=%{_libdir}/ollama \ @@ -275,11 +276,12 @@ -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \ -DCMAKE_INSTALL_RPATH='$ORIGIN' \ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF \ - -DFETCHCONTENT_SOURCE_DIR_LLAMA_CPP=$PWD/../llama.cpp \ - -DOLLAMA_LLAMA_CPP_SKIP_COMPAT_PATCH=ON \ -DOLLAMA_BUILD_PARALLEL=%jobs \ + -DFETCHCONTENT_SOURCE_DIR_LLAMA_CPP=$PWD/../git-modules/llama.cpp \ + -DOLLAMA_MLX_BACKENDS="" \ %if "%{?flavor}" == "cuda" -DCMAKE_CUDA_COMPILER=/usr/local/cuda-%{cuda_version_major}.%{cuda_version_minor}/bin/nvcc \ + -DOLLAMA_MLX_BACKENDS=cuda_v13 \ %endif %if "%{?flavor}" == "rocm" -DCMAKE_HIP_COMPILER=%rocmllvm_bindir/clang++ \ @@ -292,30 +294,36 @@ %{nil} # -# MLX Flavor +# Main package +# +%if "%{?flavor}" == "" +%cmake_build -j %jobs + +cd .. +go build -ldflags="-X github.com/ollama/ollama/version.Version=%version" -trimpath -o %{name} . +exit 0 +%endif + +# +# Cuda Flavor # -%if "%{?flavor}" == "mlx_cuda" +%if "%{?flavor}" == "cuda" cd .. export OLLAMA_SKIP_CPU_GENERATE="1" cmake -S llama/server --preset 'llama_cuda_v13_linux' \ - -DOLLAMA_MLX_BACKENDS=cuda_v13 \ - -DBLAS_INCLUDE_DIRS=/usr/include/openblas \ - -DLAPACK_INCLUDE_DIRS=/usr/include/openblas \ -DCMAKE_SKIP_BUILD_RPATH=ON \ -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \ -DCMAKE_INSTALL_RPATH='$ORIGIN' \ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF \ - -DFETCHCONTENT_SOURCE_DIR_LLAMA_CPP=$PWD/llama.cpp \ - -DOLLAMA_BUILD_PARALLEL=%jobs \ + -DFETCHCONTENT_SOURCE_DIR_LLAMA_CPP=$PWD/git-modules/llama.cpp \ -cmake --build build/mlx_cuda_v13 -- -l %{jobs} +cmake --build build/llama-server-cuda_v13 -- -l %{jobs} exit 0 %endif # -# Flavor package (vulkan/cuda/rocm) +# Flavor package (vulkan/rocm) # -%if "%{?flavor}" != "" cd .. export OLLAMA_SKIP_CPU_GENERATE="1" cmake -S llama/server --preset %preset_flavor \ @@ -323,21 +331,11 @@ -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \ -DCMAKE_INSTALL_RPATH='$ORIGIN' \ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF \ - -DFETCHCONTENT_SOURCE_DIR_LLAMA_CPP=$PWD/llama.cpp \ - -DOLLAMA_BUILD_PARALLEL=%jobs \ + -DFETCHCONTENT_SOURCE_DIR_LLAMA_CPP=$PWD/git-modules/llama.cpp \ local_directory=build/llama-server-%preset_flavor cmake --build ${local_directory%_linux} -- -l %{jobs} -exit 0 -%endif - -# -# Main package -# -%cmake_build -j %jobs -cd .. -go build -trimpath -o %{name} . %install %if "%{?flavor}" == "test" @@ -351,12 +349,8 @@ # local_directory=%preset_flavor local_directory=${local_directory%_linux} -%if "%{?flavor}" == "mlx_cuda" -cmake --install build/mlx_cuda_v13 --component MLX --prefix %{_prefix} -cmake --install build/mlx_cuda_v13 --component MLX_VENDOR --prefix %{_prefix} -%else +local_directory=${local_directory#llama_} cmake --install build/llama-server-${local_directory} --component llama-server --prefix %{_prefix} -%endif mv %buildroot/usr/%_lib/ollama/${local_directory}/* %buildroot/usr/%_lib/ollama/ rmdir %buildroot/usr/%_lib/ollama/${local_directory} %else ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.ZMUw0a/_old 2026-09-04 12:41:30.690905296 +0200 +++ /var/tmp/diff_new_pack.ZMUw0a/_new 2026-09-04 12:41:30.693905401 +0200 @@ -1,5 +1,5 @@ -mtime: 1786133858 -commit: 46296765f712ff3d3c69e44694949bdd096e4ef4dba1431d35778fcf6679bddc +mtime: 1788419298 +commit: c96108ab6c009e2e5c89a409a9fb99202328af538ecc4b079b1f331e2bb65cef url: https://src.opensuse.org/AI/ollama.git revision: main ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-09-03 09:08:18.000000000 +0200 @@ -0,0 +1,10 @@ +*.obscpio +*.osc +_build.* +.pbuild +.assets +ollama +llama.cpp +mlx +mlx-c + ++++++ disable-llama.cpp-ui.patch ++++++ --- /var/tmp/diff_new_pack.ZMUw0a/_old 2026-09-04 12:41:30.821909897 +0200 +++ /var/tmp/diff_new_pack.ZMUw0a/_new 2026-09-04 12:41:30.824910002 +0200 @@ -10,15 +10,4 @@ ${ARG_CMAKE_ARGS} ${_ggml_cache_args} ${_llama_cache_args} ---- a/llama/server/CMakeLists.txt.orig 2026-05-27 02:17:48.000000000 +0200 -+++ a/llama/server/CMakeLists.txt 2026-05-27 08:45:33.133036479 +0200 -@@ -173,6 +173,8 @@ - set(LLAMA_TOOLS_INSTALL OFF CACHE BOOL "" FORCE) - set(LLAMA_CURL OFF CACHE BOOL "" FORCE) - set(LLAMA_OPENSSL OFF CACHE BOOL "" FORCE) -+set(LLAMA_BUILD_UI OFF CACHE BOOL "" FORCE) -+set(LLAMA_BUILD_WEBUI OFF CACHE BOOL "" FORCE) - - FetchContent_Declare( - llama_cpp ++++++ llama.cpp-main.tar.xz ++++++ /work/SRC/openSUSE:Factory/ollama/llama.cpp-main.tar.xz /work/SRC/openSUSE:Factory/.ollama.new.1265/llama.cpp-main.tar.xz differ: char 1, line 1 ++++++ mlx-c-main.tar.xz ++++++ /work/SRC/openSUSE:Factory/ollama/mlx-c-main.tar.xz /work/SRC/openSUSE:Factory/.ollama.new.1265/mlx-c-main.tar.xz differ: char 1, line 1 ++++++ mlx-main.tar.xz ++++++ ++++ 230584 lines of diff (skipped) ++++++ ollama-0.32.3.tar.gz -> ollama-0.33.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/ollama/ollama-0.32.3.tar.gz /work/SRC/openSUSE:Factory/.ollama.new.1265/ollama-0.33.1.tar.gz differ: char 12, line 1 ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/ollama/vendor.tar.gz /work/SRC/openSUSE:Factory/.ollama.new.1265/vendor.tar.gz differ: char 108, line 1
