llama_cpp 0.10.2 → 0.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,8 +3,8 @@
3
3
  # llama_cpp.rb provides Ruby bindings for the llama.cpp.
4
4
  module LLaMACpp
5
5
  # The version of llama_cpp.rb you install.
6
- VERSION = '0.10.2'
6
+ VERSION = '0.10.3'
7
7
 
8
8
  # The version of llama.cpp bundled with llama_cpp.rb.
9
- LLAMA_CPP_VERSION = 'b1686'
9
+ LLAMA_CPP_VERSION = 'b1710'
10
10
  end
data/sig/llama_cpp.rbs CHANGED
@@ -180,6 +180,7 @@ module LLaMACpp
180
180
  def decode: (::LLaMACpp::Batch) -> void
181
181
  def logits: () -> Array[Float]
182
182
  def n_ctx: () -> Integer
183
+ def n_batch: () -> Integer
183
184
  def timings: () -> ::LLaMACpp::Timings
184
185
  def print_timings: () -> void
185
186
  def reset_timings: () -> void
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: llama_cpp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ version: 0.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshoku
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-12-23 00:00:00.000000000 Z
11
+ date: 2023-12-30 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: llama_cpp.rb provides Ruby bindings for the llama.cpp.
14
14
  email: