Skip to content

Commit

Permalink
Merge branch 'main' into mqaphrodite
Browse files Browse the repository at this point in the history
  • Loading branch information
AlpinDale committed Dec 30, 2024
2 parents 80a9973 + 0b5588d commit 1d15cb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aphrodite/modeling/sampling_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ def sample(logits):
sample_indices.extend(range(logit_idx, logit_idx + sample_len))
categorized_sample_indices[sampling_params.sampling_type].extend(
list(range(logit_idx, logit_idx + sample_len)))
logit_idx += sample_len

if cache is not None:
sample_obj.sampling_params = sampling_params
Expand Down

0 comments on commit 1d15cb1

Please sign in to comment.