[object Object]

← back to Exo

moving os import

b77362b41750ff4fd346c554b72600c6db718f2d · 2024-11-18 15:21:02 -0800 · cadenmackenzie

Files touched

Diff

commit b77362b41750ff4fd346c554b72600c6db718f2d
Author: cadenmackenzie <cadenmackenzie@gmail.com>
Date:   Mon Nov 18 15:21:02 2024 -0800

    moving os import
---
 exo/api/chatgpt_api.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exo/api/chatgpt_api.py b/exo/api/chatgpt_api.py
index 4656f518..54709a8a 100644
--- a/exo/api/chatgpt_api.py
+++ b/exo/api/chatgpt_api.py
@@ -2,6 +2,7 @@ import uuid
 import time
 import asyncio
 import json
+import os
 from pathlib import Path
 from transformers import AutoTokenizer
 from typing import List, Literal, Union, Dict
@@ -17,7 +18,6 @@ from exo.inference.tokenizers import resolve_tokenizer
 from exo.orchestration import Node
 from exo.models import build_base_shard, model_cards, get_repo, pretty_name
 from typing import Callable
-import os
 from exo.download.hf.hf_helpers import get_hf_home
 from exo.download.hf.hf_shard_download import HFShardDownloader
 

← 6a7de04d removing path update  ·  back to Exo  ·  removing import get_hf_home 695ab344 →