瀏覽代碼

yapf considers this space to be CRITICAL

50h100a 1 年之前
父節點
當前提交
2e3318c1fa
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      aphrodite/modeling/layers/sampler.py

+ 1 - 1
aphrodite/modeling/layers/sampler.py

@@ -258,7 +258,7 @@ def _apply_alphabet_soup(
     logits_sort[mask] = -float("inf")
 
     # Apply top-k.
-    for i,topk in enumerate(k):
+    for i, topk in enumerate(k):
         logits_sort[i, topk:] = -float("inf")
 
     # Re-sort the probabilities.