YiChen Lv

Results comments of YiChen Lv

Hey, thanks a lot for adding step3.5 support, great work. But One thing I wanted to flag: in process() only call llama_decode once with mtp_step=0, so only mtp1's KV gets...

@pwilkin The fill in llm_graph_input_mtp_chain_tokens::set_input writes contaminated KV entries, and the pad share is especially bad on the all-accept verify path. Nothing cleans them up afterwards, so they pile up...

> Please rebase this branch on latest master. done, i will retest mtp part.

@ggerganov I don't have an M2 Ultra, so I using Xcode GPU captures on M4 Max for the verify-shape case `kv=16384, nb=2, dk=dv=128, f16`. ```bash # baseline (Q=1) MTL_CAPTURE_ENABLED=1 GGML_METAL_CAPTURE_COMPUTE=1...

Thanks a lot for the test ! | Chip | GPU family | Q=1 µs/run | Q=2 µs/run | speedup | |---|---|---:|---:|---:| | M2 Ultra | Apple8 | 169.29 |...

@ggerganov Did the PoC — first just `lo`, then `lo` and `mqk` both. Wall-clock gets worse with each step further into SMEM. | Config | µs/run | speedup vs Q=1...

@ggerganov Sorry for the delayed reply — I’m in a different timezone. I’d be glad to help with this and invest time into making this a proper contribution. My understanding...

@ggerganov I ran into a Metal limitation here: function_constant values cannot be used as array dimensions, so `Q` and `NE` cannot be made runtime-tunable within a single kernel. They still...

Got it.I will get started on this tomorrow

Huge thanks for taking time to reproduce this and bisect it down. Just to make sure: after the autoparser refactor, what is the current situation for Step 3.5 in terms...