Skip to content

Commit bf73cd2

Browse files
jquesnellehodlen
authored andcommitted
fix speculative decoding build on windows (ggml-org#5874)
1 parent 2fa50ff commit bf73cd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/speculative/speculative.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ int main(int argc, char ** argv) {
226226

227227
while (active_seqs.size() > 0) {
228228
// randomly select a sequence to verify from active sequences
229-
std::uniform_int_distribution<u_int> u_int_dist(0, active_seqs.size() - 1);
229+
std::uniform_int_distribution<unsigned int> u_int_dist(0, active_seqs.size() - 1);
230230
int s = *std::next(active_seqs.begin(), u_int_dist(rng));
231231
if (i_dft >= (int) drafts[s].tokens.size()) {
232232
drafts[s].active = false;

0 commit comments

Comments
 (0)