|
Download tasks/cpu-decoder-graph-executor/hints/hint.md from bespokelabs/AutoResearchExam: direct link, hf CLI and curl.
- Browser
- Download file 617 Bytes
-
https://huggingface.co/datasets/bespokelabs/AutoResearchExam/resolve/main/tasks/cpu-decoder-graph-executor/hints/hint.md
- Command line
-
hf download hf://datasets/bespokelabs/AutoResearchExam/tasks/cpu-decoder-graph-executor/hints/hint.md
-
curl -L -o hint.md https://huggingface.co/datasets/bespokelabs/AutoResearchExam/resolve/main/tasks/cpu-decoder-graph-executor/hints/hint.md
617 Bytes
Specialise by sequence length: single-token execution is at the memory-bandwidth ceiling, multi-token is compute-bound. Fuse the per-layer algebra at build time - combine projections sharing an input, fold the norm scale into the next projection, fold the attention scale into the queries, and pre-compose value and output projections at length one. Carry activations transposed so the weight is the streamed operand. The largest remaining gains are a hand-written vector kernel with pre-packed weights, a persistent pool pinned one thread per physical core, and cutting bytes per weight on the bandwidth-bound path.