Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3330d7d

Browse filesBrowse files
committed
remove n_parts from llama_context struct
1 parent ac12509 commit 3330d7d
Copy full SHA for 3330d7d

File tree

Expand file treeCollapse file tree

1 file changed

+0
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-1
lines changed

‎llama_cpp/llama_cpp.py

Copy file name to clipboardExpand all lines: llama_cpp/llama_cpp.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ class llama_token_data_array(Structure):
113113
class llama_context_params(Structure):
114114
_fields_ = [
115115
("n_ctx", c_int), # text context
116-
("n_parts", c_int), # -1 for default
117116
("n_gpu_layers", c_int), # number of layers to store in VRAM
118117
("seed", c_int), # RNG seed, 0 for random
119118
("f16_kv", c_bool), # use fp16 for KV cache

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.