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-12-01 16:58:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ollama (Old)
 and      /work/SRC/openSUSE:Factory/.ollama.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ollama"

Tue Dec  1 16:58:39 2026 rev:74 rq:1401645 version:0.40.19

Changes:
--------
--- /work/SRC/openSUSE:Factory/ollama/ollama.changes    2026-11-13 
18:37:18.818335358 +0100
+++ /work/SRC/openSUSE:Factory/.ollama.new.1340718/ollama.changes       
2026-12-01 17:00:18.452464204 +0100
@@ -1,0 +2,45 @@
+Mon Nov 30 11:52:45 UTC 2026 - Adrian Schröter <[email protected]>
+
+- Updated to version 0.40.19
+  * inkling2: faster short histories, draft proposals and conv
+    snapshots
+  * mlxrunner: compact Engram history buffers
+  * Bumped llama-server
+  * Release notes: https://github.com/ollama/ollama/releases/tag/v0.40.19
+- Update generated using pbuild-ai
+
+-------------------------------------------------------------------
+Tue Nov 24 17:08:46 UTC 2026 - Adrian Schröter <[email protected]>
+
+- Updated to version 0.40.18
+  * Updated llama.cpp to b12651
+  * Removed JetPack 5 support
+  * Release notes: https://github.com/ollama/ollama/releases/tag/v0.40.18
+- Update generated using pbuild-ai
+
+-------------------------------------------------------------------
+Mon Nov 23 07:15:42 UTC 2026 - Adrian Schröter <[email protected]>
+
+- Updated to version 0.40.17
+  * ollama launch claude supports Claude Code deferred tool loading
+    so MCP tools load on demand
+  * ollama launch opencode sets thinking options from the model
+    metadata
+  * ollama launch pi refreshes Pi's model list after sign-in
+    and passes along prompt arguments
+  * ollama launch chatgpt --restore asks before switching profiles
+    and preserves settings and chat history
+  * running ollama with no args in a non-interactive shell prints
+    help instead of erroring
+  * Ctrl+C or Ctrl+G in a multiline block leaves multiline mode
+    instead of swallowing the next line
+  * changing the context shift setting no longer reloads the model
+  * Vulkan uses mmap for integrated GPUs, fixing pinned-memory
+    allocation failures on shared-memory GPUs
+  * API tool definitions keep unsupported JSON schema keywords
+  * disabling thinking maps to the model's lowest reasoning level
+    instead of being ignored
+  * Release notes: https://github.com/ollama/ollama/releases/tag/v0.40.17
+- Update generated using pbuild-ai
+
+-------------------------------------------------------------------

Old:
----
  llama.cpp-main.tar.xz
  mlx-c-main.tar.xz
  mlx-main.tar.xz
  ollama-0.40.16.tar.gz

New:
----
  llama.cpp-b12734.tar.xz
  mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a.tar.xz
  mlx-fc344c986c4169d99f76b5d95ae6b4a58a359a63.tar.xz
  ollama-0.40.19.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ollama.spec ++++++
--- /var/tmp/diff_new_pack.c9tn6j/_old  2026-12-01 17:00:20.871563928 +0100
+++ /var/tmp/diff_new_pack.c9tn6j/_new  2026-12-01 17:00:20.872563970 +0100
@@ -23,9 +23,9 @@
 %global jobs 4
 %endif
 
-%global llama_cpp_version b12111
-%global mlx_version 54a70511f4ea151378d03b657a4fdd823386ea38
-%global mlx_c_version 57731b00e8bed710e0750e7356da9f18f8eb3e20
+%global llama_cpp_version b12734
+%global mlx_version fc344c986c4169d99f76b5d95ae6b4a58a359a63
+%global mlx_c_version a26f2d584a14ec619ae8db9a09be03becd47598a
 
 %{bcond_with cuda}
 %if 0%{?suse_version} >= 1610
@@ -82,7 +82,7 @@
 %define cuda_version %{cuda_version_major}-%{cuda_version_minor}
 
 Name:           ollama
-Version:        0.40.16
+Version:        0.40.19
 Release:        0
 Summary:        Tool for running AI models on-premise
 License:        MIT
@@ -97,16 +97,16 @@
 
 #!RemoteAsset: git+https://github.com/ggml-org/llama.cpp#%{llama_cpp_version}
 #!CreateArchive
-Source10:       llama.cpp-main.tar.xz
+Source10:       llama.cpp-%{llama_cpp_version}.tar.xz
 
 #!RemoteAsset: git+https://github.com/ml-explore/mlx#%{mlx_version}
 #!CreateArchive
-Source11:       mlx-main.tar.xz
+Source11:       mlx-%{mlx_version}.tar.xz
 
 # Pinned vendored revision.
 #!RemoteAsset: git+https://github.com/ml-explore/mlx-c#%{mlx_c_version}
 #!CreateArchive
-Source12:       mlx-c-main.tar.xz
+Source12:       mlx-c-%{mlx_c_version}.tar.xz
 
 Patch1:         disable-llama.cpp-ui.patch
 BuildRequires:  ccache
@@ -225,6 +225,7 @@
 mkdir git-modules
 pushd git-modules
 mkdir llama.cpp mlx mlx-c
+# --strip-components=1 to keep ccache in effect
 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

++++++ _agents.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/_agents/skills/update_references.sh 
new/_agents/skills/update_references.sh
--- old/_agents/skills/update_references.sh     2026-11-10 08:43:51.000000000 
+0100
+++ new/_agents/skills/update_references.sh     2026-11-30 13:01:47.000000000 
+0100
@@ -23,9 +23,9 @@
 osc service mr go_modules
 
 # Factory policy workaround
-rm -f mlx*xz llama*xz
-/usr/lib/build/download_assets --update --unpack .
-tar cfJ mlx-main.tar.xz mlx
-tar cfJ mlx-c-main.tar.xz mlx-c
-tar cfJ llama.cpp-main.tar.xz llama.cpp
+#rm -f mlx*xz llama*xz mlx mlx-c llama.cpp
+/usr/lib/build/download_assets --update --createarchive .
+#tar cfJ mlx-main.tar.xz mlx
+#tar cfJ mlx-c-main.tar.xz mlx-c
+#tar cfJ llama.cpp-main.tar.xz llama.cpp
 

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.c9tn6j/_old  2026-12-01 17:00:21.013569780 +0100
+++ /var/tmp/diff_new_pack.c9tn6j/_new  2026-12-01 17:00:21.015569863 +0100
@@ -1,5 +1,5 @@
-mtime: 1794296631
-commit: 9c5daea08b8da221c6fef007d9d2c260b335e478495e52db5aa43f0b271319b4
+mtime: 1796040107
+commit: 1af97805c3d9a6277835f425016bb05e1b36f1d1766e38757ac6f91156602f7d
 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-11-30 13:01:47.000000000 +0100
@@ -0,0 +1,17 @@
+*.obscpio
+*.osc
+_build.*
+.pbuild
+.assets
+ollama
+llama.cpp
+mlx
+mlx-c
+
+*.obsinfo
+binaries
+_service:*
+*.orig
+*.rej
+*~
+osc-collab.*

++++++ llama.cpp-main.tar.xz -> llama.cpp-b12734.tar.xz ++++++
/work/SRC/openSUSE:Factory/ollama/llama.cpp-main.tar.xz 
/work/SRC/openSUSE:Factory/.ollama.new.1340718/llama.cpp-b12734.tar.xz differ: 
char 15, line 1

++++++ mlx-c-main.tar.xz -> 
mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mlx-c/CMakeLists.txt 
new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/CMakeLists.txt
--- old/mlx-c/CMakeLists.txt    2026-10-14 17:02:47.000000000 +0200
+++ new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/CMakeLists.txt   
2026-11-23 10:54:44.000000000 +0100
@@ -8,7 +8,7 @@
 
 # ----------------------------- Configuration -----------------------------
 if(NOT MLX_C_VERSION)
