llama_cpp 0.19.4 → 0.19.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4295c62e09e9d776cb1bb6414a04acdb1d8849d73720fdb04b68fe415387afd0
4
- data.tar.gz: 7d53476133678e75649a3da5d9c607839a6cd7e7efb887dda8eaba7bc44e806f
3
+ metadata.gz: 42542ad4104e7926eb1418e671e127caf96a3ff748b0ab1d3697aeaae56de939
4
+ data.tar.gz: 6fd5680b283f050992c49b70dc2e8bc64ef18afc1ceefe7d944902def30d8ab0
5
5
  SHA512:
6
- metadata.gz: 3f8d9c31883430c21c0f1e0bb358207112e49912bbf4fc6a67f6530e6ccd5ab9beb55c058cf0e684df3e4db0259b54b08edb7dbd09ba17184f6d8a30b62582d7
7
- data.tar.gz: 329381440651e4a244134462256f3afb76236126743ada7ab3d38cae5198ca01e7388b579ee731edc5816f85dd54dea68dd15a42b700d823e9ed44e5d96400bb
6
+ metadata.gz: df888e40ecd7a9917663dda356b5b29537c32643a8b998e7e707d229cee91b544a0a5c62b9a613073bb030819f9d12b82c87efa4035e0371bba33cd719489b8a
7
+ data.tar.gz: a7c1655973159b888a1d89a4b209e5805620b5be6a65d38d167cf9812affc38ab13371648778a5ac16fddd45b5b002bead63f0ec23796b23c729c0bd48b24fa9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## [[0.19.5](https://github.com/yoshoku/llama_cpp.rb/compare/v0.19.4...v0.19.5)] - 2025-05-10
2
+
3
+ - Change supported llama.cpp version to b5320
4
+ - Remove deprecated logits_all accessor in LlamaContextParams.
5
+
1
6
  ## [[0.19.4](https://github.com/yoshoku/llama_cpp.rb/compare/v0.19.3...v0.19.4)] - 2025-04-26
2
7
 
3
8
  - Change supported llama.cpp version to b5180
@@ -772,17 +772,6 @@ static VALUE llama_context_params_set_type_v(VALUE self, VALUE type_v) {
772
772
  return type_v;
773
773
  }
774
774
 
775
- static VALUE llama_context_params_get_logits_all(VALUE self) {
776
- struct llama_context_params* data = get_llama_context_params(self);
777
- return data->logits_all ? Qtrue : Qfalse;
778
- }
779
-
780
- static VALUE llama_context_params_set_logits_all(VALUE self, VALUE logits_all) {
781
- struct llama_context_params* data = get_llama_context_params(self);
782
- data->logits_all = RTEST(logits_all) ? true : false;
783
- return logits_all;
784
- }
785
-
786
775
  static VALUE llama_context_params_get_embeddings(VALUE self) {
787
776
  struct llama_context_params* data = get_llama_context_params(self);
788
777
  return data->embeddings ? Qtrue : Qfalse;
@@ -4558,17 +4547,6 @@ void Init_llama_cpp(void) {
4558
4547
  * @return [Integer]
4559
4548
  */
4560
4549
  rb_define_method(rb_cLlamaContextParams, "type_v=", RUBY_METHOD_FUNC(llama_context_params_set_type_v), 1);
4561
- /**
4562
- * Document-method: logits_all
4563
- * @return [Boolean]
4564
- */
4565
- rb_define_method(rb_cLlamaContextParams, "logits_all", RUBY_METHOD_FUNC(llama_context_params_get_logits_all), 0);
4566
- /**
4567
- * Document-method: logits_all=
4568
- * @param [Boolean] logits_all
4569
- * @return [Boolean]
4570
- */
4571
- rb_define_method(rb_cLlamaContextParams, "logits_all=", RUBY_METHOD_FUNC(llama_context_params_set_logits_all), 1);
4572
4550
  /**
4573
4551
  * Document-method: embeddings
4574
4552
  * @return [Boolean]
@@ -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.19.4'
6
+ VERSION = '0.19.5'
7
7
 
8
8
  # The supported version of llama.cpp.
9
- LLAMA_CPP_VERSION = 'b5180'
9
+ LLAMA_CPP_VERSION = 'b5320'
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: llama_cpp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.4
4
+ version: 0.19.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshoku