Skip to content

armgit / Edge0

Public Imported from GitHub
0

Run 35B MoE models in ~2.5 GB of RAM. Weights stream from SSD; a trained router predicts loads a step ahead. Mac, iPhone, Android, Windows supported

Python
483 B
Raw Blame
//! Download phases: `probe → select-source → preflight → fetch → verify → stage → commit → register`.

pub const PHASES: [&str; 8] = [
    "probe",
    "select-source",
    "preflight",
    "fetch",
    "verify",
    "stage",
    "commit",
    "register",
];

pub fn next(phase: &str) -> Option<&'static str> {
    let i = PHASES.iter().position(|p| *p == phase)?;
    PHASES.get(i + 1).copied()
}

pub fn is_valid(phase: &str) -> bool {
    PHASES.contains(&phase)
}