-  set(MLX_C_VERSION 0.7.0)
+  set(MLX_C_VERSION 0.8.0)
 endif()
 
 option(BUILD_SHARED_LIBS "Build mlx C as a shared library" OFF)
@@ -35,7 +35,7 @@
   FetchContent_Declare(
     mlx
     GIT_REPOSITORY "https://github.com/ml-explore/mlx.git";
-    GIT_TAG v0.32.2)
+    GIT_TAG v0.32.4)
   FetchContent_MakeAvailable(mlx)
 endif()
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mlx-c/docs/src/conf.py 
new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/docs/src/conf.py
--- old/mlx-c/docs/src/conf.py  2026-10-14 17:02:47.000000000 +0200
+++ new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/docs/src/conf.py 
2026-11-23 10:54:44.000000000 +0100
@@ -10,7 +10,7 @@
 project = "MLX C"
 copyright = "2023-2026, MLX Contributors"
 author = "MLX Contributors"
-version = "0.7.0"
+version = "0.8.0"
 release = version
 
 # -- General configuration ---------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mlx-c/mlx/c/distributed_group.cpp 
new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/mlx/c/distributed_group.cpp
--- old/mlx-c/mlx/c/distributed_group.cpp       2026-10-14 17:02:47.000000000 
+0200
+++ 
new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/mlx/c/distributed_group.cpp  
    2026-11-23 10:54:44.000000000 +0100
@@ -41,21 +41,90 @@
   }
 }
 
