mirror of
https://gitlab.com/niansa/libjustlm.git
synced 2025-03-06 20:49:17 +01:00
Removed magic_match for llama.cpp
This commit is contained in:
parent
88e35fd25d
commit
8fbbf58622
1 changed files with 0 additions and 4 deletions
|
@ -14,10 +14,6 @@ const LM::Implementation *get_justlm_implementation() {
|
|||
return &fres;
|
||||
}
|
||||
|
||||
bool magic_match(uint32_t magic) {
|
||||
return magic == 0x67676d6c;
|
||||
}
|
||||
|
||||
LM::Inference *construct(const std::string &weights_path, std::ifstream& f, const LM::Inference::Params &p) {
|
||||
f.close();
|
||||
return new LM::LLaMaInference(weights_path, p);
|
||||
|
|
Loading…
Add table
Reference in a new issue