Browse Source

compile error fix

josh 7 months ago
parent
commit
f5afa4db4d
3 changed files with 4 additions and 4 deletions
  1. 1 1
      exo/download/hf/hf_helpers.py
  2. 1 1
      scripts/build_exo.py
  3. 2 2
      setup.py

+ 1 - 1
exo/download/hf/hf_helpers.py

@@ -118,7 +118,7 @@ async def move_models_to_hf(seed_dir: Union[str, Path]):
         print(f'Error moving model to .cache: {e}')
     
     
-
+    
 async def fetch_file_list(session, repo_id, revision, path=""):
   api_url = f"{get_hf_endpoint()}/api/models/{repo_id}/tree/{revision}"
   url = f"{api_url}/{path}" if path else api_url

+ 1 - 1
scripts/build_exo.py

@@ -55,4 +55,4 @@ def run():
         print(f"An error occurred: {e}")
 
 if __name__ == "__main__":
-    run()
+    run()

+ 2 - 2
setup.py

@@ -13,7 +13,7 @@ install_requires = [
   "Jinja2==3.1.4",
   "netifaces==0.11.0",
   "numpy==2.0.0",
-  "nuitka==2.4.11",
+  "nuitka==2.5.1",
   "nvidia-ml-py==12.560.30",
   "pillow==10.4.0",
   "prometheus-client==0.20.0",
@@ -24,7 +24,7 @@ install_requires = [
   "rich==13.7.1",
   "tenacity==9.0.0",
   "tqdm==4.66.4",
-  "transformers==4.46.3" if (sys.version_info.major==3 and sys.version_info.minor>12) else "transformers==4.43.3" ,
+  "transformers==4.46.3",
   "uuid==1.30",
   "tinygrad @ git+https://github.com/tinygrad/tinygrad.git@232edcfd4f8b388807c64fb1817a7668ce27cbad",
 ]