numo-tiny_linalg 0.3.8 → 0.4.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 +8 -0
- data/LICENSE.txt +1 -1
- data/ext/numo/tiny_linalg/extconf.rb +3 -3
- data/lib/numo/tiny_linalg/version.rb +1 -1
- data/lib/numo/tiny_linalg.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9106b22c189141a3e61290e2015726299cc8fc46b80a0155e9b0f848ceb29370
|
4
|
+
data.tar.gz: 7a8dd56ecfbb80e74dec6f42e8a14f20bb7f6a2f3f5303eb23b83a1b08158032
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5ff9c3a9d5e00bfbf2770e4c1bd56da741a5befe4875cd919e10446b21282f7f6d618f7992b1da851809b203e40ba77ab86f3e3f504f88ef5c6e5421428480d
|
7
|
+
data.tar.gz: 4e5ba2f94e1ff75157cc72520894b4088a794e5a84ff2a9498019b789c3a130c4955edcfb3e4b38be5f7278a80e75ee6576df9a73b1c42449b067183e67752b9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
## [[0.4.0](https://github.com/yoshoku/numo-tiny_linalg/compare/v0.3.9...v0.4.0)] - 2025-04-27
|
4
|
+
|
5
|
+
- Add `shared` target to make command of OpenBLAS for reducing build time.
|
6
|
+
|
7
|
+
## [[0.3.9](https://github.com/yoshoku/numo-tiny_linalg/compare/v0.3.8...v0.3.9)] - 2025-01-13
|
8
|
+
|
9
|
+
- Bump OpenBLAS to be downloaded from 0.3.28 to 0.3.29.
|
10
|
+
|
3
11
|
## [[0.3.8](https://github.com/yoshoku/numo-tiny_linalg/compare/v0.3.7...v0.3.8)] - 2024-08-11
|
4
12
|
|
5
13
|
- Bump OpenBLAS to be downloaded from 0.3.27 to 0.3.28.
|
data/LICENSE.txt
CHANGED
@@ -46,8 +46,8 @@ if build_openblas
|
|
46
46
|
|
47
47
|
VENDOR_DIR = File.expand_path("#{__dir__}/../../../vendor")
|
48
48
|
TINYLINALG_DIR = File.expand_path("#{__dir__}/../../../lib/numo/tiny_linalg")
|
49
|
-
OPENBLAS_VER = '0.3.
|
50
|
-
OPENBLAS_KEY = '
|
49
|
+
OPENBLAS_VER = '0.3.29'
|
50
|
+
OPENBLAS_KEY = '853a0c5c0747c5943e7ef4bbb793162d'
|
51
51
|
OPENBLAS_URI = "https://github.com/OpenMathLib/OpenBLAS/archive/v#{OPENBLAS_VER}.tar.gz"
|
52
52
|
OPENBLAS_TGZ = "#{VENDOR_DIR}/tmp/openblas.tgz"
|
53
53
|
|
@@ -69,7 +69,7 @@ if build_openblas
|
|
69
69
|
end
|
70
70
|
|
71
71
|
Dir.chdir("#{VENDOR_DIR}/tmp/OpenBLAS-#{OPENBLAS_VER}") do
|
72
|
-
mkstdout, _mkstderr, mkstatus = Open3.capture3("make -j#{Etc.nprocessors}")
|
72
|
+
mkstdout, _mkstderr, mkstatus = Open3.capture3("make -j#{Etc.nprocessors} shared")
|
73
73
|
File.open("#{VENDOR_DIR}/tmp/openblas.log", 'w') { |f| f.puts(mkstdout) }
|
74
74
|
abort("Failed to build OpenBLAS. Check the openblas.log file for more details: #{VENDOR_DIR}/tmp/openblas.log") unless mkstatus.success?
|
75
75
|
|
data/lib/numo/tiny_linalg.rb
CHANGED
@@ -180,7 +180,7 @@ module Numo
|
|
180
180
|
end
|
181
181
|
end
|
182
182
|
|
183
|
-
raise ArgumentError, "the number of dimensions of axis is inappropriate for the norm: #{axis.size}" unless
|
183
|
+
raise ArgumentError, "the number of dimensions of axis is inappropriate for the norm: #{axis.size}" unless [1, 2].include?(axis.size)
|
184
184
|
raise ArgumentError, "axis is out of range: #{axis}" unless axis.all? { |ax| (-a.ndim...a.ndim).cover?(ax) }
|
185
185
|
|
186
186
|
if axis.size == 1
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: numo-tiny_linalg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yoshoku
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: numo-narray
|
@@ -84,7 +83,6 @@ metadata:
|
|
84
83
|
changelog_uri: https://github.com/yoshoku/numo-tiny_linalg/blob/main/CHANGELOG.md
|
85
84
|
documentation_uri: https://yoshoku.github.io/numo-tiny_linalg/doc/
|
86
85
|
rubygems_mfa_required: 'true'
|
87
|
-
post_install_message:
|
88
86
|
rdoc_options: []
|
89
87
|
require_paths:
|
90
88
|
- lib
|
@@ -99,8 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
97
|
- !ruby/object:Gem::Version
|
100
98
|
version: '0'
|
101
99
|
requirements: []
|
102
|
-
rubygems_version: 3.
|
103
|
-
signing_key:
|
100
|
+
rubygems_version: 3.6.7
|
104
101
|
specification_version: 4
|
105
102
|
summary: Numo::TinyLinalg is a subset library from Numo::Linalg consisting only of
|
106
103
|
methods used in Machine Learning algorithms.
|