is_capable() panics for any task type other than Benchmark. Training and Inference tasks cannot be announced, claimed, or executed.
Location
src/node.rs, lines 713–726
fn is_capable(&self, task: &Task) -> bool {
match task.kind() {
TaskType::Benchmark { model, dataset } => { ... }
TaskType::Training => todo!(),
TaskType::Inference => todo!(),
}
}
is_capable()panics for any task type other thanBenchmark. Training and Inference tasks cannot be announced, claimed, or executed.Location
src/node.rs, lines 713–726