Просмотр исходного кода

server : re-enable SWA speculative decoding (#14131)

ggml-ci
Georgi Gerganov 7 месяцев назад
Родитель
Сommit
7d516443dd
1 измененных файлов с 0 добавлено и 5 удалено
  1. 0 5
      tools/server/server.cpp

+ 0 - 5
tools/server/server.cpp

@@ -2017,11 +2017,6 @@ struct server_context {
                 params_base.n_cache_reuse = 0;
                 params_base.n_cache_reuse = 0;
                 SRV_WRN("%s\n", "cache_reuse is not supported by this context, it will be disabled");
                 SRV_WRN("%s\n", "cache_reuse is not supported by this context, it will be disabled");
             }
             }
-
-            if (!params_base.speculative.model.path.empty()) {
-                SRV_ERR("%s\n", "err: speculative decode is not supported by this context");
-                return false;
-            }
         }
         }
 
 
         return true;
         return true;