torch-rb 0.22.2 → 0.23.0

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: f09e8876f931e0d2d2ed1620cfac6019b2d3ac9a42e708bc2d2bc5d9e0f84e51
4
+ data.tar.gz: 55712f92837b23fb952c78c30413203be47d09f736f3641a7a46cd34a6c085df
5
5
  SHA512:
6
- metadata.gz: 24e8f8557835301ed533bcd52eaf22a5bad643d267f2cdc8d9f49c8b6306d844d4a12411e1f32bf0512d54b8f3637aed507fa22d0b8d3c6db3633f5a24a23470
7
- data.tar.gz: 39f7d61b3f39dde83ff24eeef19996f907e3943017d2af7c16c1f18b22c1538f208be78e990177e70f33a7dffa40d87bdce0e740307fac2f7c8c8bf3e0ffea5e
6
+ metadata.gz: d2c140c59a26644f953dc7996b16cf83cee57d3c573e18275169fde76d85528c480ce905e57e97f0dc3d211a1c5987406785eb469ee75a64990482029ad594e2
7
+ data.tar.gz: 4460ebd50c579464a6272f463421ae1b6783e5123b79e9278477439ab3a4b0a582cad1951288610c19d323bc25ce770c72968e0cbedc509376c0de0778843be5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 0.23.0 (2026-01-21)
2
+
3
+ - Updated LibTorch to 2.10.0
4
+ - Changed `Tensor#device` method to return `Device` instead of string
5
+ - Fixed `item` method for multi-dimensional tensors
6
+ - Fixed error with Rice 4.8
7
+
1
8
  ## 0.22.2 (2025-11-04)
2
9
 
3
10
  - 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.9.1.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