1
0
Fork 0
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:
niansa 2023-05-18 17:49:22 +00:00
parent 88e35fd25d
commit 8fbbf58622

View file

@ -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);