Skip to content

Implement TaskType::Training and TaskType::Inference #25

Description

@iTranscend

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!(),
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions