mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-07-01 00:10:21 -05:00
server : fix slot ctx_drft ptr
This commit is contained in:
parent
161eae0adf
commit
1dbc054da5
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user