Skip to content

Commit 05e212a

Browse files
feat: remove tokenizer load (#3576)
We explicitly load the toeknizers in quivr-api
1 parent 699dc2e commit 05e212a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

core/quivr_core/llm/llm_endpoint.py

-4
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,6 @@ def preload_tokenizers(cls):
8282
logger.warning(f"Failed to preload tokenizer {hub}: {str(e)}")
8383

8484

85-
# Preload tokenizers when module is imported
86-
LLMTokenizer.preload_tokenizers()
87-
88-
8985
class LLMEndpoint:
9086
def __init__(self, llm_config: LLMEndpointConfig, llm: BaseChatModel):
9187
self._config = llm_config

0 commit comments

Comments
 (0)