Skip to content

Commit

Permalink
cont : fix build
Browse files Browse the repository at this point in the history
ggml-ci
  • Loading branch information
ggerganov committed Aug 16, 2024
1 parent 02ff1b8 commit fd24e68
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion common/sampling.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <string>
#include <vector>
#include <stdexcept>

// sampler types
enum class llama_sampler_type : char {
Expand Down
2 changes: 1 addition & 1 deletion examples/speculative/speculative.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ int main(int argc, char ** argv) {
if (params.sparams.temp > 0) {
// stochastic verification

llama_token_data_array dist_tgt = llama_sampling_prepare(ctx_sampling, ctx_tgt, NULL, drafts[s_keep].i_batch_tgt[i_dft], true, NULL);
llama_token_data_array dist_tgt = llama_sampling_prepare(ctx_sampling, ctx_tgt, NULL, drafts[s_keep].i_batch_tgt[i_dft]);
llama_sampling_softmax(ctx_sampling->smpl, &dist_tgt);

float p_tgt = 0.0f;
Expand Down
1 change: 1 addition & 0 deletions src/llama-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#include <string>
#include <vector>
#include <stdexcept>

#ifdef __GNUC__
#ifdef __MINGW32__
Expand Down

0 comments on commit fd24e68

Please sign in to comment.