torch-rb 0.21.0 → 0.22.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +2 -3
- data/codegen/generate_functions.rb +5 -1
- data/codegen/native_functions.yaml +239 -152
- data/ext/torch/ext.cpp +4 -0
- data/ext/torch/templates.h +1 -1
- data/ext/torch/utils.h +4 -2
- data/lib/torch/version.rb +1 -1
- data/lib/torch.rb +0 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6d84711879346fb2ee772ba127520ab533b5171a05a0609aa5ed96ca244db4d
|
4
|
+
data.tar.gz: 0ad9c5a15d4e645240061fa19f3d56eb40770dfdc3594a1306ffde0c17792d5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be84a03edc6bc7c62ac42ada37e104ed4df05f9fb7588730f2b8e5e9f6b2137dd7793b6bb71c85cd46b4ef8020c95fc9fef07aa2d4de86999c7ef683e955ad86
|
7
|
+
data.tar.gz: 669b7cc9d525c3a305d6c1eead7a65d0290da32c40049653d5f4a0c4fcc5d9650234b1f3c6027e91465d950944a746e738daea9ec775b02fdaffe33978feb650
|
data/CHANGELOG.md
CHANGED
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.
|
25
|
+
curl -L https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.9.0.zip > libtorch.zip
|
26
26
|
unzip -q libtorch.zip
|
27
27
|
```
|
28
28
|
|
@@ -418,12 +418,11 @@ Here’s the list of compatible versions.
|
|
418
418
|
|
419
419
|
Torch.rb | LibTorch
|
420
420
|
--- | ---
|
421
|
+
0.22.x | 2.9.x
|
421
422
|
0.21.x | 2.8.x
|
422
423
|
0.20.x | 2.7.x
|
423
424
|
0.19.x | 2.6.x
|
424
425
|
0.18.x | 2.5.x
|
425
|
-
0.17.x | 2.4.x
|
426
|
-
0.16.x | 2.3.x
|
427
426
|
|
428
427
|
## Performance
|
429
428
|
|
@@ -55,7 +55,11 @@ def skip_functions(functions)
|
|
55
55
|
f.base_name == "sym_storage_offset" ||
|
56
56
|
f.base_name == "sym_stride" ||
|
57
57
|
# TODO fix LibTorch 2.6 changes
|
58
|
-
f.base_name == "rrelu_with_noise"
|
58
|
+
f.base_name == "rrelu_with_noise" ||
|
59
|
+
# TODO fix LibTorch 2.9 changes
|
60
|
+
f.base_name == "sym_is_contiguous" ||
|
61
|
+
f.base_name == "fbgemm_linear_fp16_weight" ||
|
62
|
+
f.base_name == "fbgemm_linear_fp16_weight_fp32_activation"
|
59
63
|
end
|
60
64
|
end
|
61
65
|
|