← back to Exo
formatting
444137776a7cbf97a6c3df27f90348b52f890cae · 2024-07-27 19:55:27 -0700 · Alex Cheema
Files touched
Diff
commit 444137776a7cbf97a6c3df27f90348b52f890cae
Author: Alex Cheema <alexcheema123@gmail.com>
Date: Sat Jul 27 19:55:27 2024 -0700
formatting
---
exo/api/chatgpt_api.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/exo/api/chatgpt_api.py b/exo/api/chatgpt_api.py
index c99e3ff4..ff3c0283 100644
--- a/exo/api/chatgpt_api.py
+++ b/exo/api/chatgpt_api.py
@@ -94,6 +94,7 @@ async def resolve_tokenizer(model_id: str):
except Exception as e:
if DEBUG >= 2: print(f"Failed to load tokenizer for {model_id}. Falling back to tinygrad tokenizer. Error: {e}")
import traceback
+
if DEBUG >= 2: print(traceback.format_exc())
try:
@@ -102,6 +103,7 @@ async def resolve_tokenizer(model_id: str):
except Exception as e:
if DEBUG >= 2: print(f"Failed again to load tokenizer for {model_id}. Falling back to mlx tokenizer. Error: {e}")
import traceback
+
if DEBUG >= 2: print(traceback.format_exc())
if DEBUG >= 2: print(f"Trying mlx tokenizer for {model_id}")
← a6bb8ddf update deepseek sanitize to shard layers first before handle
·
back to Exo
·
increase max line length to 200 1dc08fec →