From 1bae4e6b545b110530af94299e1007958bb19079 Mon Sep 17 00:00:00 2001 From: Yu xing Date: Wed, 21 Aug 2024 15:14:47 -0700 Subject: [PATCH] remove cursor to try --- .github/workflows/ci.yaml | 1 - nexa/gguf/nexa_inference_image.py | 2 +- nexa/gguf/nexa_inference_text.py | 2 +- nexa/gguf/nexa_inference_vlm.py | 2 +- nexa/gguf/nexa_inference_voice.py | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bde784ed..3bdcd138 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,7 +28,6 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install numpy --upgrade python -m pip install build pytest - name: Build DLL run: | diff --git a/nexa/gguf/nexa_inference_image.py b/nexa/gguf/nexa_inference_image.py index d9d38bfa..494374d7 100644 --- a/nexa/gguf/nexa_inference_image.py +++ b/nexa/gguf/nexa_inference_image.py @@ -81,7 +81,7 @@ def __init__(self, model_path, **kwargs): logging.error("Failed to load the model or pipeline.") exit(1) - @SpinningCursorAnimation() + # @SpinningCursorAnimation() def _load_model(self, model_path: str): with suppress_stdout_stderr(): from nexa.gguf.sd.stable_diffusion import StableDiffusion diff --git a/nexa/gguf/nexa_inference_text.py b/nexa/gguf/nexa_inference_text.py index 324f0811..e707cf1a 100644 --- a/nexa/gguf/nexa_inference_text.py +++ b/nexa/gguf/nexa_inference_text.py @@ -98,7 +98,7 @@ def create_embedding( """ return self.model.create_embedding(input) - @SpinningCursorAnimation() + # @SpinningCursorAnimation() def _load_model(self): logging.debug(f"Loading model from {self.downloaded_path}") start_time = time.time() diff --git a/nexa/gguf/nexa_inference_vlm.py b/nexa/gguf/nexa_inference_vlm.py index 63061852..b4cd0f5c 100644 --- a/nexa/gguf/nexa_inference_vlm.py +++ b/nexa/gguf/nexa_inference_vlm.py @@ -138,7 +138,7 @@ def __init__(self, model_path, stop_words=None, **kwargs): ) exit(1) - @SpinningCursorAnimation() + # @SpinningCursorAnimation() def _load_model(self): logging.debug(f"Loading model from {self.downloaded_path}") start_time = time.time() diff --git a/nexa/gguf/nexa_inference_voice.py b/nexa/gguf/nexa_inference_voice.py index 372a72f6..88856fa8 100644 --- a/nexa/gguf/nexa_inference_voice.py +++ b/nexa/gguf/nexa_inference_voice.py @@ -66,7 +66,7 @@ def __init__(self, model_path, **kwargs): exit(1) - @SpinningCursorAnimation() + # @SpinningCursorAnimation() def _load_model(self): logging.debug(f"Loading model from: {self.downloaded_path}") with suppress_stdout_stderr():