-extern "C" int mlx_distributed_group_rank(mlx_distributed_group group) {
+extern "C" int mlx_distributed_init_with_all_gather(
+    mlx_distributed_group* res,
+    bool strict,
+    const char* bk,
+    mlx_distributed_all_gather_fn all_gather,
+    void* payload,
+    void (*dtor)(void*)) {
   try {
-    return mlx_distributed_group_get_(group).rank();
+    // Take ownership before validation so failures release the payload.
+    std::shared_ptr<void> owner;
+    if (dtor) {
+      owner = std::shared_ptr<void>(payload, dtor);
+    } else {
+      owner = std::shared_ptr<void>(payload, [](void*) {});
+    }
+
+    if (!res) {
+      throw std::invalid_argument("group output must not be null");
+    }
+    if (!bk) {
+      throw std::invalid_argument("backend must not be null");
+    }
+    if (!all_gather) {
+      throw std::invalid_argument("all-gather callback must not be null");
+    }
+
+    mlx::core::distributed::AllGatherFactory factory =
+        [all_gather, owner](
+            int rank, int size) -> mlx::core::distributed::AllGatherFn {
+      return [all_gather, owner, rank, size](
+                 const char* src, char* dst, size_t n_bytes) {
+        if (all_gather(rank, size, src, dst, n_bytes, owner.get()) != 0) {
+          throw std::runtime_error("all-gather callback returned an error");
+        }
+      };
+    };
+
+    mlx_distributed_group_set_(
+        *res, mlx::core::distributed::init(strict, bk, std::move(factory)));
+
+    return 0;
   } catch (std::exception& e) {
     mlx_error(e.what());
+    return 1;
+  }
+}
+
+extern "C" int mlx_distributed_clear_backends(void) {
+  try {
+    mlx::core::distributed::clear_backends();
     return 0;
+  } catch (std::exception& e) {
+    mlx_error(e.what());
+    return 1;
   }
 }
 
-extern "C" int mlx_distributed_group_size(mlx_distributed_group group) {
+extern "C" int mlx_distributed_group_get_rank(
+    int* res,
+    mlx_distributed_group group) {
   try {
-    return mlx_distributed_group_get_(group).size();
+    if (!res) {
+      throw std::invalid_argument("rank output must not be null");
+    }
+    *res = mlx_distributed_group_get_(group).rank();
+    return 0;
   } catch (std::exception& e) {
     mlx_error(e.what());
+    return 1;
+  }
+}
+
+extern "C" int mlx_distributed_group_get_size(
+    int* res,
+    mlx_distributed_group group) {
+  try {
+    if (!res) {
+      throw std::invalid_argument("size output must not be null");
+    }
+    *res = mlx_distributed_group_get_(group).size();
     return 0;
+  } catch (std::exception& e) {
+    mlx_error(e.what());
+    return 1;
   }
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mlx-c/mlx/c/distributed_group.h 
new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/mlx/c/distributed_group.h
--- old/mlx-c/mlx/c/distributed_group.h 2026-10-14 17:02:47.000000000 +0200
+++ 
new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/mlx/c/distributed_group.h    
    2026-11-23 10:54:44.000000000 +0100
@@ -4,6 +4,7 @@
 #define MLX_DISTRIBUTED_GROUP_H
 
 #include <stdbool.h>
+#include <stddef.h>
 
 #include "mlx/c/stream.h"
 
@@ -42,14 +43,66 @@
     const char* bk /* may be null */);
 
 /**
+ * Byte-level all-gather callback used by the JACCL side channel.
+ *
+ * \param rank The rank of the process.
+ * \param size The size of the group.
+ * \param src Pointer to this rank's data of size n_bytes.
+ * \param dst Pointer to an output buffer of size size * n_bytes. After the
+ * call, dst[rank * n_bytes, (rank+1) * n_bytes] contains the data from rank.
+ * \param n_bytes The number of bytes contributed by each rank.
+ * \param payload Opaque user data passed to the callback.
+ * \return Zero on success, non-zero on failure.
+ */
+typedef int (*mlx_distributed_all_gather_fn)(
+    int rank,
+    int size,
+    const char* src,
+    char* dst,
+    size_t n_bytes,
+    void* payload);
+
+/**
+ * Initialize JACCL with a custom metadata all-gather callback.
+ *
+ * `bk` must be `jaccl`. The synchronous callback reads `n_bytes` from `src`
+ * and fills `size * n_bytes` in `dst`, ordered by `rank`. Buffers are 
borrowed.
+ * The callback returns zero on success, nonzero on failure.
+ *
+ * If a `jaccl` group is already cached, it is returned and `all_gather` is
+ * never called: the callback is dropped and, with `dtor`, `payload` is
+ * destroyed before this function returns. Call
+ * `mlx_distributed_clear_backends()` first to initialize with a new callback.
+ *
+ * With `dtor`, ownership of `payload` transfers on entry, including failure.
+ * Destruction occurs once after all references are released. Cached or
+ * live groups may delay it. Without `dtor`, `payload` is borrowed and must
+ * remain valid while the callback is retained.
+ *
+ * Returns zero on success, nonzero on error. `res` is unchanged on failure.
+ */
+int mlx_distributed_init_with_all_gather(
+    mlx_distributed_group* res,
+    bool strict,
+    const char* bk,
+    mlx_distributed_all_gather_fn all_gather,
+    void* payload,
+    void (*dtor)(void*));
+
+/**
+ * Clear the distributed backend cache.
+ */
+int mlx_distributed_clear_backends(void);
+
+/**
  * Get the rank.
  */
-int mlx_distributed_group_rank(mlx_distributed_group group);
+int mlx_distributed_group_get_rank(int* res, mlx_distributed_group group);
 
 /**
  * Get the group size.
  */
-int mlx_distributed_group_size(mlx_distributed_group group);
+int mlx_distributed_group_get_size(int* res, mlx_distributed_group group);
 
 /**
  * Split the group.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mlx-c/mlx/c/fast.cpp 
new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/mlx/c/fast.cpp
--- old/mlx-c/mlx/c/fast.cpp    2026-10-14 17:02:47.000000000 +0200
+++ new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/mlx/c/fast.cpp   
2026-11-23 10:54:44.000000000 +0100
@@ -270,6 +270,37 @@
   return 0;
 }
 
+extern "C" int mlx_fast_gated_delta_update(
+    mlx_vector_array* res,
+    const mlx_array queries,
+    const mlx_array keys,
+    const mlx_array values,
+    const mlx_array gates,
+    const mlx_array beta_,
+    const mlx_array initial_state /* may be null */,
+    const mlx_array mask /* may be null */,
+    const mlx_stream s) {
+  try {
+    mlx_vector_array_set_(
+        *res,
+        mlx::core::fast::gated_delta_update(
+            mlx_array_get_(queries),
+            mlx_array_get_(keys),
+            mlx_array_get_(values),
+            mlx_array_get_(gates),
+            mlx_array_get_(beta_),
+            (initial_state.ctx
+                 ? std::make_optional(mlx_array_get_(initial_state))
+                 : std::nullopt),
+            (mask.ctx ? std::make_optional(mlx_array_get_(mask))
+                      : std::nullopt),
+            mlx_stream_get_(s)));
+  } catch (std::exception& e) {
+    mlx_error(e.what());
+    return 1;
+  }
+  return 0;
+}
 extern "C" int mlx_fast_layer_norm(
     mlx_array* res,
     const mlx_array x,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mlx-c/mlx/c/fast.h 
new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/mlx/c/fast.h
--- old/mlx-c/mlx/c/fast.h      2026-10-14 17:02:47.000000000 +0200
+++ new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/mlx/c/fast.h     
2026-11-23 10:54:44.000000000 +0100
@@ -96,6 +96,16 @@
     const mlx_fast_cuda_kernel_config config,
     const mlx_stream stream);
 
+int mlx_fast_gated_delta_update(
+    mlx_vector_array* res,
+    const mlx_array queries,
+    const mlx_array keys,
+    const mlx_array values,
+    const mlx_array gates,
+    const mlx_array beta_,
+    const mlx_array initial_state /* may be null */,
+    const mlx_array mask /* may be null */,
+    const mlx_stream s);
 int mlx_fast_layer_norm(
     mlx_array* res,
     const mlx_array x,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mlx-c/mlx/c/memory.cpp 
new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/mlx/c/memory.cpp
--- old/mlx-c/mlx/c/memory.cpp  2026-10-14 17:02:47.000000000 +0200
+++ new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/mlx/c/memory.cpp 
2026-11-23 10:54:44.000000000 +0100
@@ -26,6 +26,17 @@
   }
   return 0;
 }
