mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-05-11 11:34:10 +00:00
server : fix slot ctx_drft ptr
This commit is contained in:
@@ -947,6 +947,10 @@ private:
|
||||
SRV_WRN("%s", "destroying the draft model as it is not going to be used\n");
|
||||
|
||||
ctx_drft.reset();
|
||||
|
||||
for (auto & slot : slots) {
|
||||
slot.ctx_drft = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user