pub enum AicError {
Show 14 variants
UnsupportedSchemaVersion {
kind: &'static str,
got: u32,
expected: u32,
},
InvalidEngineConfig(String),
EngineSpec(String),
InvalidForwardPassMetrics(String),
UnsupportedModel(String),
DataRoot(String),
ModelConfig(String),
PerfDatabase(String),
MissingSystemFlops(String),
EmpiricalNotImplemented(String),
SolNotImplemented(String),
Io {
path: PathBuf,
source: Error,
},
Yaml {
path: PathBuf,
source: Error,
},
Parquet {
path: PathBuf,
source: ParquetError,
},
}Expand description
All errors surfaced by the Rust core.
Variants§
UnsupportedSchemaVersion
InvalidEngineConfig(String)
EngineSpec(String)
InvalidForwardPassMetrics(String)
UnsupportedModel(String)
DataRoot(String)
ModelConfig(String)
PerfDatabase(String)
MissingSystemFlops(String)
A quant mode’s compute dtype has no *_tc_flops entry in the system
YAML. Mirrors Python’s MissingSystemFlopsError: the platform either
lacks hardware for that dtype or the YAML is incomplete — never
extrapolate a fictional throughput from bf16.
EmpiricalNotImplemented(String)
The HYBRID/EMPIRICAL path found no calibration data for the requested
slice — no own-shape, cross-shape, or sibling transfer reference.
Mirrors Python’s EmpiricalNotImplementedError: a coverage gap, never
converted into a fabricated SOL / constant value.
SolNotImplemented(String)
The analytic SOL path cannot represent an operator required by the
requested estimate. Mirrors Python’s SolNotImplementedError so an
optional SOL comparison can distinguish a coverage gap from an invalid
configuration or a programming error.
Io
Yaml
Parquet
Implementations§
Source§impl AicError
impl AicError
Sourcepub fn is_missing_perf_data(&self) -> bool
pub fn is_missing_perf_data(&self) -> bool
The “missing silicon data” class that HYBRID converts into an
empirical estimate. Mirrors Python’s
_MISSING_SILICON_DATA_EXCEPTIONS (PerfDataNotAvailableError,
InterpolationDataNotAvailableError) — the same set Op::Fallback
catches. EmpiricalNotImplemented is deliberately NOT in this set:
it is the terminal miss raised after the empirical path itself found
no calibration data.
Trait Implementations§
Source§impl Error for AicError
impl Error for AicError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()