+extern "C" int mlx_get_array_buffer_size(
+    size_t* res,
+    const mlx_vector_array arrays) {
+  try {
+    *res = mlx::core::get_array_buffer_size(mlx_vector_array_get_(arrays));
+  } catch (std::exception& e) {
+    mlx_error(e.what());
+    return 1;
+  }
+  return 0;
+}
 extern "C" int mlx_get_cache_memory(size_t* res) {
   try {
     *res = mlx::core::get_cache_memory();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mlx-c/mlx/c/memory.h 
new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/mlx/c/memory.h
--- old/mlx-c/mlx/c/memory.h    2026-10-14 17:02:47.000000000 +0200
+++ new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/mlx/c/memory.h   
2026-11-23 10:54:44.000000000 +0100
@@ -30,6 +30,7 @@
 
 int mlx_clear_cache(void);
 int mlx_get_active_memory(size_t* res);
+int mlx_get_array_buffer_size(size_t* res, const mlx_vector_array arrays);
 int mlx_get_cache_memory(size_t* res);
 int mlx_get_memory_limit(size_t* res);
 int mlx_get_peak_memory(size_t* res);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mlx-c/mlx/c/ops.cpp 
new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/mlx/c/ops.cpp
--- old/mlx-c/mlx/c/ops.cpp     2026-10-14 17:02:47.000000000 +0200
+++ new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/mlx/c/ops.cpp    
2026-11-23 10:54:44.000000000 +0100
@@ -1687,6 +1687,7 @@
     mlx_optional_int group_size,
     mlx_optional_int bits,
     const char* mode,
+    const mlx_array global_scale /* may be null */,
     bool sorted_indices,
     const mlx_stream s) {
   try {
@@ -1708,6 +1709,8 @@
             (bits.has_value ? std::make_optional<int>(bits.value)
                             : std::nullopt),
             std::string(mode),
+            (global_scale.ctx ? 
std::make_optional(mlx_array_get_(global_scale))
+                              : std::nullopt),
             sorted_indices,
             mlx_stream_get_(s)));
   } catch (std::exception& e) {
@@ -2293,6 +2296,18 @@
   }
   return 0;
 }
