Skip to content

Commit 318435d

Browse files
committed
Sampler: Remove superfluous pre-sort pass
1 parent d302fa3 commit 318435d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

exllamav2/exllamav2_ext/ext_sampling.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ std::vector<float> sample_basic
238238

239239
if (num_probs || skew != 0.0f)
240240
{
241-
num_candidates = pre_sort_descending(num_candidates, temp_probs, temp_indices);
242241
sort_descending(num_candidates, temp_probs, temp_indices, num_probs);
243242
}
244243

0 commit comments

Comments
 (0)