llama.cpp/llama_cpp
yieldthought 7eff42c239
Avoid "LookupError: unknown encoding: ascii" when open() called in a destructor (#1012)
The existing code often causes "LookupError: unknown encoding: ascii" when open() called in a destructor. Saving open in self.open is not enough to avoid this. Instead, we can avoid reopening /dev/null every time by doing it once when the module is loaded.
2024-01-15 10:52:10 -05:00
..
server docs: add server config docs 2023-12-22 14:37:24 -05:00
__init__.py Bump version 2024-01-10 02:51:17 -05:00
_utils.py Avoid "LookupError: unknown encoding: ascii" when open() called in a destructor (#1012) 2024-01-15 10:52:10 -05:00
llama.py Add ability to pass in penalize_nl param (#1068) 2024-01-10 02:46:27 -05:00
llama_chat_format.py Add Saiga chat format. (#1050) 2024-01-04 18:12:58 -05:00
llama_cpp.py Update llama.cpp 2024-01-15 10:12:10 -05:00
llama_grammar.py Fix Pydantic model parsing (#1087) 2024-01-15 10:45:57 -05:00
llama_types.py Add missing tool_calls finish_reason 2023-11-10 02:51:06 -05:00
llava_cpp.py Make building llava optional 2023-11-28 04:55:21 -05:00
py.typed Add py.typed 2023-08-11 09:58:48 +02:00