llama.cpp
Implement stochastic speculative sampling
#5625
Merged

Implement stochastic speculative sampling #5625

mscheong01
mscheong01 (WIP) Implement stochastic speculative decoding
c1bad4a5
mscheong01
JohannesGaessler
mscheong01 sample from residual distribution on draft accept failure
a9335a5c
mscheong01 fix #5657: force greedy sampling with probs when temp is 0
4694edde
ggerganov
mscheong01
ggerganov
mscheong01
mscheong01 remove p_accept parameter
fb18827b
mscheong01 mscheong01 changed the title (WIP) Implement stochastic speculative sampling Implement stochastic speculative sampling 2 years ago
mscheong01 fix style
34b942a4
mscheong01 remove unused variables
875319b3
JohannesGaessler
ggerganov
mscheong01
JohannesGaessler
mscheong01 add srand() in speculative.cpp
6afc1f60
JohannesGaessler
JohannesGaessler
JohannesGaessler commented on 2024-02-28
mscheong01 replace use of rand() with mt19937 sampling
94f6256f
mscheong01
mscheong01 fixes based on review (@JohannesGaessler)
e4896e71
cebtenzzre
cebtenzzre commented on 2024-02-28
mscheong01 fix r random generation
6b35c8b3
mscheong01 randomly select next sequence to verify + fix bug in memory freeing
2ad3f7c2
mscheong01
mscheong01 fix bug in active_seqs sync
c2cd2923
cebtenzzre
cebtenzzre commented on 2024-02-29
mscheong01 fix uniform int distribution initialization
7463569c
mscheong01 mscheong01 requested a review from cebtenzzre cebtenzzre 2 years ago
mscheong01 mscheong01 requested a review from JohannesGaessler JohannesGaessler 2 years ago
mscheong01 remove warnings from comparison between int and size_t
c7613540
ggerganov
ggerganov commented on 2024-03-02
ggerganov ggerganov added need feedback
mscheong01 check grammar in `llama_sample_probability_distribution_impl`
45465b21
mscheong01 remove malloc code by utilizing vectors
67ad517e
mscheong01 add PR link to README
056bdb30
mscheong01 mscheong01 requested a review from ggerganov ggerganov 2 years ago
ggerganov
ggerganov approved these changes on 2024-03-04
ggerganov ggerganov merged 6d341ab6 into master 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone