mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 18:48:51 +00:00
Update zip requirement from 0.6.6 to 1.1.1 (#2103)
* Update zip requirement from 0.6.6 to 1.1.1 --- updated-dependencies: - dependency-name: zip dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Fix for the zip crate update. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: laurent <laurent.mazare@gmail.com>
This commit is contained in:
@ -71,7 +71,7 @@ tracing-chrome = "0.7.1"
|
|||||||
tracing-subscriber = "0.3.7"
|
tracing-subscriber = "0.3.7"
|
||||||
wav = "1.0.0"
|
wav = "1.0.0"
|
||||||
yoke = { version = "0.7.2", features = ["derive"] }
|
yoke = { version = "0.7.2", features = ["derive"] }
|
||||||
zip = { version = "0.6.6", default-features = false }
|
zip = { version = "1.1.1", default-features = false }
|
||||||
metal = { version = "0.27.0", features = ["mps"]}
|
metal = { version = "0.27.0", features = ["mps"]}
|
||||||
|
|
||||||
[profile.release-with-debug]
|
[profile.release-with-debug]
|
||||||
|
@ -330,7 +330,7 @@ impl Tensor {
|
|||||||
path: P,
|
path: P,
|
||||||
) -> Result<()> {
|
) -> Result<()> {
|
||||||
let mut zip = zip::ZipWriter::new(File::create(path.as_ref())?);
|
let mut zip = zip::ZipWriter::new(File::create(path.as_ref())?);
|
||||||
let options =
|
let options: zip::write::FileOptions<()> =
|
||||||
zip::write::FileOptions::default().compression_method(zip::CompressionMethod::Stored);
|
zip::write::FileOptions::default().compression_method(zip::CompressionMethod::Stored);
|
||||||
|
|
||||||
for (name, tensor) in ts.iter() {
|
for (name, tensor) in ts.iter() {
|
||||||
|
Reference in New Issue
Block a user