oxpilot icon indicating copy to clipboard operation
oxpilot copied to clipboard

Large diff causing LLM manager panic

Open chenhunghan opened this issue 6 months ago • 0 comments

/runner/work/oxpilot/oxpilot/src/process.rs:32:59:
called `Result::unwrap()` on an `Err` value: WithBacktrace { inner: NarrowInvalidArgs { shape: [4096, 64], dim: 0, start: 0, len: 5701, msg: "start + len > dim_len" }, backtrace: Backtrace [{ fn: "std::backtrace::Backtrace::create" }, { fn: "candle_core::error::Error::bt" }, { fn: "candle_core::tensor::Tensor::narrow" }, { fn: "candle_transformers::models::quantized_llama::LayerWeights::apply_rotary_emb" }, { fn: "candle_transformers::models::quantized_llama::ModelWeights::forward" }, { fn: "ox::main::{{closure}}::{{closure}}" }, { fn: "tokio::runtime::task::core::Core<T,S>::poll" }, { fn: "tokio::runtime::task::harness::Harness<T,S>::poll" }, { fn: "tokio::runtime::scheduler::multi_thread::worker::Context::run_task" }, { fn: "tokio::runtime::scheduler::multi_thread::worker::Context::run" }, { fn: "tokio::runtime::context::scoped::Scoped<T>::set" }, { fn: "tokio::runtime::context::runtime::enter_runtime" }, { fn: "tokio::runtime::scheduler::multi_thread::worker::run" }, { fn: "tokio::runtime::task::core::Core<T,S>::poll" }, { fn: "tokio::runtime::task::harness::Harness<T,S>::poll" }, { fn: "tokio::runtime::blocking::pool::Inner::run" }, { fn: "std::sys_common::backtrace::__rust_begin_short_backtrace" }, { fn: "core::ops::function::FnOnce::call_once{{vtable.shim}}" }, { fn: "std::sys::unix::thread::Thread::new::thread_start" }, { fn: "__pthread_joiner_wake" }] }
stack backtrace:
   0: _rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::result::unwrap_failed
   3: ox::main::{{closure}}::{{closure}}
   4: tokio::runtime::task::core::Core<T,S>::poll
   5: tokio::runtime::task::harness::Harness<T,S>::poll
   6: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
   7: tokio::runtime::scheduler::multi_thread::worker::Context::run
   8: tokio::runtime::context::scoped::Scoped<T>::set
   9: tokio::runtime::context::runtime::enter_runtime
  10: tokio::runtime::scheduler::multi_thread::worker::run
  11: tokio::runtime::task::core::Core<T,S>::poll
  12: tokio::runtime::task::harness::Harness<T,S>::poll
  13: tokio::runtime::blocking::pool::Inner::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
thread 'main' panicked at src/main.rs:223:18:
failed to send prompt to LLM manager: SendError { .. }
⠋ retry because the message not match the conventional commits specification...stack backtrace:
   0: _rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::result::unwrap_failed
   3: ox::main::{{closure}}
   4: tokio::runtime::park::CachedParkThread::block_on
   5: tokio::runtime::context::runtime::enter_runtime
   6: tokio::runtime::runtime::Runtime::block_on
   7: ox::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
⠙ retry because the message not match the conventional commits specification...

chenhunghan avatar Dec 20 '23 08:12 chenhunghan