Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid Zip archive: Could not find central directory end', #32

Closed
cahya-wirawan opened this issue Aug 31, 2023 · 2 comments
Closed

invalid Zip archive: Could not find central directory end', #32

cahya-wirawan opened this issue Aug 31, 2023 · 2 comments

Comments

@cahya-wirawan
Copy link
Contributor

I tried to run the server on my Mac Mini M2, but it failed with the error message:

cahya@Cahyas-Mac-mini ai00_rwkv_server-main % cargo run --release -- --model ./wkv-1b5.st 
    Finished release [optimized] target(s) in 0.11s
     Running `target/release/ai00_server --model ./rwkv-1b5.st`
✔ Please select an adapter · Apple M2 Pro (Metal)
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: invalid Zip archive: Could not find central directory end', src/main.rs:483:44
stack backtrace:
   0:        0x10448e4b4 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h523fafbfdb8f0857
   1:        0x1043ab0a0 - core::fmt::write::hf94a55b5a3abd106
   2:        0x10446def8 - std::io::Write::write_fmt::hc7c6bf1da111b052
   3:        0x104491e58 - std::sys_common::backtrace::print::h68ede8fb1e716cba
   4:        0x104491a90 - std::panicking::default_hook::{{closure}}::hba2205c2705c60bb
   5:        0x10449297c - std::panicking::rust_panic_with_hook::h8654c51ef9980a29
   6:        0x1044924f4 - std::panicking::begin_panic_handler::{{closure}}::hd188a636b3b90298
   7:        0x104492468 - std::sys_common::backtrace::__rust_end_short_backtrace::hc331d455ac21f427
   8:        0x10449245c - _rust_begin_unwind
   9:        0x10467d12c - core::panicking::panic_fmt::h4f2054f72ff905b1
  10:        0x10467d448 - core::result::unwrap_failed::ha6ab1074250e7550
  11:        0x104320940 - ai00_server::main::{{closure}}::h7ed615bedac00e08.1388
  12:        0x1042fcb54 - ai00_server::main::h35029858114b2f14
  13:        0x104326b20 - std::sys_common::backtrace::__rust_begin_short_backtrace::h09a5428b4246a891
  14:        0x1042fb214 - _main

The model ./wkv-1b5.st is fine, because I tested it with web-rwkv on this Mac mini and it runs properly.
Thanks.

@cgisky1980
Copy link
Member

#30

@cahya-wirawan
Copy link
Contributor Author

thanks, it solved the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants