Hacker News new | ask | show | jobs
by torsi0n 80 days ago
https://github.com/t0rsion/leone

Working on my local LLM runtime Leone. It has a CPU path that verifies the CUDA kernels.

1 comments

why not just compare against a Pytorch reference instead of comparing the kernels to a separate scalar Rust implementation?

(is it for perf reasons because bottleneck becomes verification? Though in that case perhaps it's better to just run a Pytorch reference on the GPUs, which should be good enough. Though, perhaps if you could get this current design to the point where `overlap(CPU, GPU cuda) < GPU cuda + GPU reference` that would be pretty awesome.