Parcourir la source

yapf considers this space to be CRITICAL

50h100a il y a 1 an
Parent
commit
2e3318c1fa
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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.