Accelerate DeepSeek DSpark inference

This commit is contained in:
Georg Bauer
2026-08-30 21:45:16 +02:00
parent 28231e1faf
commit 6c4e792c8a
5 changed files with 549 additions and 72 deletions

View File

@@ -1644,6 +1644,13 @@ impl Commands {
"executing Metal commands",
)
}
pub(super) fn flush(&mut self) -> Result<(), String> {
check(
unsafe { ds4_gpu_flush_commands() },
"flushing Metal commands",
)
}
}
pub(super) struct ParallelFfn(bool);