fix: syntax error — missing closing paren in indexer.forward call
This commit is contained in:
@@ -387,7 +387,7 @@ def main():
|
||||
# 4. Indexer top-k (CSA layers)
|
||||
topk_idx = None
|
||||
if indexer is not None and ratio == 4:
|
||||
topk_idx = indexer.forward(q_a, x_normed, kc, dec_pos.to(dev), layer_idx=li
|
||||
topk_idx = indexer.forward(q_a, x_normed, kc, dec_pos.to(dev), layer_idx=li)
|
||||
if topk_idx is not None:
|
||||
print(f" L{li} CSA: indexer topk shape={tuple(topk_idx.shape)} "
|
||||
f"range=[{topk_idx.min().item()}, {topk_idx.max().item()}] "
|
||||
|
||||
Reference in New Issue
Block a user