Skip to content

Commit

Permalink
style: spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
jaime-m-p committed Jul 4, 2024
1 parent 4db8c0d commit 906476f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test-tokenizer-random.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
class LibLlama:

DEFAULT_PATH_LLAMA_H = "./include/llama.h"
DEFAULT_PATH_INCLUDES = [ "./ggml/include/", "./include/" ]
DEFAULT_PATH_INCLUDES = ["./ggml/include/", "./include/"]
DEFAULT_PATH_LIBLLAMA = "./build/src/libllama.so" # CMakeLists.txt: BUILD_SHARED_LIBS ON

def __init__(self, path_llama_h: str = None, path_includes: list[str] = [], path_libllama: str = None):
path_llama_h = path_llama_h or self.DEFAULT_PATH_LLAMA_H
path_llama_h = path_llama_h or self.DEFAULT_PATH_LLAMA_H
path_includes = path_includes or self.DEFAULT_PATH_INCLUDES
path_libllama = path_libllama or self.DEFAULT_PATH_LIBLLAMA
(self.ffi, self.lib) = self._load_libllama_cffi(path_llama_h, path_includes, path_libllama)
Expand Down

0 comments on commit 906476f

Please sign in to comment.