Skip to content

Commit 4b51ca3

Browse files
committed
reword
1 parent f7e46f8 commit 4b51ca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama_cpp/llama.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def __init__(
309309
self._p_tensor_split = None
310310
if self.tensor_split is not None:
311311
if len(self.tensor_split) > llama_cpp.LLAMA_MAX_DEVICES:
312-
raise ValueError(f"Attempt to split tensors above the maximum supported devices. Current LLAMA_MAX_DEVICES={llama_cpp.LLAMA_MAX_DEVICES}")
312+
raise ValueError(f"Attempt to split tensors that exceed maximum supported devices. Current LLAMA_MAX_DEVICES={llama_cpp.LLAMA_MAX_DEVICES}")
313313
# Type conversion and expand the list to the length of LLAMA_MAX_DEVICES
314314
FloatArray = ctypes.c_float * llama_cpp.LLAMA_MAX_DEVICES
315315
self._c_tensor_split = FloatArray(

0 commit comments

Comments
 (0)