← back to Exo
formatting
d94e3f9ce46dc17a46b1b705ded631df4d6b08cf · 2024-07-27 19:55:27 -0700 · Alex Cheema
Files touched
Diff
commit d94e3f9ce46dc17a46b1b705ded631df4d6b08cf
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 891937e9..7978f682 100644
--- a/exo/api/chatgpt_api.py
+++ b/exo/api/chatgpt_api.py
@@ -88,6 +88,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:
@@ -96,6 +97,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}")
← 666b1c83 refactor(mlx): model sharding and add deepseek v2 support
·
back to Exo
·
increase max line length to 200 4cb36a7f →