red-candle 1.7.1 → 1.8.0.pre1
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 +260 -60
- data/ext/candle/Cargo.toml +1 -1
- data/lib/candle/version.rb +1 -1
- data/lib/candle.rb +15 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3b4ad17010839981938eb7c963ce84b02aee0779412da77ca8f3dca5f3ff9ec8
|
|
4
|
+
data.tar.gz: 296b45a80b1cf14c4f2a9d20a0984f06da7433f6dbb92290c7e0e10e194481ad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7d154e4a2fe3b4afddf59908c270820ae12e26d28934eff2a7cd628a7a66c153c1e02427f4939d891c27ceb6250ef26bc51f97f6862e9d7e8c4531a354b7dea4
|
|
7
|
+
data.tar.gz: f1bb5d35dac744b44ca9879334116436c80f495e722b8edfb68bd90022df3e32840b040bb1504d7acc0a93b70b31a27781ae098b4d2520184a9cae2ecdde899a
|
data/Cargo.lock
CHANGED
|
@@ -174,9 +174,9 @@ dependencies = [
|
|
|
174
174
|
|
|
175
175
|
[[package]]
|
|
176
176
|
name = "aws-lc-rs"
|
|
177
|
-
version = "1.
|
|
177
|
+
version = "1.17.0"
|
|
178
178
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
179
|
-
checksum = "
|
|
179
|
+
checksum = "5ec2f1fc3ec205783a5da9a7e6c1509cc69dedf09a1949e412c1e18469326d00"
|
|
180
180
|
dependencies = [
|
|
181
181
|
"aws-lc-sys",
|
|
182
182
|
"zeroize",
|
|
@@ -184,11 +184,10 @@ dependencies = [
|
|
|
184
184
|
|
|
185
185
|
[[package]]
|
|
186
186
|
name = "aws-lc-sys"
|
|
187
|
-
version = "0.
|
|
187
|
+
version = "0.41.0"
|
|
188
188
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
189
|
-
checksum = "
|
|
189
|
+
checksum = "1a2f9779ce85b93ab6170dd940ad0169b5766ff848247aff13bb788b832fe3f4"
|
|
190
190
|
dependencies = [
|
|
191
|
-
"bindgen 0.72.1",
|
|
192
191
|
"cc",
|
|
193
192
|
"cmake",
|
|
194
193
|
"dunce",
|
|
@@ -268,26 +267,6 @@ dependencies = [
|
|
|
268
267
|
"syn",
|
|
269
268
|
]
|
|
270
269
|
|
|
271
|
-
[[package]]
|
|
272
|
-
name = "bindgen"
|
|
273
|
-
version = "0.72.1"
|
|
274
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
275
|
-
checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895"
|
|
276
|
-
dependencies = [
|
|
277
|
-
"bitflags 2.9.4",
|
|
278
|
-
"cexpr",
|
|
279
|
-
"clang-sys",
|
|
280
|
-
"itertools 0.13.0",
|
|
281
|
-
"log",
|
|
282
|
-
"prettyplease",
|
|
283
|
-
"proc-macro2",
|
|
284
|
-
"quote",
|
|
285
|
-
"regex",
|
|
286
|
-
"rustc-hash 2.1.1",
|
|
287
|
-
"shlex",
|
|
288
|
-
"syn",
|
|
289
|
-
]
|
|
290
|
-
|
|
291
270
|
[[package]]
|
|
292
271
|
name = "bindgen_cuda"
|
|
293
272
|
version = "0.1.6"
|
|
@@ -427,7 +406,7 @@ dependencies = [
|
|
|
427
406
|
"image",
|
|
428
407
|
"magnus",
|
|
429
408
|
"outlines-core",
|
|
430
|
-
"rand 0.
|
|
409
|
+
"rand 0.10.1",
|
|
431
410
|
"safetensors 0.3.3",
|
|
432
411
|
"serde",
|
|
433
412
|
"serde_json",
|
|
@@ -458,7 +437,7 @@ dependencies = [
|
|
|
458
437
|
"num_cpus",
|
|
459
438
|
"objc2-foundation",
|
|
460
439
|
"objc2-metal",
|
|
461
|
-
"rand 0.9.
|
|
440
|
+
"rand 0.9.4",
|
|
462
441
|
"rand_distr",
|
|
463
442
|
"rayon",
|
|
464
443
|
"safetensors 0.7.0",
|
|
@@ -520,7 +499,7 @@ dependencies = [
|
|
|
520
499
|
"candle-nn",
|
|
521
500
|
"fancy-regex 0.17.0",
|
|
522
501
|
"num-traits",
|
|
523
|
-
"rand 0.9.
|
|
502
|
+
"rand 0.9.4",
|
|
524
503
|
"rayon",
|
|
525
504
|
"serde",
|
|
526
505
|
"serde_json",
|
|
@@ -581,6 +560,17 @@ version = "0.2.1"
|
|
|
581
560
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
582
561
|
checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
|
|
583
562
|
|
|
563
|
+
[[package]]
|
|
564
|
+
name = "chacha20"
|
|
565
|
+
version = "0.10.0"
|
|
566
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
567
|
+
checksum = "6f8d983286843e49675a4b7a2d174efe136dc93a18d69130dd18198a6c167601"
|
|
568
|
+
dependencies = [
|
|
569
|
+
"cfg-if",
|
|
570
|
+
"cpufeatures 0.3.0",
|
|
571
|
+
"rand_core 0.10.1",
|
|
572
|
+
]
|
|
573
|
+
|
|
584
574
|
[[package]]
|
|
585
575
|
name = "chrono"
|
|
586
576
|
version = "0.4.42"
|
|
@@ -693,6 +683,15 @@ dependencies = [
|
|
|
693
683
|
"libc",
|
|
694
684
|
]
|
|
695
685
|
|
|
686
|
+
[[package]]
|
|
687
|
+
name = "cpufeatures"
|
|
688
|
+
version = "0.3.0"
|
|
689
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
690
|
+
checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201"
|
|
691
|
+
dependencies = [
|
|
692
|
+
"libc",
|
|
693
|
+
]
|
|
694
|
+
|
|
696
695
|
[[package]]
|
|
697
696
|
name = "crc32fast"
|
|
698
697
|
version = "1.5.0"
|
|
@@ -981,7 +980,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
981
980
|
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
|
|
982
981
|
dependencies = [
|
|
983
982
|
"libc",
|
|
984
|
-
"windows-sys 0.
|
|
983
|
+
"windows-sys 0.52.0",
|
|
985
984
|
]
|
|
986
985
|
|
|
987
986
|
[[package]]
|
|
@@ -1102,7 +1101,7 @@ dependencies = [
|
|
|
1102
1101
|
"cudarc 0.19.3",
|
|
1103
1102
|
"half",
|
|
1104
1103
|
"num-traits",
|
|
1105
|
-
"rand 0.9.
|
|
1104
|
+
"rand 0.9.4",
|
|
1106
1105
|
"rand_distr",
|
|
1107
1106
|
]
|
|
1108
1107
|
|
|
@@ -1121,6 +1120,12 @@ version = "1.0.7"
|
|
|
1121
1120
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1122
1121
|
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
|
1123
1122
|
|
|
1123
|
+
[[package]]
|
|
1124
|
+
name = "foldhash"
|
|
1125
|
+
version = "0.1.5"
|
|
1126
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1127
|
+
checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
|
|
1128
|
+
|
|
1124
1129
|
[[package]]
|
|
1125
1130
|
name = "foldhash"
|
|
1126
1131
|
version = "0.2.0"
|
|
@@ -1543,11 +1548,25 @@ dependencies = [
|
|
|
1543
1548
|
"cfg-if",
|
|
1544
1549
|
"js-sys",
|
|
1545
1550
|
"libc",
|
|
1546
|
-
"r-efi",
|
|
1551
|
+
"r-efi 5.3.0",
|
|
1547
1552
|
"wasi 0.14.5+wasi-0.2.4",
|
|
1548
1553
|
"wasm-bindgen",
|
|
1549
1554
|
]
|
|
1550
1555
|
|
|
1556
|
+
[[package]]
|
|
1557
|
+
name = "getrandom"
|
|
1558
|
+
version = "0.4.2"
|
|
1559
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1560
|
+
checksum = "0de51e6874e94e7bf76d726fc5d13ba782deca734ff60d5bb2fb2607c7406555"
|
|
1561
|
+
dependencies = [
|
|
1562
|
+
"cfg-if",
|
|
1563
|
+
"libc",
|
|
1564
|
+
"r-efi 6.0.0",
|
|
1565
|
+
"rand_core 0.10.1",
|
|
1566
|
+
"wasip2",
|
|
1567
|
+
"wasip3",
|
|
1568
|
+
]
|
|
1569
|
+
|
|
1551
1570
|
[[package]]
|
|
1552
1571
|
name = "getset"
|
|
1553
1572
|
version = "0.1.6"
|
|
@@ -1611,7 +1630,7 @@ dependencies = [
|
|
|
1611
1630
|
"cfg-if",
|
|
1612
1631
|
"crunchy",
|
|
1613
1632
|
"num-traits",
|
|
1614
|
-
"rand 0.9.
|
|
1633
|
+
"rand 0.9.4",
|
|
1615
1634
|
"rand_distr",
|
|
1616
1635
|
]
|
|
1617
1636
|
|
|
@@ -1620,6 +1639,9 @@ name = "hashbrown"
|
|
|
1620
1639
|
version = "0.15.5"
|
|
1621
1640
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1622
1641
|
checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"
|
|
1642
|
+
dependencies = [
|
|
1643
|
+
"foldhash 0.1.5",
|
|
1644
|
+
]
|
|
1623
1645
|
|
|
1624
1646
|
[[package]]
|
|
1625
1647
|
name = "hashbrown"
|
|
@@ -1629,7 +1651,7 @@ checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
|
|
|
1629
1651
|
dependencies = [
|
|
1630
1652
|
"allocator-api2",
|
|
1631
1653
|
"equivalent",
|
|
1632
|
-
"foldhash",
|
|
1654
|
+
"foldhash 0.2.0",
|
|
1633
1655
|
"serde",
|
|
1634
1656
|
"serde_core",
|
|
1635
1657
|
]
|
|
@@ -1659,7 +1681,7 @@ dependencies = [
|
|
|
1659
1681
|
"log",
|
|
1660
1682
|
"native-tls",
|
|
1661
1683
|
"num_cpus",
|
|
1662
|
-
"rand 0.8.
|
|
1684
|
+
"rand 0.8.6",
|
|
1663
1685
|
"reqwest",
|
|
1664
1686
|
"rustls",
|
|
1665
1687
|
"serde",
|
|
@@ -1900,6 +1922,12 @@ dependencies = [
|
|
|
1900
1922
|
"zerovec",
|
|
1901
1923
|
]
|
|
1902
1924
|
|
|
1925
|
+
[[package]]
|
|
1926
|
+
name = "id-arena"
|
|
1927
|
+
version = "2.3.0"
|
|
1928
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1929
|
+
checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954"
|
|
1930
|
+
|
|
1903
1931
|
[[package]]
|
|
1904
1932
|
name = "ident_case"
|
|
1905
1933
|
version = "1.0.1"
|
|
@@ -1975,6 +2003,7 @@ checksum = "206a8042aec68fa4a62e8d3f7aa4ceb508177d9324faf261e1959e495b7a1921"
|
|
|
1975
2003
|
dependencies = [
|
|
1976
2004
|
"equivalent",
|
|
1977
2005
|
"hashbrown 0.15.5",
|
|
2006
|
+
"serde",
|
|
1978
2007
|
]
|
|
1979
2008
|
|
|
1980
2009
|
[[package]]
|
|
@@ -2115,6 +2144,12 @@ version = "1.3.0"
|
|
|
2115
2144
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2116
2145
|
checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
|
2117
2146
|
|
|
2147
|
+
[[package]]
|
|
2148
|
+
name = "leb128fmt"
|
|
2149
|
+
version = "0.1.0"
|
|
2150
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2151
|
+
checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2"
|
|
2152
|
+
|
|
2118
2153
|
[[package]]
|
|
2119
2154
|
name = "lebe"
|
|
2120
2155
|
version = "0.5.3"
|
|
@@ -2144,7 +2179,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
2144
2179
|
checksum = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667"
|
|
2145
2180
|
dependencies = [
|
|
2146
2181
|
"cfg-if",
|
|
2147
|
-
"windows-targets 0.
|
|
2182
|
+
"windows-targets 0.52.6",
|
|
2148
2183
|
]
|
|
2149
2184
|
|
|
2150
2185
|
[[package]]
|
|
@@ -2653,15 +2688,14 @@ dependencies = [
|
|
|
2653
2688
|
|
|
2654
2689
|
[[package]]
|
|
2655
2690
|
name = "openssl"
|
|
2656
|
-
version = "0.10.
|
|
2691
|
+
version = "0.10.80"
|
|
2657
2692
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2658
|
-
checksum = "
|
|
2693
|
+
checksum = "a45fa2aa886c42762255da344f0a0d313e254066c46aad76f300c3d3da62d967"
|
|
2659
2694
|
dependencies = [
|
|
2660
2695
|
"bitflags 2.9.4",
|
|
2661
2696
|
"cfg-if",
|
|
2662
2697
|
"foreign-types 0.3.2",
|
|
2663
2698
|
"libc",
|
|
2664
|
-
"once_cell",
|
|
2665
2699
|
"openssl-macros",
|
|
2666
2700
|
"openssl-sys",
|
|
2667
2701
|
]
|
|
@@ -2685,9 +2719,9 @@ checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e"
|
|
|
2685
2719
|
|
|
2686
2720
|
[[package]]
|
|
2687
2721
|
name = "openssl-sys"
|
|
2688
|
-
version = "0.9.
|
|
2722
|
+
version = "0.9.116"
|
|
2689
2723
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2690
|
-
checksum = "
|
|
2724
|
+
checksum = "f28a22dc7140cda5f096e5e7724a6962ca81a7f8bfd2979f9b18c11af56318c4"
|
|
2691
2725
|
dependencies = [
|
|
2692
2726
|
"cc",
|
|
2693
2727
|
"libc",
|
|
@@ -2939,7 +2973,7 @@ dependencies = [
|
|
|
2939
2973
|
"bytes",
|
|
2940
2974
|
"getrandom 0.3.3",
|
|
2941
2975
|
"lru-slab",
|
|
2942
|
-
"rand 0.9.
|
|
2976
|
+
"rand 0.9.4",
|
|
2943
2977
|
"ring",
|
|
2944
2978
|
"rustc-hash 2.1.1",
|
|
2945
2979
|
"rustls",
|
|
@@ -2962,7 +2996,7 @@ dependencies = [
|
|
|
2962
2996
|
"once_cell",
|
|
2963
2997
|
"socket2",
|
|
2964
2998
|
"tracing",
|
|
2965
|
-
"windows-sys 0.
|
|
2999
|
+
"windows-sys 0.52.0",
|
|
2966
3000
|
]
|
|
2967
3001
|
|
|
2968
3002
|
[[package]]
|
|
@@ -2980,11 +3014,17 @@ version = "5.3.0"
|
|
|
2980
3014
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2981
3015
|
checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
|
|
2982
3016
|
|
|
3017
|
+
[[package]]
|
|
3018
|
+
name = "r-efi"
|
|
3019
|
+
version = "6.0.0"
|
|
3020
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3021
|
+
checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
|
|
3022
|
+
|
|
2983
3023
|
[[package]]
|
|
2984
3024
|
name = "rand"
|
|
2985
|
-
version = "0.8.
|
|
3025
|
+
version = "0.8.6"
|
|
2986
3026
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2987
|
-
checksum = "
|
|
3027
|
+
checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a"
|
|
2988
3028
|
dependencies = [
|
|
2989
3029
|
"libc",
|
|
2990
3030
|
"rand_chacha 0.3.1",
|
|
@@ -2993,14 +3033,25 @@ dependencies = [
|
|
|
2993
3033
|
|
|
2994
3034
|
[[package]]
|
|
2995
3035
|
name = "rand"
|
|
2996
|
-
version = "0.9.
|
|
3036
|
+
version = "0.9.4"
|
|
2997
3037
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2998
|
-
checksum = "
|
|
3038
|
+
checksum = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea"
|
|
2999
3039
|
dependencies = [
|
|
3000
3040
|
"rand_chacha 0.9.0",
|
|
3001
3041
|
"rand_core 0.9.3",
|
|
3002
3042
|
]
|
|
3003
3043
|
|
|
3044
|
+
[[package]]
|
|
3045
|
+
name = "rand"
|
|
3046
|
+
version = "0.10.1"
|
|
3047
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3048
|
+
checksum = "d2e8e8bcc7961af1fdac401278c6a831614941f6164ee3bf4ce61b7edb162207"
|
|
3049
|
+
dependencies = [
|
|
3050
|
+
"chacha20",
|
|
3051
|
+
"getrandom 0.4.2",
|
|
3052
|
+
"rand_core 0.10.1",
|
|
3053
|
+
]
|
|
3054
|
+
|
|
3004
3055
|
[[package]]
|
|
3005
3056
|
name = "rand_chacha"
|
|
3006
3057
|
version = "0.3.1"
|
|
@@ -3039,6 +3090,12 @@ dependencies = [
|
|
|
3039
3090
|
"getrandom 0.3.3",
|
|
3040
3091
|
]
|
|
3041
3092
|
|
|
3093
|
+
[[package]]
|
|
3094
|
+
name = "rand_core"
|
|
3095
|
+
version = "0.10.1"
|
|
3096
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3097
|
+
checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
|
|
3098
|
+
|
|
3042
3099
|
[[package]]
|
|
3043
3100
|
name = "rand_distr"
|
|
3044
3101
|
version = "0.5.1"
|
|
@@ -3046,7 +3103,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
3046
3103
|
checksum = "6a8615d50dcf34fa31f7ab52692afec947c4dd0ab803cc87cb3b0b4570ff7463"
|
|
3047
3104
|
dependencies = [
|
|
3048
3105
|
"num-traits",
|
|
3049
|
-
"rand 0.9.
|
|
3106
|
+
"rand 0.9.4",
|
|
3050
3107
|
]
|
|
3051
3108
|
|
|
3052
3109
|
[[package]]
|
|
@@ -3076,7 +3133,7 @@ dependencies = [
|
|
|
3076
3133
|
"num-traits",
|
|
3077
3134
|
"paste",
|
|
3078
3135
|
"profiling",
|
|
3079
|
-
"rand 0.9.
|
|
3136
|
+
"rand 0.9.4",
|
|
3080
3137
|
"rand_chacha 0.9.0",
|
|
3081
3138
|
"simd_helpers",
|
|
3082
3139
|
"thiserror 2.0.16",
|
|
@@ -3165,7 +3222,7 @@ version = "0.9.124"
|
|
|
3165
3222
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3166
3223
|
checksum = "568068db4102230882e6d4ae8de6632e224ca75fe5970f6e026a04e91ed635d3"
|
|
3167
3224
|
dependencies = [
|
|
3168
|
-
"bindgen
|
|
3225
|
+
"bindgen",
|
|
3169
3226
|
"lazy_static",
|
|
3170
3227
|
"proc-macro2",
|
|
3171
3228
|
"quote",
|
|
@@ -3330,7 +3387,7 @@ dependencies = [
|
|
|
3330
3387
|
"errno",
|
|
3331
3388
|
"libc",
|
|
3332
3389
|
"linux-raw-sys",
|
|
3333
|
-
"windows-sys 0.
|
|
3390
|
+
"windows-sys 0.52.0",
|
|
3334
3391
|
]
|
|
3335
3392
|
|
|
3336
3393
|
[[package]]
|
|
@@ -3361,9 +3418,9 @@ dependencies = [
|
|
|
3361
3418
|
|
|
3362
3419
|
[[package]]
|
|
3363
3420
|
name = "rustls-webpki"
|
|
3364
|
-
version = "0.103.
|
|
3421
|
+
version = "0.103.13"
|
|
3365
3422
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3366
|
-
checksum = "
|
|
3423
|
+
checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e"
|
|
3367
3424
|
dependencies = [
|
|
3368
3425
|
"aws-lc-rs",
|
|
3369
3426
|
"ring",
|
|
@@ -3455,6 +3512,12 @@ dependencies = [
|
|
|
3455
3512
|
"libc",
|
|
3456
3513
|
]
|
|
3457
3514
|
|
|
3515
|
+
[[package]]
|
|
3516
|
+
name = "semver"
|
|
3517
|
+
version = "1.0.28"
|
|
3518
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3519
|
+
checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
|
|
3520
|
+
|
|
3458
3521
|
[[package]]
|
|
3459
3522
|
name = "seq-macro"
|
|
3460
3523
|
version = "0.3.6"
|
|
@@ -3541,7 +3604,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
3541
3604
|
checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
|
|
3542
3605
|
dependencies = [
|
|
3543
3606
|
"cfg-if",
|
|
3544
|
-
"cpufeatures",
|
|
3607
|
+
"cpufeatures 0.2.17",
|
|
3545
3608
|
"digest",
|
|
3546
3609
|
]
|
|
3547
3610
|
|
|
@@ -3728,9 +3791,9 @@ dependencies = [
|
|
|
3728
3791
|
|
|
3729
3792
|
[[package]]
|
|
3730
3793
|
name = "tar"
|
|
3731
|
-
version = "0.4.
|
|
3794
|
+
version = "0.4.46"
|
|
3732
3795
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3733
|
-
checksum = "
|
|
3796
|
+
checksum = "3f6221d9a6003c78398e3b239969f352578258df48c8eb051caadae0015bc840"
|
|
3734
3797
|
dependencies = [
|
|
3735
3798
|
"filetime",
|
|
3736
3799
|
"libc",
|
|
@@ -3747,7 +3810,7 @@ dependencies = [
|
|
|
3747
3810
|
"getrandom 0.3.3",
|
|
3748
3811
|
"once_cell",
|
|
3749
3812
|
"rustix",
|
|
3750
|
-
"windows-sys 0.
|
|
3813
|
+
"windows-sys 0.52.0",
|
|
3751
3814
|
]
|
|
3752
3815
|
|
|
3753
3816
|
[[package]]
|
|
@@ -3847,7 +3910,7 @@ dependencies = [
|
|
|
3847
3910
|
"monostate",
|
|
3848
3911
|
"onig",
|
|
3849
3912
|
"paste",
|
|
3850
|
-
"rand 0.8.
|
|
3913
|
+
"rand 0.8.6",
|
|
3851
3914
|
"rayon",
|
|
3852
3915
|
"rayon-cond 0.3.0",
|
|
3853
3916
|
"regex",
|
|
@@ -3882,7 +3945,7 @@ dependencies = [
|
|
|
3882
3945
|
"monostate",
|
|
3883
3946
|
"onig",
|
|
3884
3947
|
"paste",
|
|
3885
|
-
"rand 0.9.
|
|
3948
|
+
"rand 0.9.4",
|
|
3886
3949
|
"rayon",
|
|
3887
3950
|
"rayon-cond 0.4.0",
|
|
3888
3951
|
"regex",
|
|
@@ -4168,6 +4231,12 @@ version = "0.2.1"
|
|
|
4168
4231
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4169
4232
|
checksum = "4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c"
|
|
4170
4233
|
|
|
4234
|
+
[[package]]
|
|
4235
|
+
name = "unicode-xid"
|
|
4236
|
+
version = "0.2.6"
|
|
4237
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4238
|
+
checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
|
|
4239
|
+
|
|
4171
4240
|
[[package]]
|
|
4172
4241
|
name = "unicode_categories"
|
|
4173
4242
|
version = "0.1.1"
|
|
@@ -4304,7 +4373,16 @@ version = "1.0.0+wasi-0.2.4"
|
|
|
4304
4373
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4305
4374
|
checksum = "03fa2761397e5bd52002cd7e73110c71af2109aca4e521a9f40473fe685b0a24"
|
|
4306
4375
|
dependencies = [
|
|
4307
|
-
"wit-bindgen",
|
|
4376
|
+
"wit-bindgen 0.45.1",
|
|
4377
|
+
]
|
|
4378
|
+
|
|
4379
|
+
[[package]]
|
|
4380
|
+
name = "wasip3"
|
|
4381
|
+
version = "0.4.0+wasi-0.3.0-rc-2026-01-06"
|
|
4382
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4383
|
+
checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5"
|
|
4384
|
+
dependencies = [
|
|
4385
|
+
"wit-bindgen 0.51.0",
|
|
4308
4386
|
]
|
|
4309
4387
|
|
|
4310
4388
|
[[package]]
|
|
@@ -4379,6 +4457,28 @@ dependencies = [
|
|
|
4379
4457
|
"unicode-ident",
|
|
4380
4458
|
]
|
|
4381
4459
|
|
|
4460
|
+
[[package]]
|
|
4461
|
+
name = "wasm-encoder"
|
|
4462
|
+
version = "0.244.0"
|
|
4463
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4464
|
+
checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319"
|
|
4465
|
+
dependencies = [
|
|
4466
|
+
"leb128fmt",
|
|
4467
|
+
"wasmparser",
|
|
4468
|
+
]
|
|
4469
|
+
|
|
4470
|
+
[[package]]
|
|
4471
|
+
name = "wasm-metadata"
|
|
4472
|
+
version = "0.244.0"
|
|
4473
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4474
|
+
checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909"
|
|
4475
|
+
dependencies = [
|
|
4476
|
+
"anyhow",
|
|
4477
|
+
"indexmap",
|
|
4478
|
+
"wasm-encoder",
|
|
4479
|
+
"wasmparser",
|
|
4480
|
+
]
|
|
4481
|
+
|
|
4382
4482
|
[[package]]
|
|
4383
4483
|
name = "wasm-streams"
|
|
4384
4484
|
version = "0.4.2"
|
|
@@ -4392,6 +4492,18 @@ dependencies = [
|
|
|
4392
4492
|
"web-sys",
|
|
4393
4493
|
]
|
|
4394
4494
|
|
|
4495
|
+
[[package]]
|
|
4496
|
+
name = "wasmparser"
|
|
4497
|
+
version = "0.244.0"
|
|
4498
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4499
|
+
checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe"
|
|
4500
|
+
dependencies = [
|
|
4501
|
+
"bitflags 2.9.4",
|
|
4502
|
+
"hashbrown 0.15.5",
|
|
4503
|
+
"indexmap",
|
|
4504
|
+
"semver",
|
|
4505
|
+
]
|
|
4506
|
+
|
|
4395
4507
|
[[package]]
|
|
4396
4508
|
name = "web-sys"
|
|
4397
4509
|
version = "0.3.78"
|
|
@@ -4458,7 +4570,7 @@ version = "0.1.11"
|
|
|
4458
4570
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4459
4571
|
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
|
|
4460
4572
|
dependencies = [
|
|
4461
|
-
"windows-sys 0.
|
|
4573
|
+
"windows-sys 0.48.0",
|
|
4462
4574
|
]
|
|
4463
4575
|
|
|
4464
4576
|
[[package]]
|
|
@@ -4807,6 +4919,94 @@ version = "0.45.1"
|
|
|
4807
4919
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4808
4920
|
checksum = "5c573471f125075647d03df72e026074b7203790d41351cd6edc96f46bcccd36"
|
|
4809
4921
|
|
|
4922
|
+
[[package]]
|
|
4923
|
+
name = "wit-bindgen"
|
|
4924
|
+
version = "0.51.0"
|
|
4925
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4926
|
+
checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
|
|
4927
|
+
dependencies = [
|
|
4928
|
+
"wit-bindgen-rust-macro",
|
|
4929
|
+
]
|
|
4930
|
+
|
|
4931
|
+
[[package]]
|
|
4932
|
+
name = "wit-bindgen-core"
|
|
4933
|
+
version = "0.51.0"
|
|
4934
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4935
|
+
checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc"
|
|
4936
|
+
dependencies = [
|
|
4937
|
+
"anyhow",
|
|
4938
|
+
"heck",
|
|
4939
|
+
"wit-parser",
|
|
4940
|
+
]
|
|
4941
|
+
|
|
4942
|
+
[[package]]
|
|
4943
|
+
name = "wit-bindgen-rust"
|
|
4944
|
+
version = "0.51.0"
|
|
4945
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4946
|
+
checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21"
|
|
4947
|
+
dependencies = [
|
|
4948
|
+
"anyhow",
|
|
4949
|
+
"heck",
|
|
4950
|
+
"indexmap",
|
|
4951
|
+
"prettyplease",
|
|
4952
|
+
"syn",
|
|
4953
|
+
"wasm-metadata",
|
|
4954
|
+
"wit-bindgen-core",
|
|
4955
|
+
"wit-component",
|
|
4956
|
+
]
|
|
4957
|
+
|
|
4958
|
+
[[package]]
|
|
4959
|
+
name = "wit-bindgen-rust-macro"
|
|
4960
|
+
version = "0.51.0"
|
|
4961
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4962
|
+
checksum = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a"
|
|
4963
|
+
dependencies = [
|
|
4964
|
+
"anyhow",
|
|
4965
|
+
"prettyplease",
|
|
4966
|
+
"proc-macro2",
|
|
4967
|
+
"quote",
|
|
4968
|
+
"syn",
|
|
4969
|
+
"wit-bindgen-core",
|
|
4970
|
+
"wit-bindgen-rust",
|
|
4971
|
+
]
|
|
4972
|
+
|
|
4973
|
+
[[package]]
|
|
4974
|
+
name = "wit-component"
|
|
4975
|
+
version = "0.244.0"
|
|
4976
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4977
|
+
checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2"
|
|
4978
|
+
dependencies = [
|
|
4979
|
+
"anyhow",
|
|
4980
|
+
"bitflags 2.9.4",
|
|
4981
|
+
"indexmap",
|
|
4982
|
+
"log",
|
|
4983
|
+
"serde",
|
|
4984
|
+
"serde_derive",
|
|
4985
|
+
"serde_json",
|
|
4986
|
+
"wasm-encoder",
|
|
4987
|
+
"wasm-metadata",
|
|
4988
|
+
"wasmparser",
|
|
4989
|
+
"wit-parser",
|
|
4990
|
+
]
|
|
4991
|
+
|
|
4992
|
+
[[package]]
|
|
4993
|
+
name = "wit-parser"
|
|
4994
|
+
version = "0.244.0"
|
|
4995
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4996
|
+
checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736"
|
|
4997
|
+
dependencies = [
|
|
4998
|
+
"anyhow",
|
|
4999
|
+
"id-arena",
|
|
5000
|
+
"indexmap",
|
|
5001
|
+
"log",
|
|
5002
|
+
"semver",
|
|
5003
|
+
"serde",
|
|
5004
|
+
"serde_derive",
|
|
5005
|
+
"serde_json",
|
|
5006
|
+
"unicode-xid",
|
|
5007
|
+
"wasmparser",
|
|
5008
|
+
]
|
|
5009
|
+
|
|
4810
5010
|
[[package]]
|
|
4811
5011
|
name = "writeable"
|
|
4812
5012
|
version = "0.6.1"
|
data/ext/candle/Cargo.toml
CHANGED
data/lib/candle/version.rb
CHANGED
data/lib/candle.rb
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
require_relative "candle/logger"
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
# Load the compiled Rust extension. Precompiled (platform) gems install it into a
|
|
4
|
+
# Ruby-ABI-versioned subdir (lib/candle/<major.minor>/candle.{so,bundle}) so a single
|
|
5
|
+
# fat gem can carry a binary per Ruby version; source/dev builds place it flat at
|
|
6
|
+
# lib/candle/candle.{so,bundle}. Try the versioned path first, fall back to the flat
|
|
7
|
+
# one. Resolution goes through $LOAD_PATH (`require`, never `require_relative`) because
|
|
8
|
+
# RubyGems installs native extensions outside the gem's lib/ dir — see
|
|
9
|
+
# spec/require_spec.rb and Issue #75.
|
|
10
|
+
begin
|
|
11
|
+
RUBY_VERSION =~ /(\d+\.\d+)/
|
|
12
|
+
require "candle/#{Regexp.last_match(1)}/candle"
|
|
13
|
+
rescue LoadError
|
|
14
|
+
require "candle/candle"
|
|
15
|
+
end
|
|
16
|
+
|
|
3
17
|
require_relative "candle/tensor"
|
|
4
18
|
require_relative "candle/device_utils"
|
|
5
19
|
require_relative "candle/embedding_model_type"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: red-candle
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.8.0.pre1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Christopher Petersen
|
|
@@ -291,7 +291,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
291
291
|
version: '3.3'
|
|
292
292
|
requirements:
|
|
293
293
|
- Rust >= 1.85
|
|
294
|
-
rubygems_version:
|
|
294
|
+
rubygems_version: 3.6.9
|
|
295
295
|
specification_version: 4
|
|
296
296
|
summary: Ruby gem for running state-of-the-art language models locally. Access LLMs,
|
|
297
297
|
embeddings, rerankers, and NER models directly from Ruby using Rust-powered Candle
|