+extern "C" int
+mlx_matrix_transpose(mlx_array* res, const mlx_array a, const mlx_stream s) {
+  try {
+    mlx_array_set_(
+        *res,
+        mlx::core::matrix_transpose(mlx_array_get_(a), mlx_stream_get_(s)));
+  } catch (std::exception& e) {
+    mlx_error(e.what());
+    return 1;
+  }
+  return 0;
+}
 extern "C" int mlx_max_axes(
     mlx_array* res,
     const mlx_array a,
@@ -4375,6 +4390,33 @@
             mlx_stream_get_(s)));
   } catch (std::exception& e) {
     mlx_error(e.what());
+    return 1;
+  }
+  return 0;
+}
+extern "C" int mlx_unique(
+    mlx_vector_array* res,
+    const mlx_array a,
+    int size,
+    bool return_index,
+    bool return_inverse,
+    bool return_counts,
+    const mlx_array fill_value /* may be null */,
+    const mlx_stream s) {
+  try {
+    mlx_vector_array_set_(
+        *res,
+        mlx::core::unique(
+            mlx_array_get_(a),
+            size,
+            return_index,
+            return_inverse,
+            return_counts,
+            (fill_value.ctx ? std::make_optional(mlx_array_get_(fill_value))
+                            : std::nullopt),
+            mlx_stream_get_(s)));
+  } catch (std::exception& e) {
+    mlx_error(e.what());
     return 1;
   }
   return 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mlx-c/mlx/c/ops.h 
new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/mlx/c/ops.h
--- old/mlx-c/mlx/c/ops.h       2026-10-14 17:02:47.000000000 +0200
+++ new/mlx-c-a26f2d584a14ec619ae8db9a09be03becd47598a/mlx/c/ops.h      
2026-11-23 10:54:44.000000000 +0100
@@ -548,6 +548,7 @@
     mlx_optional_int group_size,
     mlx_optional_int bits,
     const char* mode,
+    const mlx_array global_scale /* may be null */,
     bool sorted_indices,
     const mlx_stream s);
 int mlx_gather_qqmm(
@@ -703,6 +704,7 @@
     const mlx_array a,
     const mlx_array b,
     const mlx_stream s);
+int mlx_matrix_transpose(mlx_array* res, const mlx_array a, const mlx_stream 
s);
 int mlx_max_axes(
     mlx_array* res,
     const mlx_array a,
@@ -1360,6 +1362,15 @@
     const int* shape,
     size_t shape_num,
     const mlx_stream s);
+int mlx_unique(
+    mlx_vector_array* res,
+    const mlx_array a,
+    int size,
+    bool return_index,
+    bool return_inverse,
+    bool return_counts,
+    const mlx_array fill_value /* may be null */,
+    const mlx_stream s);
 int mlx_unstack_axis(
     mlx_vector_array* res,
     const mlx_array a,

++++++ mlx-c-main.tar.xz -> mlx-fc344c986c4169d99f76b5d95ae6b4a58a359a63.tar.xz 
++++++
++++ 289335 lines of diff (skipped)

++++++ ollama-0.40.16.tar.gz -> ollama-0.40.19.tar.gz ++++++
/work/SRC/openSUSE:Factory/ollama/ollama-0.40.16.tar.gz 
/work/SRC/openSUSE:Factory/.ollama.new.1340718/ollama-0.40.19.tar.gz differ: 
char 13, line 1

++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/ollama/vendor.tar.gz 
/work/SRC/openSUSE:Factory/.ollama.new.1340718/vendor.tar.gz differ: char 13, 
line 1

Reply via email to