pub struct ReserveGraphError {
pub n_tokens: u32,
pub n_seqs: u32,
pub n_outputs: u32,
}Expand description
LlamaContext::reserve_graph could not build a graph for that shape.
Fields§
§n_tokens: u32Tokens requested.
n_seqs: u32Sequences requested.
n_outputs: u32Outputs requested.
Trait Implementations§
Source§impl Clone for ReserveGraphError
impl Clone for ReserveGraphError
impl Copy for ReserveGraphError
Source§impl Debug for ReserveGraphError
impl Debug for ReserveGraphError
Source§impl Display for ReserveGraphError
impl Display for ReserveGraphError
impl Eq for ReserveGraphError
Source§impl Error for ReserveGraphError
impl Error for ReserveGraphError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ReserveGraphError
impl PartialEq for ReserveGraphError
impl StructuralPartialEq for ReserveGraphError
Auto Trait Implementations§
impl Freeze for ReserveGraphError
impl RefUnwindSafe for ReserveGraphError
impl Send for ReserveGraphError
impl Sync for ReserveGraphError
impl Unpin for ReserveGraphError
impl UnsafeUnpin for ReserveGraphError
impl UnwindSafe for ReserveGraphError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more