safetensors 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Cargo.lock +73 -74
- data/ext/safetensors/Cargo.toml +3 -3
- data/lib/safetensors/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84f8bff7c062a601cd51927b94d60d6831c38ac3aa96ff2c7b28683449a636b5
|
4
|
+
data.tar.gz: d52d4cb1503db6cae59c5178c2808ca8778f6a498e0113900caf8d853dafeb2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29861ffda6b3886b566f74214f177a4fff3585bd8b746156fd23fea2fb7469e639724bf977f5f4c30605782e482ec17a0b47b0d131442b231284493b7b4d7acf
|
7
|
+
data.tar.gz: 477a0204f446d5833e65b628dbfae55bc0f71f8e6274f87acc0e9bd888e0d08359666e676dc8ba8d0b96c5d31ba05c0d8a7637304d14bbb72d9da709132ea0d1
|
data/CHANGELOG.md
CHANGED
data/Cargo.lock
CHANGED
@@ -4,9 +4,9 @@ version = 3
|
|
4
4
|
|
5
5
|
[[package]]
|
6
6
|
name = "aho-corasick"
|
7
|
-
version = "1.1.
|
7
|
+
version = "1.1.3"
|
8
8
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
9
|
-
checksum = "
|
9
|
+
checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
|
10
10
|
dependencies = [
|
11
11
|
"memchr",
|
12
12
|
]
|
@@ -33,9 +33,9 @@ dependencies = [
|
|
33
33
|
|
34
34
|
[[package]]
|
35
35
|
name = "bitflags"
|
36
|
-
version = "2.
|
36
|
+
version = "2.6.0"
|
37
37
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
38
|
-
checksum = "
|
38
|
+
checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
|
39
39
|
|
40
40
|
[[package]]
|
41
41
|
name = "cexpr"
|
@@ -54,9 +54,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
54
54
|
|
55
55
|
[[package]]
|
56
56
|
name = "clang-sys"
|
57
|
-
version = "1.
|
57
|
+
version = "1.8.1"
|
58
58
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
59
|
-
checksum = "
|
59
|
+
checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
|
60
60
|
dependencies = [
|
61
61
|
"glob",
|
62
62
|
"libc",
|
@@ -65,9 +65,9 @@ dependencies = [
|
|
65
65
|
|
66
66
|
[[package]]
|
67
67
|
name = "either"
|
68
|
-
version = "1.
|
68
|
+
version = "1.13.0"
|
69
69
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
70
|
-
checksum = "
|
70
|
+
checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
|
71
71
|
|
72
72
|
[[package]]
|
73
73
|
name = "glob"
|
@@ -86,15 +86,15 @@ dependencies = [
|
|
86
86
|
|
87
87
|
[[package]]
|
88
88
|
name = "itoa"
|
89
|
-
version = "1.0.
|
89
|
+
version = "1.0.11"
|
90
90
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
91
|
-
checksum = "
|
91
|
+
checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
|
92
92
|
|
93
93
|
[[package]]
|
94
94
|
name = "lazy_static"
|
95
|
-
version = "1.
|
95
|
+
version = "1.5.0"
|
96
96
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
97
|
-
checksum = "
|
97
|
+
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
98
98
|
|
99
99
|
[[package]]
|
100
100
|
name = "lazycell"
|
@@ -104,25 +104,25 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
|
104
104
|
|
105
105
|
[[package]]
|
106
106
|
name = "libc"
|
107
|
-
version = "0.2.
|
107
|
+
version = "0.2.157"
|
108
108
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
109
|
-
checksum = "
|
109
|
+
checksum = "374af5f94e54fa97cf75e945cce8a6b201e88a1a07e688b47dfd2a59c66dbd86"
|
110
110
|
|
111
111
|
[[package]]
|
112
112
|
name = "libloading"
|
113
|
-
version = "0.8.
|
113
|
+
version = "0.8.5"
|
114
114
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
115
|
-
checksum = "
|
115
|
+
checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4"
|
116
116
|
dependencies = [
|
117
117
|
"cfg-if",
|
118
|
-
"windows-
|
118
|
+
"windows-targets",
|
119
119
|
]
|
120
120
|
|
121
121
|
[[package]]
|
122
122
|
name = "magnus"
|
123
|
-
version = "0.
|
123
|
+
version = "0.7.1"
|
124
124
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
125
|
-
checksum = "
|
125
|
+
checksum = "3d87ae53030f3a22e83879e666cb94e58a7bdf31706878a0ba48752994146dab"
|
126
126
|
dependencies = [
|
127
127
|
"magnus-macros",
|
128
128
|
"rb-sys",
|
@@ -143,9 +143,9 @@ dependencies = [
|
|
143
143
|
|
144
144
|
[[package]]
|
145
145
|
name = "memchr"
|
146
|
-
version = "2.7.
|
146
|
+
version = "2.7.4"
|
147
147
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
148
|
-
checksum = "
|
148
|
+
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
|
149
149
|
|
150
150
|
[[package]]
|
151
151
|
name = "memmap2"
|
@@ -174,36 +174,36 @@ dependencies = [
|
|
174
174
|
|
175
175
|
[[package]]
|
176
176
|
name = "proc-macro2"
|
177
|
-
version = "1.0.
|
177
|
+
version = "1.0.86"
|
178
178
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
179
|
-
checksum = "
|
179
|
+
checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
|
180
180
|
dependencies = [
|
181
181
|
"unicode-ident",
|
182
182
|
]
|
183
183
|
|
184
184
|
[[package]]
|
185
185
|
name = "quote"
|
186
|
-
version = "1.0.
|
186
|
+
version = "1.0.36"
|
187
187
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
188
|
-
checksum = "
|
188
|
+
checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
|
189
189
|
dependencies = [
|
190
190
|
"proc-macro2",
|
191
191
|
]
|
192
192
|
|
193
193
|
[[package]]
|
194
194
|
name = "rb-sys"
|
195
|
-
version = "0.9.
|
195
|
+
version = "0.9.101"
|
196
196
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
197
|
-
checksum = "
|
197
|
+
checksum = "1ba2704ccfa7875c91792c57a9aa7c3caac524d3036c122e36eeddad6f6e7c6f"
|
198
198
|
dependencies = [
|
199
199
|
"rb-sys-build",
|
200
200
|
]
|
201
201
|
|
202
202
|
[[package]]
|
203
203
|
name = "rb-sys-build"
|
204
|
-
version = "0.9.
|
204
|
+
version = "0.9.101"
|
205
205
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
206
|
-
checksum = "
|
206
|
+
checksum = "c73585ec80c217b7a81257ca9bb89b191b5e452ec4b9106dc4c2e4e96a822242"
|
207
207
|
dependencies = [
|
208
208
|
"bindgen",
|
209
209
|
"lazy_static",
|
@@ -222,9 +222,9 @@ checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
|
|
222
222
|
|
223
223
|
[[package]]
|
224
224
|
name = "regex"
|
225
|
-
version = "1.10.
|
225
|
+
version = "1.10.6"
|
226
226
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
227
|
-
checksum = "
|
227
|
+
checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619"
|
228
228
|
dependencies = [
|
229
229
|
"aho-corasick",
|
230
230
|
"memchr",
|
@@ -234,9 +234,9 @@ dependencies = [
|
|
234
234
|
|
235
235
|
[[package]]
|
236
236
|
name = "regex-automata"
|
237
|
-
version = "0.4.
|
237
|
+
version = "0.4.7"
|
238
238
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
239
|
-
checksum = "
|
239
|
+
checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df"
|
240
240
|
dependencies = [
|
241
241
|
"aho-corasick",
|
242
242
|
"memchr",
|
@@ -245,9 +245,9 @@ dependencies = [
|
|
245
245
|
|
246
246
|
[[package]]
|
247
247
|
name = "regex-syntax"
|
248
|
-
version = "0.8.
|
248
|
+
version = "0.8.4"
|
249
249
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
250
|
-
checksum = "
|
250
|
+
checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
|
251
251
|
|
252
252
|
[[package]]
|
253
253
|
name = "rustc-hash"
|
@@ -257,25 +257,25 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
|
257
257
|
|
258
258
|
[[package]]
|
259
259
|
name = "ryu"
|
260
|
-
version = "1.0.
|
260
|
+
version = "1.0.18"
|
261
261
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
262
|
-
checksum = "
|
262
|
+
checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
|
263
263
|
|
264
264
|
[[package]]
|
265
265
|
name = "safetensors"
|
266
|
-
version = "0.1.
|
266
|
+
version = "0.1.1"
|
267
267
|
dependencies = [
|
268
268
|
"magnus",
|
269
269
|
"memmap2",
|
270
|
-
"safetensors 0.4.
|
270
|
+
"safetensors 0.4.4",
|
271
271
|
"serde_json",
|
272
272
|
]
|
273
273
|
|
274
274
|
[[package]]
|
275
275
|
name = "safetensors"
|
276
|
-
version = "0.4.
|
276
|
+
version = "0.4.4"
|
277
277
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
278
|
-
checksum = "
|
278
|
+
checksum = "7725d4d98fa515472f43a6e2bbf956c48e06b89bb50593a040e5945160214450"
|
279
279
|
dependencies = [
|
280
280
|
"serde",
|
281
281
|
"serde_json",
|
@@ -289,18 +289,18 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
|
|
289
289
|
|
290
290
|
[[package]]
|
291
291
|
name = "serde"
|
292
|
-
version = "1.0.
|
292
|
+
version = "1.0.208"
|
293
293
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
294
|
-
checksum = "
|
294
|
+
checksum = "cff085d2cb684faa248efb494c39b68e522822ac0de72ccf08109abde717cfb2"
|
295
295
|
dependencies = [
|
296
296
|
"serde_derive",
|
297
297
|
]
|
298
298
|
|
299
299
|
[[package]]
|
300
300
|
name = "serde_derive"
|
301
|
-
version = "1.0.
|
301
|
+
version = "1.0.208"
|
302
302
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
303
|
-
checksum = "
|
303
|
+
checksum = "24008e81ff7613ed8e5ba0cfaf24e2c2f1e5b8a0495711e44fcd4882fca62bcf"
|
304
304
|
dependencies = [
|
305
305
|
"proc-macro2",
|
306
306
|
"quote",
|
@@ -309,11 +309,12 @@ dependencies = [
|
|
309
309
|
|
310
310
|
[[package]]
|
311
311
|
name = "serde_json"
|
312
|
-
version = "1.0.
|
312
|
+
version = "1.0.125"
|
313
313
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
314
|
-
checksum = "
|
314
|
+
checksum = "83c8e735a073ccf5be70aa8066aa984eaf2fa000db6c8d0100ae605b366d31ed"
|
315
315
|
dependencies = [
|
316
316
|
"itoa",
|
317
|
+
"memchr",
|
317
318
|
"ryu",
|
318
319
|
"serde",
|
319
320
|
]
|
@@ -332,9 +333,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
332
333
|
|
333
334
|
[[package]]
|
334
335
|
name = "syn"
|
335
|
-
version = "2.0.
|
336
|
+
version = "2.0.75"
|
336
337
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
337
|
-
checksum = "
|
338
|
+
checksum = "f6af063034fc1935ede7be0122941bafa9bacb949334d090b77ca98b5817c7d9"
|
338
339
|
dependencies = [
|
339
340
|
"proc-macro2",
|
340
341
|
"quote",
|
@@ -347,24 +348,16 @@ version = "1.0.12"
|
|
347
348
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
348
349
|
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
|
349
350
|
|
350
|
-
[[package]]
|
351
|
-
name = "windows-sys"
|
352
|
-
version = "0.48.0"
|
353
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
354
|
-
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
|
355
|
-
dependencies = [
|
356
|
-
"windows-targets",
|
357
|
-
]
|
358
|
-
|
359
351
|
[[package]]
|
360
352
|
name = "windows-targets"
|
361
|
-
version = "0.
|
353
|
+
version = "0.52.6"
|
362
354
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
363
|
-
checksum = "
|
355
|
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
364
356
|
dependencies = [
|
365
357
|
"windows_aarch64_gnullvm",
|
366
358
|
"windows_aarch64_msvc",
|
367
359
|
"windows_i686_gnu",
|
360
|
+
"windows_i686_gnullvm",
|
368
361
|
"windows_i686_msvc",
|
369
362
|
"windows_x86_64_gnu",
|
370
363
|
"windows_x86_64_gnullvm",
|
@@ -373,42 +366,48 @@ dependencies = [
|
|
373
366
|
|
374
367
|
[[package]]
|
375
368
|
name = "windows_aarch64_gnullvm"
|
376
|
-
version = "0.
|
369
|
+
version = "0.52.6"
|
377
370
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
378
|
-
checksum = "
|
371
|
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
379
372
|
|
380
373
|
[[package]]
|
381
374
|
name = "windows_aarch64_msvc"
|
382
|
-
version = "0.
|
375
|
+
version = "0.52.6"
|
383
376
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
384
|
-
checksum = "
|
377
|
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
385
378
|
|
386
379
|
[[package]]
|
387
380
|
name = "windows_i686_gnu"
|
388
|
-
version = "0.
|
381
|
+
version = "0.52.6"
|
382
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
383
|
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
384
|
+
|
385
|
+
[[package]]
|
386
|
+
name = "windows_i686_gnullvm"
|
387
|
+
version = "0.52.6"
|
389
388
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
390
|
-
checksum = "
|
389
|
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
391
390
|
|
392
391
|
[[package]]
|
393
392
|
name = "windows_i686_msvc"
|
394
|
-
version = "0.
|
393
|
+
version = "0.52.6"
|
395
394
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
396
|
-
checksum = "
|
395
|
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
397
396
|
|
398
397
|
[[package]]
|
399
398
|
name = "windows_x86_64_gnu"
|
400
|
-
version = "0.
|
399
|
+
version = "0.52.6"
|
401
400
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
402
|
-
checksum = "
|
401
|
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
403
402
|
|
404
403
|
[[package]]
|
405
404
|
name = "windows_x86_64_gnullvm"
|
406
|
-
version = "0.
|
405
|
+
version = "0.52.6"
|
407
406
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
408
|
-
checksum = "
|
407
|
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
409
408
|
|
410
409
|
[[package]]
|
411
410
|
name = "windows_x86_64_msvc"
|
412
|
-
version = "0.
|
411
|
+
version = "0.52.6"
|
413
412
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
414
|
-
checksum = "
|
413
|
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
data/ext/safetensors/Cargo.toml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
[package]
|
2
2
|
name = "safetensors"
|
3
|
-
version = "0.1.
|
3
|
+
version = "0.1.1"
|
4
4
|
license = "Apache-2.0"
|
5
5
|
authors = ["Andrew Kane <andrew@ankane.org>"]
|
6
6
|
edition = "2021"
|
@@ -11,7 +11,7 @@ publish = false
|
|
11
11
|
crate-type = ["cdylib"]
|
12
12
|
|
13
13
|
[dependencies]
|
14
|
-
magnus = "0.
|
14
|
+
magnus = "0.7"
|
15
15
|
memmap2 = "0.5"
|
16
|
-
safetensors = "=0.4.
|
16
|
+
safetensors = "=0.4.4"
|
17
17
|
serde_json = "1.0"
|
data/lib/safetensors/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: safetensors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rb_sys
|
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '0'
|
64
64
|
requirements: []
|
65
|
-
rubygems_version: 3.5.
|
65
|
+
rubygems_version: 3.5.11
|
66
66
|
signing_key:
|
67
67
|
specification_version: 4
|
68
68
|
summary: Simple, safe way to store and distribute tensors
|