llama : rename llama-sampling to llama-sampler (#19363)
This commit addresses the TODO in llama-sampling.h to rename that header and the implementation to llama-sampler.
This commit is contained in:
parent
3e21647666
commit
e696cfc016
|
|
@ -31,7 +31,7 @@ add_library(llama
|
||||||
llama-model-saver.cpp
|
llama-model-saver.cpp
|
||||||
llama-model.cpp
|
llama-model.cpp
|
||||||
llama-quant.cpp
|
llama-quant.cpp
|
||||||
llama-sampling.cpp
|
llama-sampler.cpp
|
||||||
llama-vocab.cpp
|
llama-vocab.cpp
|
||||||
unicode-data.cpp
|
unicode-data.cpp
|
||||||
unicode.cpp
|
unicode.cpp
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
#include "llama-impl.h"
|
#include "llama-impl.h"
|
||||||
#include "llama-vocab.h"
|
#include "llama-vocab.h"
|
||||||
#include "llama-sampling.h"
|
#include "llama-sampler.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#include "llama-sampling.h"
|
#include "llama-sampler.h"
|
||||||
|
|
||||||
#include "llama-impl.h"
|
#include "llama-impl.h"
|
||||||
#include "llama-vocab.h"
|
#include "llama-vocab.h"
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// TODO: rename llama-sampling.h/.cpp to llama-sampler.h/.cpp ?
|
|
||||||
|
|
||||||
#include "llama.h"
|
#include "llama.h"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
Loading…
Reference in New Issue