Skip to content

Commit b2aa656

Browse files
committed
Fixed typo
1 parent 46ad8c0 commit b2aa656

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llama_cpp/_internals.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,8 @@ def __del__(self):
307307
def n_ctx(self) -> int:
308308
return llama_cpp.llama_n_ctx(self.ctx)
309309

310-
def n_batch(self) -> int:
311-
return llama_cpp.llama_n_batch(self.ctx)
310+
def n_ctx_seq(self) -> int:
311+
return llama_cpp.llama_n_ctx_seq(self.ctx)
312312

313313
def n_batch(self) -> int:
314314
return llama_cpp.llama_n_batch(self.ctx)

0 commit comments

Comments
 (0)