mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-02-23 14:44:09 +00:00
server: fix crash from adaptive p (#1304)
Co-authored-by: firecoperana <firecoperana>
This commit is contained in:
@@ -143,6 +143,9 @@ void common_sampler_reset(common_sampler * ctx) {
|
||||
}
|
||||
|
||||
void common_sampler_review(common_sampler * ctx) {
|
||||
if (!ctx->adapt_p_ctx) {
|
||||
return;
|
||||
}
|
||||
const bool record = ctx->record_samplers;
|
||||
const bool rewind = ctx->rewind_samplers;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user