mirror of
https://gitlab.com/niansa/discord_llama.git
synced 2025-03-06 20:48:25 +01:00
Fixed compile error
This commit is contained in:
parent
fba02eca47
commit
cd2b7183a8
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
@ -176,7 +176,7 @@ class Bot {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Must run in llama thread
|
// Must run in llama thread
|
||||||
void llm_restart(LM::Inference& llm) {
|
void llm_restart(LM::Inference& inference) {
|
||||||
// Deserialize init cache
|
// Deserialize init cache
|
||||||
std::ifstream f("init_cache", std::ios::binary);
|
std::ifstream f("init_cache", std::ios::binary);
|
||||||
inference.deserialize(f);
|
inference.deserialize(f);
|
||||||
|
|
Loading…
Add table
Reference in a new issue