torchrec 0.0.2 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 573d37473e5a3e8e24b60bfe886ef1d14be87833ecc7c207a349c236480f1d6e
4
- data.tar.gz: 9fcc58e9201bb545582feaa50a56727dd074688b4c830e495abd452aa31ad572
3
+ metadata.gz: 573bd88e464f0f62657e130b38acd7ced6fb1d20367824cda56ad2062330759f
4
+ data.tar.gz: d5854b55d160c2247f05c83e574d98b6b62636bebcb172cb4ab4420029f78076
5
5
  SHA512:
6
- metadata.gz: bb80aa64a91fb1af2dad904fc4f39b366f79765ba541334c4bf4109011249b9a6075a6d050b1aa644f42236cf037110181ed09cb74e71bd47882c10402e15101
7
- data.tar.gz: 7393ad51f8882915e433f3aa8314f3d743a70b192b174854f161e2479c811ad7bb57f7f1953c0e817211056c201de5cf88d4d15e78c361e52768598155e9bad9
6
+ metadata.gz: bc6f2535dcd479de0c17683dd0f99843b00de24fadb3550b52928514020f3ba1144f01c257a47cfe47afe977192415070246cfc5045f30d2abfcce4c72251fef
7
+ data.tar.gz: 987b4ebd4587d6c002bc9b133aad6d6eb306752db115797b1a2dde4754919d355c188e526f46b8ebc9119767fe93e6f0ba7a9754e7ae5d6757e2f8b9ab24a35b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.0.4 (2024-08-02)
2
+
3
+ - Dropped support for Ruby < 3.1
4
+
5
+ ## 0.0.3 (2023-07-24)
6
+
7
+ - Dropped support for Ruby < 3
8
+
1
9
  ## 0.0.2 (2022-03-14)
2
10
 
3
11
  - Added `JaggedTensor`
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Deep learning recommendation systems for Ruby
4
4
 
5
- [![Build Status](https://github.com/ankane/torchrec-ruby/workflows/build/badge.svg?branch=master)](https://github.com/ankane/torchrec-ruby/actions)
5
+ [![Build Status](https://github.com/ankane/torchrec-ruby/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/torchrec-ruby/actions)
6
6
 
7
7
  ## Installation
8
8
 
@@ -1,3 +1,3 @@
1
1
  module TorchRec
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/torchrec.rb CHANGED
@@ -1,25 +1,25 @@
1
1
  # dependencies
2
- require "torch"
2
+ require "torch-rb"
3
3
 
4
4
  # models
5
- require "torchrec/models/deepfm/dense_arch"
6
- require "torchrec/models/deepfm/over_arch"
7
- require "torchrec/models/dlrm/dense_arch"
5
+ require_relative "torchrec/models/deepfm/dense_arch"
6
+ require_relative "torchrec/models/deepfm/over_arch"
7
+ require_relative "torchrec/models/dlrm/dense_arch"
8
8
 
9
9
  # modules
10
- require "torchrec/modules/activation/swish_layer_norm"
11
- require "torchrec/modules/cross_net/cross_net"
12
- require "torchrec/modules/deepfm/deepfm"
13
- require "torchrec/modules/deepfm/factorization_machine"
14
- require "torchrec/modules/mlp/mlp"
15
- require "torchrec/modules/mlp/perceptron"
16
- require "torchrec/modules/utils"
10
+ require_relative "torchrec/modules/activation/swish_layer_norm"
11
+ require_relative "torchrec/modules/cross_net/cross_net"
12
+ require_relative "torchrec/modules/deepfm/deepfm"
13
+ require_relative "torchrec/modules/deepfm/factorization_machine"
14
+ require_relative "torchrec/modules/mlp/mlp"
15
+ require_relative "torchrec/modules/mlp/perceptron"
16
+ require_relative "torchrec/modules/utils"
17
17
 
18
18
  # sparse
19
- require "torchrec/sparse/jagged_tensor"
19
+ require_relative "torchrec/sparse/jagged_tensor"
20
20
 
21
21
  # other
22
- require "torchrec/version"
22
+ require_relative "torchrec/version"
23
23
 
24
24
  module TorchRec
25
25
  class Error < StandardError; end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torchrec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-15 00:00:00.000000000 Z
11
+ date: 2024-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: torch-rb
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.2
19
+ version: '0.13'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.9.2
26
+ version: '0.13'
27
27
  description:
28
28
  email: andrew@ankane.org
29
29
  executables: []
@@ -58,14 +58,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '2.6'
61
+ version: '3.1'
62
62
  required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  requirements:
64
64
  - - ">="
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
67
  requirements: []
68
- rubygems_version: 3.3.7
68
+ rubygems_version: 3.5.11
69
69
  signing_key:
70
70
  specification_version: 4
71
71
  summary: Deep learning recommendation systems for Ruby