#[non_exhaustive]pub enum NormalizedLoadRequestError {
ZeroCachedShards,
InvalidInvocationLimits {
maximum_batch_size: i32,
maximum_sequence_length: i32,
},
ReplicatedParallelTopology,
ConflictingCompletionPolicy,
OrphanedModelCompletion,
ZeroEmbeddedDraftCapacity,
UnsupportedDraftingPlan,
Completion(String),
Quantization(String),
}Expand description
Failure while validating or lowering a normalized cold-load request.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ZeroCachedShards
A prepared source must have a positive reader-cache bound.
InvalidInvocationLimits
Parallel invocation limits must both be positive.
Fields
ReplicatedParallelTopology
A replicated topology was incorrectly attached as parallel execution.
ConflictingCompletionPolicy
A local completion setting was attached before a complete parallel request.
OrphanedModelCompletion
An ordinary model request retained a communication-only policy.
ZeroEmbeddedDraftCapacity
Embedded drafting requires positive capacity.
UnsupportedDraftingPlan
The portable planner supplied a drafting mode this runtime does not understand.
Completion(String)
The default realtime completion contract could not be constructed.
Quantization(String)
A quantization request could not be represented by the checkpoint contract.
Trait Implementations§
Source§impl Debug for NormalizedLoadRequestError
impl Debug for NormalizedLoadRequestError
Source§impl Display for NormalizedLoadRequestError
impl Display for NormalizedLoadRequestError
Source§impl Error for NormalizedLoadRequestError
impl Error for NormalizedLoadRequestError
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 From<NormalizedLoadRequestError> for ExecutionPlanLoadError
impl From<NormalizedLoadRequestError> for ExecutionPlanLoadError
Source§fn from(source: NormalizedLoadRequestError) -> Self
fn from(source: NormalizedLoadRequestError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NormalizedLoadRequestError
impl RefUnwindSafe for NormalizedLoadRequestError
impl Send for NormalizedLoadRequestError
impl Sync for NormalizedLoadRequestError
impl Unpin for NormalizedLoadRequestError
impl UnsafeUnpin for NormalizedLoadRequestError
impl UnwindSafe for NormalizedLoadRequestError
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