cryscan / web-rwkv

Implementation of the RWKV language model in pure WebGPU/Rust.
Other
231 stars 16 forks source link

HeaderTooLarge when trying to run #28

Closed SinanAkkoyun closed 5 months ago

SinanAkkoyun commented 5 months ago
❯ RUST_BACKTRACE=1 cargo run --release --example gen                                                                                             (rwkv) 
    Finished release [optimized] target(s) in 0.04s
     Running `target/release/examples/gen`
thread 'main' panicked at examples/gen.rs:305:20:
called `Result::unwrap()` on an `Err` value: HeaderTooLarge

Stack backtrace:
   0: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
   1: gen::run::{{closure}}
   2: tokio::runtime::park::CachedParkThread::block_on
   3: tokio::runtime::context::runtime::enter_runtime
   4: tokio::runtime::runtime::Runtime::block_on
   5: gen::main
   6: std::sys_common::backtrace::__rust_begin_short_backtrace
   7: std::rt::lang_start::{{closure}}
   8: std::rt::lang_start_internal
   9: main
  10: __libc_start_call_main
             at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  11: __libc_start_main_impl
             at ./csu/../csu/libc-start.c:392:3
  12: _start
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::result::unwrap_failed
   3: tokio::runtime::park::CachedParkThread::block_on
   4: tokio::runtime::context::runtime::enter_runtime
   5: tokio::runtime::runtime::Runtime::block_on
   6: gen::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

I followed the installation from the README.md

SinanAkkoyun commented 5 months ago

Was due to me putting multiple models in the assets/models dir