[object Object]

← back to Exo

error fix

520d9d11649a0cafc03848117c4fc128da245eb3 · 2024-11-19 04:49:02 -0800 · josh

Files touched

Diff

commit 520d9d11649a0cafc03848117c4fc128da245eb3
Author: josh <eyasufikru567@gmail.com>
Date:   Tue Nov 19 04:49:02 2024 -0800

    error fix
---
 exo/__init__.py      | 2 +-
 exo/main.py          | 4 ++--
 scripts/build_exo.py | 3 +++
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/exo/__init__.py b/exo/__init__.py
index 4ba56266..596559f3 100644
--- a/exo/__init__.py
+++ b/exo/__init__.py
@@ -1 +1 @@
-from exo.helpers import DEBUG as DEBUG, DEBUG_DISCOVERY as DEBUG_DISCOVERY, VERSION as VERSION, move_models_to_hf
\ No newline at end of file
+from exo.helpers import DEBUG as DEBUG, DEBUG_DISCOVERY as DEBUG_DISCOVERY, VERSION as VERSION
\ No newline at end of file
diff --git a/exo/main.py b/exo/main.py
index 06a0147f..ffd16eda 100644
--- a/exo/main.py
+++ b/exo/main.py
@@ -20,14 +20,14 @@ from exo.topology.ring_memory_weighted_partitioning_strategy import RingMemoryWe
 from exo.api import ChatGPTAPI
 from exo.download.shard_download import ShardDownloader, RepoProgressEvent, NoopShardDownloader
 from exo.download.hf.hf_shard_download import HFShardDownloader
-from exo.helpers import print_yellow_exo, find_available_port, DEBUG, get_system_info, get_or_create_node_id, get_all_ip_addresses, terminal_link, shutdown, move_models_to_hf
+from exo.helpers import print_yellow_exo, find_available_port, DEBUG, get_system_info, get_or_create_node_id, get_all_ip_addresses, terminal_link, shutdown
 from exo.inference.shard import Shard
 from exo.inference.inference_engine import get_inference_engine, InferenceEngine
 from exo.inference.tokenizers import resolve_tokenizer
 from exo.orchestration.node import Node
 from exo.models import build_base_shard, get_repo
 from exo.viz.topology_viz import TopologyViz
-from exo.download.hf.hf_helpers import has_hf_home_read_access, has_hf_home_write_access, get_hf_home
+from exo.download.hf.hf_helpers import has_hf_home_read_access, has_hf_home_write_access, get_hf_home, move_models_to_hf
 
 # parse args
 parser = argparse.ArgumentParser(description="Initialize GRPC Discovery")
diff --git a/scripts/build_exo.py b/scripts/build_exo.py
index a24f88af..9d3f7b96 100644
--- a/scripts/build_exo.py
+++ b/scripts/build_exo.py
@@ -23,6 +23,9 @@ def run():
             "--macos-app-name=exo",
             "--macos-app-mode=gui",
             "--macos-app-version=0.0.1",
+            "-macos-signed-app-name=com.exolabs.exo",
+            "--macos-sign-identity=auto",
+            "--macos-sign-notarization",
             "--include-distribution-meta=mlx",
             "--include-module=mlx._reprlib_fix",
             "--include-module=mlx._os_warning",

← 9489b99c typo  ·  back to Exo  ·  error fix 6fc0b044 →