torch-rb 0.22.2 → 0.23.1

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: 13a292607c0a4ecc21607db5128d779a2dbd349f9372fe7e140576af4b6e9e95
4
- data.tar.gz: 5ce06edf45ef0c4e05d3e77b7517c3c15c3400c36d2b264afd6252bbd6de2ab1
3
+ metadata.gz: af0e575eccaa4ab574b53df94fb6b4f4c50cc26cf76d96d6564d97d71c08dbb6
4
+ data.tar.gz: f54788198cac0ce2a970f92cf965aa426872e3a4b16f36683da2aa5fb1b82580
5
5
  SHA512:
6
- metadata.gz: 24e8f8557835301ed533bcd52eaf22a5bad643d267f2cdc8d9f49c8b6306d844d4a12411e1f32bf0512d54b8f3637aed507fa22d0b8d3c6db3633f5a24a23470
7
- data.tar.gz: 39f7d61b3f39dde83ff24eeef19996f907e3943017d2af7c16c1f18b22c1538f208be78e990177e70f33a7dffa40d87bdce0e740307fac2f7c8c8bf3e0ffea5e
6
+ metadata.gz: c14d63c032f08b4d1f2a147a8a12f8337101206f9f78e0ad35e21f01bb960c6f91031bb66d364001ee9dbe1a2eb9b7c91792e81ed4f9bd89a2d07ff6b53fefc6
7
+ data.tar.gz: 50aeeca2ce811c594c436aa1b55cb72808ea001fc1c78aaf989040491ad942020930b378179bb245bcb7d4c3a32bb9919d9d114f121926b5968cf64461bc210b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## 0.23.1 (2026-02-19)
2
+
3
+ - Fixed memory leaks with exceptions
4
+ - Fixed error with Rice 4.11
5
+
6
+ ## 0.23.0 (2026-01-21)
7
+
8
+ - Updated LibTorch to 2.10.0
9
+ - Changed `Tensor#device` method to return `Device` instead of string
10
+ - Fixed `item` method for multi-dimensional tensors
11
+ - Fixed error with Rice 4.8
12
+
1
13
  ## 0.22.2 (2025-11-04)
2
14
 
3
15
  - Added support for CUDA 12.9+
data/README.md CHANGED
@@ -22,7 +22,7 @@ As well as:
22
22
  First, [download LibTorch](https://pytorch.org/get-started/locally/). For Mac arm64, use:
23
23
 
24
24
  ```sh
25
- curl -L https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.9.0.zip > libtorch.zip
25
+ curl -L https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.10.0.zip > libtorch.zip
26
26
  unzip -q libtorch.zip
27
27
  ```
28
28
 
@@ -31,7 +31,7 @@ For Linux x86-64, use the build that matches your CUDA version. For other platfo
31
31
  Then run:
32
32
 
33
33
  ```sh
34
- bundle config build.torch-rb --with-torch-dir=/path/to/libtorch
34
+ bundle config set build.torch-rb --with-torch-dir=/path/to/libtorch
35
35
  ```
36
36
 
37
37
  And add this line to your application’s Gemfile:
@@ -418,6 +418,7 @@ Here’s the list of compatible versions.
418
418
 
419
419
  Torch.rb | LibTorch
420
420
  --- | ---
421
+ 0.23.x | 2.10.x
421
422
  0.22.x | 2.9.x
422
423
  0.21.x | 2.8.x
423
424
  0.20.x | 2.7.x