README.md in torch-rb-0.14.1 vs README.md in torch-rb-0.15.0
- old
+ new
@@ -8,11 +8,11 @@
- [TorchText](https://github.com/ankane/torchtext) for text and NLP tasks
- [TorchAudio](https://github.com/ankane/torchaudio) for audio tasks
- [TorchRec](https://github.com/ankane/torchrec-ruby) for recommendation systems
- [TorchData](https://github.com/ankane/torchdata-ruby) for data loading
-[![Build Status](https://github.com/ankane/torch.rb/workflows/build/badge.svg?branch=master)](https://github.com/ankane/torch.rb/actions)
+[![Build Status](https://github.com/ankane/torch.rb/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/torch.rb/actions)
## Installation
First, [install LibTorch](#libtorch-installation). With Homebrew, it’s part of the PyTorch package:
@@ -87,11 +87,11 @@
- `requires_grad` - whether or not to record gradients
You can specify properties when creating a tensor
```ruby
-Torch.rand(2, 3, dtype: :double, layout: :strided, device: "cpu", requires_grad: true)
+Torch.rand(2, 3, dtype: :float64, layout: :strided, device: "cpu", requires_grad: true)
```
### Operations
Create a tensor
@@ -408,16 +408,13 @@
Here’s the list of compatible versions.
Torch.rb | LibTorch
--- | ---
+0.15.x | 2.2.x
0.14.x | 2.1.x
0.13.x | 2.0.x
0.12.x | 1.13.x
-0.11.x | 1.12.x
-0.10.x | 1.11.x
-0.9.x | 1.10.x
-0.8.x | 1.9.x
### Homebrew
You can also use Homebrew.