summaryrefslogtreecommitdiff
path: root/examples/common.h
diff options
context:
space:
mode:
authorStephan Walter <stephan@walter.name>2023-05-17 22:12:01 +0000
committerGitHub <noreply@github.com>2023-05-17 22:12:01 +0000
commitdc271c52ed65e7c8dfcbaaf84dabb1f788e4f3d0 (patch)
tree7057c49800c88566dd2bd7d4df051df6c53f7b89 /examples/common.h
parentc238b5873a1ea496db03ffcfe124c9d0d83afbc6 (diff)
Remove unused n_parts parameter (#1509)
Diffstat (limited to 'examples/common.h')
-rw-r--r--examples/common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/common.h b/examples/common.h
index f4e07a25..2ad20ba5 100644
--- a/examples/common.h
+++ b/examples/common.h
@@ -24,7 +24,6 @@ struct gpt_params {
int32_t seed = -1; // RNG seed
int32_t n_threads = get_num_physical_cores();
int32_t n_predict = -1; // new tokens to predict
- int32_t n_parts = -1; // amount of model parts (-1 = determine from model dimensions)
int32_t n_ctx = 512; // context size
int32_t n_batch = 512; // batch size for prompt processing (must be >=32 to use BLAS)
int32_t n_keep = 0; // number of tokens to keep from initial prompt