Hello, I have reviewed your source code and found that your generation approach is somewhat similar to the dual cache in Fast-DLLM. Since you conducted testing on OpenCompass, I migrated your code to the LLM-eval architecture of Fast-DLLM. I noticed a decrease in speed compared to the original Fast-DLLM, even when I do not perform pruning operations. The storage of the KV cache is slower than the past KV in the original Fast-DLLM.
A possible reason might be the dimensions of K and V? In the original Fast-DLLM, the dimensions are (batch size, sequence length, N), whereas in your approach, they are (batch size, number of heads, sequence length, dimension)?
Hello, I have reviewed your source code and found that your generation approach is somewhat similar to the dual cache in Fast-DLLM. Since you conducted testing on OpenCompass, I migrated your code to the LLM-eval architecture of Fast-DLLM. I noticed a decrease in speed compared to the original Fast-DLLM, even when I do not perform pruning operations. The storage of the KV cache is slower than the past KV in the original Fast-DLLM.
A possible reason might be the dimensions of K and V? In the original Fast-DLLM, the dimensions are (batch size, sequence length, N), whereas in your approach, they are (batch size, number of heads, sequence length, dimension)?