Accepting request 1190824 from science:machinelearning

OBS-URL: https://build.opensuse.org/request/show/1190824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ollama?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2024-08-01 20:04:47 +00:00 committed by Git OBS Bridge
commit 9f8f3754a4
8 changed files with 40 additions and 11 deletions

View File

@ -3,7 +3,7 @@
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/ollama/ollama.git</param>
<param name="scm">git</param>
<param name="revision">v0.3.0</param>
<param name="revision">v0.3.1</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/ollama/ollama.git</param>
<param name="changesrevision">bbf8f102ee06bd6b149e4999571c0844aa47b12f</param></service></servicedata>
<param name="changesrevision">1a83581a8e1063418f5f1fec14638409d0681b68</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:58ac37034b70dfa60b0be1114a82a00e407bd0fb18bff0ad7f4bce86a3c7373f
size 153287182

3
ollama-0.3.1.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:964901c4577c6efc74ecb52b519d653b371b227d5d39c5c1edeac7d70a4d1b35
size 153262606

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Tue Jul 30 07:08:37 UTC 2024 - Adrian Schröter <adrian@suse.de>
- Update to version 0.3.1:
* Added support for min_p sampling option
* Lowered number of requests required when downloading models
with ollama pull
* ollama create will now autodetect required stop parameters
when importing certain models
* Fixed issue where /save would cause parameters to be saved
incorrectly.
* OpenAI-compatible API will now return a finish_reason of
tool_calls if a tool call occured.
-------------------------------------------------------------------
Mon Jul 29 09:59:58 UTC 2024 - Adrian Schröter <adrian@suse.de>
- fix build on leap 15.6
- exclude builds on 32bit due to build failures
-------------------------------------------------------------------
Sun Jul 28 11:32:19 UTC 2024 - Eyad Issa <eyadlorenzo@gmail.com>

View File

@ -1,4 +1,4 @@
name: ollama
version: 0.3.0
mtime: 1721946295
commit: bbf8f102ee06bd6b149e4999571c0844aa47b12f
version: 0.3.1
mtime: 1722288341
commit: 1a83581a8e1063418f5f1fec14638409d0681b68

View File

@ -17,7 +17,7 @@
Name: ollama
Version: 0.3.0
Version: 0.3.1
Release: 0
Summary: Tool for running AI models on-premise
License: MIT
@ -35,9 +35,12 @@ BuildRequires: golang(API) >= 1.22
%sysusers_requires
%if 0%{?sle_version} == 150600
BuildRequires: gcc12-c++
BuildRequires: libstdc++6-gcc12
%else
BuildRequires: gcc-c++ >= 11.4.0
%endif
# 32bit seems not to be supported anymore
ExcludeArch: %ix86 %arm
%description
Ollama is a tool for running AI models on one's own hardware.
@ -78,6 +81,12 @@ mkdir -p "%{buildroot}/%{_docdir}/%{name}"
cp -Ra docs/* "%{buildroot}/%{_docdir}/%{name}"
%check
%if 0%{?sle_version} == 150600
export CXX=g++-12
export CC=gcc-12
# pie doesn't work with gcc12 on leap
export GOFLAGS="-mod=vendor"
%endif
go test ./...
%pre -f %{name}.pre

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:96e78f5284991a67ff4c7b801368a7dbb98f88894e6b4d356ab752f61af5df25
size 5354983
oid sha256:44ddc2c6af0c08316fec2243c99d08f9585c60c5110bab368a1ee081117dedb2
size 5354999