torch-rb 0.14.1 → 0.16.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: 998c7844d24482a76c6bb1a7a60c508bc4f2946688d7a4a3801a9c832bf54379
4
- data.tar.gz: 2cdd9b8832159282976a5c8c44098fa1c8501b54cc4e499e908aaf3d9016061e
3
+ metadata.gz: 8442fc0f85d6f2465258a54e5aefbe03d23a7c0e58753e06855bfebd2f4de802
4
+ data.tar.gz: ac0efb89f9b6d413498bfb1c2e84336aa728047dd013d00fa736449e5be82617
5
5
  SHA512:
6
- metadata.gz: d5f536c8d0ce11a2a885c74e4a99211bff50716f80e1e9da69040f7899ca02a6a6e663e085188e89f1e85238893dafa1552422dbb844144f08c3a56a44084bc4
7
- data.tar.gz: 455a356eb60204a02d6fab0041b5fd1ad9ac26e8eefcb383be42dd5a0d4c026586d5c46749e919c0f471708e897265f48c37b5683e86b86d225f957acd6a7049
6
+ metadata.gz: 6830efe74de98fc8a8d23e7308795a60ee60fff72b3f82fa7cb92815f4efe52fdf3637e0821490f5e3e8c2c8731043f52f5aff20cfb01db1340be0962fed18db
7
+ data.tar.gz: 3e50976e5add37b4158956c76e3c922167911492acda9e171af42ad39d5abe946c36427e545d9fc820a2800e3df0523b0068ce76b804d0c05a6f1e2ad495de01
data/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## 0.16.0 (2024-06-12)
2
+
3
+ - Updated LibTorch to 2.3.0
4
+ - Added `ELU` and `GELU` classes
5
+ - Dropped support for Ruby < 3.1
6
+
7
+ ## 0.15.0 (2024-02-28)
8
+
9
+ - Updated LibTorch to 2.2.0
10
+ - Fixed error with `inspect` for MPS tensors
11
+
1
12
  ## 0.14.1 (2023-12-26)
2
13
 
3
14
  - Fixed default arguments for `conv1d`
data/README.md CHANGED
@@ -10,7 +10,7 @@ Check out:
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
- [![Build Status](https://github.com/ankane/torch.rb/workflows/build/badge.svg?branch=master)](https://github.com/ankane/torch.rb/actions)
13
+ [![Build Status](https://github.com/ankane/torch.rb/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/torch.rb/actions)
14
14
 
15
15
  ## Installation
16
16
 
@@ -89,7 +89,7 @@ Each tensor has four properties
89
89
  You can specify properties when creating a tensor
90
90
 
91
91
  ```ruby
92
- Torch.rand(2, 3, dtype: :double, layout: :strided, device: "cpu", requires_grad: true)
92
+ Torch.rand(2, 3, dtype: :float64, layout: :strided, device: "cpu", requires_grad: true)
93
93
  ```
94
94
 
95
95
  ### Operations
@@ -410,13 +410,11 @@ Here’s the list of compatible versions.
410
410
 
411
411
  Torch.rb | LibTorch
412
412
  --- | ---
413
+ 0.16.x | 2.3.x
414
+ 0.15.x | 2.2.x
413
415
  0.14.x | 2.1.x
414
416
  0.13.x | 2.0.x
415
417
  0.12.x | 1.13.x
416
- 0.11.x | 1.12.x
417
- 0.10.x | 1.11.x
418
- 0.9.x | 1.10.x
419
- 0.8.x | 1.9.x
420
418
 
421
419
  ### Homebrew
422
420