瀏覽代碼

fix typo: `n_ctx_pre_seq` -> `n_ctx_per_seq` (#13221)

ddh0 8 月之前
父節點
當前提交
16a457facd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/llama-context.cpp

+ 1 - 1
src/llama-context.cpp

@@ -114,7 +114,7 @@ llama_context::llama_context(
     }
 
     if (n_ctx_per_seq > hparams.n_ctx_train) {
-        LLAMA_LOG_WARN("%s: n_ctx_pre_seq (%u) > n_ctx_train (%u) -- possible training context overflow\n",
+        LLAMA_LOG_WARN("%s: n_ctx_per_seq (%u) > n_ctx_train (%u) -- possible training context overflow\n",
                 __func__, n_ctx_per_seq, hparams.n_ctx_train);
     }