torch-rb 0.20.0 → 0.21.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: 39fe7c12b647086c46318bb77d1aac80bac1874cf3b71f1a0db4a1671322799e
4
- data.tar.gz: 81a1c4d3ad4474b06dac82df2c38c498c7b4f5296e700d3bc98f596df14d10a4
3
+ metadata.gz: 1bed4c93f03c4aecffc8c8aee3ada9bc2b24c7a24374e624138dd2d74f2ec893
4
+ data.tar.gz: d146d7528ded15065781fe3ecacf85b7da2e6d4ff38e0f27a869b1a158f48873
5
5
  SHA512:
6
- metadata.gz: d3677acb4621a6e47194acb81612a369716dcecb86518b1f0840e4d0e3e9fe48e8eaa3c7888cb1adc0c8e4ca78aa920a23c5c452d7a33fde92461fc6fb27b9bc
7
- data.tar.gz: a02603711a10d16c6521c55c4389ade96503e60d21748d566552679acc2ab10805ada2c8083813b74ccfbba0742b68adc3cff5461b9dd000761326ee6e1ccffb
6
+ metadata.gz: c722f4cd32f6a718ffe8689d14f367f7086c6ed3ad6fbf1f813b35f93ab54b51732ffd2d3bbf2c6b049ae425be6b4d1606932ed711ca0c248d2b885ceb74d21f
7
+ data.tar.gz: 1a1040215585b2683b3b150cb41298f56c145bb3aa4f7711924d00c08e427bbedaeee168cd5438c285d36422546fbff4fd13b92fe79ba721dcc479abfc44839e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.21.0 (2025-08-07)
2
+
3
+ - Updated LibTorch to 2.8.0
4
+ - Dropped support for Ruby < 3.2
5
+
1
6
  ## 0.20.0 (2025-04-26)
2
7
 
3
8
  - Updated LibTorch to 2.7.0
data/README.md CHANGED
@@ -2,14 +2,19 @@
2
2
 
3
3
  :fire: Deep learning for Ruby, powered by [LibTorch](https://pytorch.org)
4
4
 
5
- Check out:
5
+ Also check out:
6
6
 
7
- - [TorchVision](https://github.com/ankane/torchvision) for computer vision tasks
8
- - [TorchText](https://github.com/ankane/torchtext) for text and NLP tasks
9
- - [TorchAudio](https://github.com/ankane/torchaudio) for audio tasks
7
+ - [TorchVision](https://github.com/ankane/torchvision-ruby) for computer vision tasks
8
+ - [TorchText](https://github.com/ankane/torchtext-ruby) for text and NLP tasks
9
+ - [TorchAudio](https://github.com/ankane/torchaudio-ruby) for audio tasks
10
10
  - [TorchRec](https://github.com/ankane/torchrec-ruby) for recommendation systems
11
11
  - [TorchData](https://github.com/ankane/torchdata-ruby) for data loading
12
12
 
13
+ As well as:
14
+
15
+ - [Transformers](https://github.com/ankane/transformers-ruby) for transformers
16
+ - [Safetensors](https://github.com/ankane/safetensors-ruby) for storing tensors
17
+
13
18
  [![Build Status](https://github.com/ankane/torch.rb/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/torch.rb/actions)
14
19
 
15
20
  ## Installation
@@ -17,11 +22,11 @@ Check out:
17
22
  First, [download LibTorch](https://pytorch.org/get-started/locally/). For Mac arm64, use:
18
23
 
19
24
  ```sh
20
- curl -L https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.7.0.zip > libtorch.zip
25
+ curl -L https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.8.0.zip > libtorch.zip
21
26
  unzip -q libtorch.zip
22
27
  ```
23
28
 
24
- For Linux x86-64, use the `cxx11 ABI` version. For other platforms, build LibTorch from source.
29
+ For Linux x86-64, use the build that matches your CUDA version. For other platforms, build LibTorch from source.
25
30
 
26
31
  Then run:
27
32
 
@@ -413,15 +418,12 @@ Here’s the list of compatible versions.
413
418
 
414
419
  Torch.rb | LibTorch
415
420
  --- | ---
421
+ 0.21.x | 2.8.x
416
422
  0.20.x | 2.7.x
417
423
  0.19.x | 2.6.x
418
424
  0.18.x | 2.5.x
419
425
  0.17.x | 2.4.x
420
426
  0.16.x | 2.3.x
421
- 0.15.x | 2.2.x
422
- 0.14.x | 2.1.x
423
- 0.13.x | 2.0.x
424
- 0.12.x | 1.13.x
425
427
 
426
428
  ## Performance
427
429