red-candle 0.0.4 → 0.0.5
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/Cargo.lock +2063 -0
- data/README.md +1 -9
- data/ext/candle/extconf.rb +3 -3
- data/lib/candle/version.rb +1 -1
- data/lib/candle.rb +2 -2
- metadata +6 -3
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# red-candle
|
2
2
|
|
3
|
-
[](https://github.com/assaydepot/red-candle/actions/workflows/build.yml)
|
4
4
|
[](https://badge.fury.io/rb/red-candle)
|
5
5
|
|
6
6
|
🕯️ [candle](https://github.com/huggingface/candle) - Minimalist ML framework - for Ruby
|
@@ -73,18 +73,10 @@ bundle
|
|
73
73
|
bundle exec rake compile
|
74
74
|
```
|
75
75
|
|
76
|
-
|
77
76
|
Implemented with [Magnus](https://github.com/matsadler/magnus), with reference to [Polars Ruby](https://github.com/ankane/polars-ruby)
|
78
77
|
|
79
|
-
Policies
|
80
|
-
- The less code, the better.
|
81
|
-
- Ideally, the PyPO3 code should work as is.
|
82
|
-
- Error handling is minimal.
|
83
|
-
|
84
78
|
Pull requests are welcome.
|
85
79
|
|
86
|
-
kojix2 started this project to learn Rust, but does not necessarily have enough time to maintain this library. If you are interested in becoming a project owner or committer, please send me a pull request.
|
87
|
-
|
88
80
|
### See Also
|
89
81
|
|
90
82
|
- [Numo::NArray](https://github.com/ruby-numo/numo-narray)
|
data/ext/candle/extconf.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require
|
2
|
-
require
|
1
|
+
require "mkmf"
|
2
|
+
require "rb_sys/mkmf"
|
3
3
|
|
4
|
-
create_rust_makefile(
|
4
|
+
create_rust_makefile("candle/candle")
|
data/lib/candle/version.rb
CHANGED
data/lib/candle.rb
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
require_relative
|
2
|
-
require_relative
|
1
|
+
require_relative "candle/candle"
|
2
|
+
require_relative "candle/tensor"
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: red-candle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
+
- Christopher Petersen
|
7
8
|
- kojix2
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2025-03-18 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rb_sys
|
@@ -26,12 +27,14 @@ dependencies:
|
|
26
27
|
version: '0'
|
27
28
|
description: huggingface/candle for Ruby
|
28
29
|
email:
|
30
|
+
- christopher.petersen@gmail.com
|
29
31
|
- 2xijok@gmail.com
|
30
32
|
executables: []
|
31
33
|
extensions:
|
32
34
|
- ext/candle/extconf.rb
|
33
35
|
extra_rdoc_files: []
|
34
36
|
files:
|
37
|
+
- Cargo.lock
|
35
38
|
- Cargo.toml
|
36
39
|
- README.md
|
37
40
|
- ext/candle/Cargo.toml
|
@@ -40,7 +43,7 @@ files:
|
|
40
43
|
- lib/candle.rb
|
41
44
|
- lib/candle/tensor.rb
|
42
45
|
- lib/candle/version.rb
|
43
|
-
homepage: https://github.com/
|
46
|
+
homepage: https://github.com/assaydepot/red-candle
|
44
47
|
licenses:
|
45
48
|
- MIT
|
46
49
|
metadata: {}
|