There was an error while loading. Please reload this page.
1 parent a00c648 commit fa7d193Copy full SHA for fa7d193
1 file changed
fastdeploy/model_executor/ops/triton_ops/write_cache.py
@@ -75,7 +75,6 @@ def write_cache(
75
head_dim_k = cache_k.shape[-1]
76
head_dim_v = cache_v.shape[-1]
77
num_kv_heads = cache_k.shape[1]
78
- assert num_kv_heads == cache_v.shape[1]
79
q_size = qkv_out.shape[-1] - (head_dim_k + head_dim_v) * num_kv_heads
80
81
M = qkv_out.shape[0]
0 commit comments