0% found this document useful (0 votes)
14 views

Log file

The document details the process of setting up a Python environment for the Spark-TTS project, including cloning the repository and creating a virtual environment. It highlights issues encountered with Python version compatibility, specifically with the einops package requiring Python 3.8 or higher. Additionally, it describes the installation of Python 3.12 via Homebrew and the associated dependencies.

Uploaded by

mujtabaasif04
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Log file

The document details the process of setting up a Python environment for the Spark-TTS project, including cloning the repository and creating a virtual environment. It highlights issues encountered with Python version compatibility, specifically with the einops package requiring Python 3.8 or higher. Additionally, it describes the installation of Python 3.12 via Homebrew and the associated dependencies.

Uploaded by

mujtabaasif04
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 25

❯ mkdir spark-test

❯ cd spark-test
❯ ls
❯ git clone https://github.com/SparkAudio/Spark-TTS.git
Cloning into 'Spark-TTS'...
remote: Enumerating objects: 260, done.
remote: Counting objects: 100% (29/29), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 260 (delta 24), reused 24 (delta 24), pack-reused 231 (from 1)
Receiving objects: 100% (260/260), 7.02 MiB | 6.36 MiB/s, done.
Resolving deltas: 100% (99/99), done.
❯ cd Spark-TTS
❯ ls
LICENSE README.md cli example
requirements.txt sparktts src webui.py
❯ conda create -n sparktts -y python=3.12
zsh: command not found: conda
❯ python3 -m venv env
❯ source env/bin/activate
❯ pip install --upgrade setuptools
Collecting setuptools
Downloading setuptools-68.0.0-py3-none-any.whl (804 kB)
|████████████████████████████████| 804 kB 912 kB/s
Installing collected packages: setuptools
Attempting uninstall: setuptools
Found existing installation: setuptools 47.1.0
Uninstalling setuptools-47.1.0:
Successfully uninstalled setuptools-47.1.0
Successfully installed setuptools-68.0.0
WARNING: You are using pip version 20.1.1; however, version 24.0 is available.
You should consider upgrading via the '/Users/macmini/Documents/spark-test/Spark-
TTS/env/bin/python3 -m pip install --upgrade pip' command.
❯ pip install --upgrade pip
Collecting pip
Downloading pip-24.0-py3-none-any.whl (2.1 MB)
|████████████████████████████████| 2.1 MB 734 kB/s
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.1.1
Uninstalling pip-20.1.1:
Successfully uninstalled pip-20.1.1
Successfully installed pip-24.0
❯ pip install -r requirements.txt
ERROR: Ignored the following versions that require a different python version:
0.6.2rc0 Requires-Python >=3.8; 0.7.0 Requires-Python >=3.8; 0.7.0rc1 Requires-
Python >=3.8; 0.7.0rc2 Requires-Python >=3.8; 0.8.0 Requires-Python >=3.8; 0.8.1
Requires-Python >=3.8
ERROR: Could not find a version that satisfies the requirement einops==0.8.1 (from
versions: 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.4.1, 0.5.0, 0.6.0, 0.6.1)
ERROR: No matching distribution found for einops==0.8.1
❯ python3 --version
Python 3.7.8
❯ python --version
Python 3.7.8
❯ python --versions
unknown option --versions
usage: /Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/
Contents/MacOS/Python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
❯ python --version
Python 3.7.8
❯ ls -ls /usr/bin/python*
24 -rwxr-xr-x 78 root wheel 118848 4 Feb 22:57 /usr/bin/python3
❯ yum list installed
zsh: command not found: yum
❯ ython --version && python3 --version

zsh: command not found: ython


❯ brew install [email protected]
==> Downloading https://formulae.brew.sh/api/formula.jws.json
==> Downloading https://formulae.brew.sh/api/cask.jws.json
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/manifests/3.12.9
###################################################################################
############################################### 100.0%
==> Fetching dependencies for [email protected]: mpdecimal, readline, sqlite and xz
==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/manifests/4.0.0-1
###################################################################################
############################################### 100.0%
==> Fetching mpdecimal
==> Downloading
https://ghcr.io/v2/homebrew/core/mpdecimal/blobs/sha256:3d6f4fb042ca6910f8926a09436
3ccfa1ec8ced0816dc75c6c52f066490d2dc0
###################################################################################
############################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/readline/manifests/8.2.13
###################################################################################
############################################### 100.0%
==> Fetching readline
==> Downloading
https://ghcr.io/v2/homebrew/core/readline/blobs/sha256:becf6fdd835be191881959acd788
745c1075eeb70cb1fd9ee646a3080597ea6f
###################################################################################
############################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.49.1
###################################################################################
############################################### 100.0%
==> Fetching sqlite
==> Downloading
https://ghcr.io/v2/homebrew/core/sqlite/blobs/sha256:e716021f04832c5efd6d6c54f65770
62dd3e7c61338df31525853f69b17d2bab
###################################################################################
############################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.6.4
###################################################################################
############################################### 100.0%
==> Fetching xz
==> Downloading
https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:6ad8909a81ad8f4d8e6f9e08c2bba861ca
213293184f37246d1687afe554cc40
###################################################################################
############################################### 100.0%
==> Fetching [email protected]
==> Downloading
https://ghcr.io/v2/homebrew/core/python/3.12/blobs/sha256:f6c2cd7fcb21085baca22c980
6d3887429f77e1bbe77803b7d27be3fd0640e5
###################################################################################
############################################### 100.0%
==> Installing dependencies for [email protected]: mpdecimal, readline, sqlite and xz
==> Installing [email protected] dependency: mpdecimal
==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/manifests/4.0.0-1
Already downloaded:
/Users/macmini/Library/Caches/Homebrew/downloads/7b63c3b34bee402290af49fac829a6682a
b45ea5c9258b6fe03b590a03a4c4a9--mpdecimal-4.0.0-1.bottle_manifest.json
==> Pouring mpdecimal--4.0.0.sequoia.bottle.1.tar.gz
🍺 /usr/local/Cellar/mpdecimal/4.0.0: 22 files, 547.6KB
==> Installing [email protected] dependency: readline
==> Downloading https://

ERROR: Could not find a version that satisfies the requirement einops==0.8.1 (from
versions: 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.4.1, 0.5.0, 0.6.0, 0.6.1)
ERROR: No matching distribution found for einops==0.8.1
❯ python3 --version
Python 3.7.8
❯ python --version
Python 3.7.8
❯ python --versions
unknown option --versions
usage: /Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/
Contents/MacOS/Python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
❯ python --version
Python 3.7.8
❯ ls -ls /usr/bin/python*
24 -rwxr-xr-x 78 root wheel 118848 4 Feb 22:57 /usr/bin/python3
❯ yum list installed
zsh: command not found: yum
❯ ython --version && python3 --version

zsh: command not found: ython


❯ brew install [email protected]
==> Downloading https://formulae.brew.sh/api/formula.jws.json
==> Downloading https://formulae.brew.sh/api/cask.jws.json
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/manifests/3.12.9
###################################################################################
############################################### 100.0%
==> Fetching dependencies for [email protected]: mpdecimal, readline, sqlite and xz
==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/manifests/4.0.0-1
###################################################################################
############################################### 100.0%
==> Fetching mpdecimal
==> Downloading
https://ghcr.io/v2/homebrew/core/mpdecimal/blobs/sha256:3d6f4fb042ca6910f8926a09436
3ccfa1ec8ced0816dc75c6c52f066490d2dc0
###################################################################################
############################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/readline/manifests/8.2.13
###################################################################################
############################################### 100.0%
==> Fetching readline
==> Downloading
https://ghcr.io/v2/homebrew/core/readline/blobs/sha256:becf6fdd835be191881959acd788
745c1075eeb70cb1fd9ee646a3080597ea6f
###################################################################################
############################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.49.1
###################################################################################
############################################### 100.0%
==> Fetching sqlite
==> Downloading
https://ghcr.io/v2/homebrew/core/sqlite/blobs/sha256:e716021f04832c5efd6d6c54f65770
62dd3e7c61338df31525853f69b17d2bab
###################################################################################
############################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.6.4
###################################################################################
############################################### 100.0%
==> Fetching xz
==> Downloading
https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:6ad8909a81ad8f4d8e6f9e08c2bba861ca
213293184f37246d1687afe554cc40
###################################################################################
############################################### 100.0%
==> Fetching [email protected]
==> Downloading
https://ghcr.io/v2/homebrew/core/python/3.12/blobs/sha256:f6c2cd7fcb21085baca22c980
6d3887429f77e1bbe77803b7d27be3fd0640e5
###################################################################################
############################################### 100.0%
==> Installing dependencies for [email protected]: mpdecimal, readline, sqlite and xz
==> Installing [email protected] dependency: mpdecimal
==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/manifests/4.0.0-1
Already downloaded:
/Users/macmini/Library/Caches/Homebrew/downloads/7b63c3b34bee402290af49fac829a6682a
b45ea5c9258b6fe03b590a03a4c4a9--mpdecimal-4.0.0-1.bottle_manifest.json
==> Pouring mpdecimal--4.0.0.sequoia.bottle.1.tar.gz
🍺 /usr/local/Cellar/mpdecimal/4.0.0: 22 files, 547.6KB
==> Installing [email protected] dependency: readline
==> Downloading https://ghcr.io/v2/homebrew/core/readline/manifests/8.2.13
Already downloaded:
/Users/macmini/Library/Caches/Homebrew/downloads/aa1afa38997a2866d91c81fdda8b36d436
cd4ea7a82aed07d13c83c56eb3460e--readline-8.2.13.bottle_manifest.json
==> Pouring readline--8.2.13.sequoia.bottle.tar.gz
🍺 /usr/local/Cellar/readline/8.2.13: 51 files, 1.6MB
==> Installing [email protected] dependency: sqlite
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.49.1
Already downloaded:
/Users/macmini/Library/Caches/Homebrew/downloads/ce3cf24bf33f0eff2d169e046ba5da3ec7
5ab9fe0439e7b7face44f42e033fcb--sqlite-3.49.1.bottle_manifest.json
==> Pouring sqlite--3.49.1.sequoia.bottle.tar.gz
🍺 /usr/local/Cellar/sqlite/3.49.1: 13 files, 4.6MB
==> Installing [email protected] dependency: xz
==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.6.4
Already downloaded:
/Users/macmini/Library/Caches/Homebrew/downloads/d14e84095418591f4112922f1a834dbac6
c7e4fdc334eae0aaff35e2b860cc5b--xz-5.6.4.bottle_manifest.json
==> Pouring xz--5.6.4.sequoia.bottle.tar.gz
🍺 /usr/local/Cellar/xz/5.6.4: 96 files, 1.8MB
==> Installing [email protected]
==> Pouring [email protected]
==> /usr/local/Cellar/[email protected]/3.12.9/bin/python3.12 -Im ensurepip
==> /usr/local/Cellar/[email protected]/3.12.9/bin/python3.12 -Im pip install -v --no-
index --upgrade --isolated --target=/usr/local/lib/python
==> Caveats
Python is installed as
/usr/local/bin/python3.12

Unversioned and major-versioned symlinks `python`, `python3`, `python-config`,


`python3-config`, `pip`, `pip3`, etc. pointing to
`python3.12`, `python3.12-config`, `pip3.12` etc., respectively, are installed into
/usr/local/opt/[email protected]/libexec/bin

If you do not need a specific version of Python, and always want Homebrew's
`python3` in your PATH:
brew install python3

See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺 /usr/local/Cellar/[email protected]/3.12.9: 3,271 files, 61.5MB
==> Running `brew cleanup [email protected]`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Caveats
==> [email protected]
Python is installed as
/usr/local/bin/python3.12

Unversioned and major-versioned symlinks `python`, `python3`, `python-config`,


`python3-config`, `pip`, `pip3`, etc. pointing to
`python3.12`, `python3.12-config`, `pip3.12` etc., respectively, are installed into
/usr/local/opt/[email protected]/libexec/bin

If you do not need a specific version of Python, and always want Homebrew's
`python3` in your PATH:
brew install python3

See: https://docs.brew.sh/Homebrew-and-Python
❯ python --version
Python 3.7.8
❯ python3 --version
Python 3.7.8
❯ python2 --version
zsh: command not found: python2
❯ python --version
Python 3.7.8
❯ python3.12 -m venv env12
❯ source env12/bin/activate
❯ which python
/Users/macmini/Documents/spark-test/Spark-TTS/env12/bin/python
❯ python --version
Python 3.12.9
❯ pip install --upgrade setuptools
Collecting setuptools
Downloading setuptools-76.0.0-py3-none-any.whl.metadata (6.7 kB)
Downloading setuptools-76.0.0-py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 35.1 MB/s eta 0:00:00
Installing collected packages: setuptools
Successfully installed setuptools-76.0.0

[notice] A new release of pip is available: 25.0 -> 25.0.1


[notice] To update, run: pip install --upgrade pip
❯ pip install --upgrade pip
Requirement already satisfied: pip in ./env12/lib/python3.12/site-packages (25.0)
Collecting pip
Downloading pip-25.0.1-py3-none-any.whl.metadata (3.7 kB)
Downloading pip-25.0.1-py3-none-any.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 42.1 MB/s eta 0:00:00
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 25.0
Uninstalling pip-25.0:
Successfully uninstalled pip-25.0
Successfully installed pip-25.0.1
❯ pip install --upgrade setuptools
Requirement already satisfied: setuptools in ./env12/lib/python3.12/site-packages
(76.0.0)
❯ pip install -r requirements.txt
Collecting einops==0.8.1 (from -r requirements.txt (line 1))
Downloading einops-0.8.1-py3-none-any.whl.metadata (13 kB)
Collecting einx==0.3.0 (from -r requirements.txt (line 2))
Downloading einx-0.3.0-py3-none-any.whl.metadata (6.9 kB)
Collecting numpy==2.2.3 (from -r requirements.txt (line 3))
Downloading numpy-2.2.3-cp312-cp312-macosx_14_0_x86_64.whl.metadata (62 kB)
Collecting omegaconf==2.3.0 (from -r requirements.txt (line 4))
Downloading omegaconf-2.3.0-py3-none-any.whl.metadata (3.9 kB)
Collecting packaging==24.2 (from -r requirements.txt (line 5))
Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
Collecting safetensors==0.5.2 (from -r requirements.txt (line 6))
Downloading safetensors-0.5.2-cp38-abi3-macosx_10_12_x86_64.whl.metadata (3.8 kB)
Collecting soundfile==0.12.1 (from -r requirements.txt (line 7))
Downloading soundfile-0.12.1-py2.py3-none-macosx_10_9_x86_64.whl.metadata (14 kB)
Collecting soxr==0.5.0.post1 (from -r requirements.txt (line 8))
Downloading soxr-0.5.0.post1-cp312-abi3-macosx_10_14_x86_64.whl.metadata (5.6 kB)
ERROR: Could not find a version that satisfies the requirement torch==2.5.1 (from
versions: 2.2.0, 2.2.1, 2.2.2)
ERROR: No matching distribution found for torch==2.5.1
❯ open .
❯ pip install -r requirements.txt
Collecting einops==0.8.1 (from -r requirements.txt (line 1))
Using cached einops-0.8.1-py3-none-any.whl.metadata (13 kB)
Collecting einx==0.3.0 (from -r requirements.txt (line 2))
Using cached einx-0.3.0-py3-none-any.whl.metadata (6.9 kB)
Collecting numpy==2.2.3 (from -r requirements.txt (line 3))
Using cached numpy-2.2.3-cp312-cp312-macosx_14_0_x86_64.whl.metadata (62 kB)
Collecting omegaconf==2.3.0 (from -r requirements.txt (line 4))
Using cached omegaconf-2.3.0-py3-none-any.whl.metadata (3.9 kB)
Collecting packaging==24.2 (from -r requirements.txt (line 5))
Using cached packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
Collecting safetensors==0.5.2 (from -r requirements.txt (line 6))
Using cached safetensors-0.5.2-cp38-abi3-macosx_10_12_x86_64.whl.metadata (3.8
kB)
Collecting soundfile==0.12.1 (from -r requirements.txt (line 7))
Using cached soundfile-0.12.1-py2.py3-none-macosx_10_9_x86_64.whl.metadata (14
kB)
Collecting soxr==0.5.0.post1 (from -r requirements.txt (line 8))
Using cached soxr-0.5.0.post1-cp312-abi3-macosx_10_14_x86_64.whl.metadata (5.6
kB)
Collecting torch (from -r requirements.txt (line 9))
Downloading torch-2.2.2-cp312-none-macosx_10_9_x86_64.whl.metadata (25 kB)
ERROR: Could not find a version that satisfies the requirement torchaudio==2.5.1
(from versions: 2.2.0, 2.2.1, 2.2.2)
ERROR: No matching distribution found for torchaudio==2.5.1
❯ pip install -r requirements.txt
Collecting einops==0.8.1 (from -r requirements.txt (line 1))
Using cached einops-0.8.1-py3-none-any.whl.metadata (13 kB)
Collecting einx==0.3.0 (from -r requirements.txt (line 2))
Using cached einx-0.3.0-py3-none-any.whl.metadata (6.9 kB)
Collecting numpy==2.2.3 (from -r requirements.txt (line 3))
Using cached numpy-2.2.3-cp312-cp312-macosx_14_0_x86_64.whl.metadata (62 kB)
Collecting omegaconf==2.3.0 (from -r requirements.txt (line 4))
Using cached omegaconf-2.3.0-py3-none-any.whl.metadata (3.9 kB)
Collecting packaging==24.2 (from -r requirements.txt (line 5))
Using cached packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
Collecting safetensors==0.5.2 (from -r requirements.txt (line 6))
Using cached safetensors-0.5.2-cp38-abi3-macosx_10_12_x86_64.whl.metadata (3.8
kB)
Collecting soundfile==0.12.1 (from -r requirements.txt (line 7))
Using cached soundfile-0.12.1-py2.py3-none-macosx_10_9_x86_64.whl.metadata (14
kB)
Collecting soxr==0.5.0.post1 (from -r requirements.txt (line 8))
Using cached soxr-0.5.0.post1-cp312-abi3-macosx_10_14_x86_64.whl.metadata (5.6
kB)
Collecting torch (from -r requirements.txt (line 9))
Using cached torch-2.2.2-cp312-none-macosx_10_9_x86_64.whl.metadata (25 kB)
Collecting torchaudio (from -r requirements.txt (line 10))
Downloading torchaudio-2.2.2-cp312-cp312-macosx_10_13_x86_64.whl.metadata (6.4
kB)
Collecting tqdm==4.66.5 (from -r requirements.txt (line 11))
Downloading tqdm-4.66.5-py3-none-any.whl.metadata (57 kB)
Collecting transformers==4.46.2 (from -r requirements.txt (line 12))
Downloading transformers-4.46.2-py3-none-any.whl.metadata (44 kB)
Collecting gradio==5.18.0 (from -r requirements.txt (line 13))
Downloading gradio-5.18.0-py3-none-any.whl.metadata (16 kB)
Collecting sympy (from einx==0.3.0->-r requirements.txt (line 2))
Downloading sympy-1.13.3-py3-none-any.whl.metadata (12 kB)
Collecting frozendict (from einx==0.3.0->-r requirements.txt (line 2))
Downloading frozendict-2.4.6-py312-none-any.whl.metadata (23 kB)
Collecting antlr4-python3-runtime==4.9.* (from omegaconf==2.3.0->-r
requirements.txt (line 4))
Downloading antlr4-python3-runtime-4.9.3.tar.gz (117 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting PyYAML>=5.1.0 (from omegaconf==2.3.0->-r requirements.txt (line 4))
Downloading PyYAML-6.0.2-cp312-cp312-macosx_10_9_x86_64.whl.metadata (2.1 kB)
Collecting cffi>=1.0 (from soundfile==0.12.1->-r requirements.txt (line 7))
Downloading cffi-1.17.1-cp312-cp312-macosx_10_9_x86_64.whl.metadata (1.5 kB)
Collecting filelock (from transformers==4.46.2->-r requirements.txt (line 12))
Downloading filelock-3.17.0-py3-none-any.whl.metadata (2.9 kB)
Collecting huggingface-hub<1.0,>=0.23.2 (from transformers==4.46.2->-r
requirements.txt (line 12))
Downloading huggingface_hub-0.29.2-py3-none-any.whl.metadata (13 kB)
Collecting regex!=2019.12.17 (from transformers==4.46.2->-r requirements.txt (line
12))
Downloading regex-2024.11.6-cp312-cp312-macosx_10_13_x86_64.whl.metadata (40 kB)
Collecting requests (from transformers==4.46.2->-r requirements.txt (line 12))
Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting tokenizers<0.21,>=0.20 (from transformers==4.46.2->-r requirements.txt
(line 12))
Downloading tokenizers-0.20.3-cp312-cp312-macosx_10_12_x86_64.whl.metadata (6.7
kB)
Collecting aiofiles<24.0,>=22.0 (from gradio==5.18.0->-r requirements.txt (line
13))
Downloading aiofiles-23.2.1-py3-none-any.whl.metadata (9.7 kB)
Collecting anyio<5.0,>=3.0 (from gradio==5.18.0->-r requirements.txt (line 13))
Downloading anyio-4.8.0-py3-none-any.whl.metadata (4.6 kB)
Collecting fastapi<1.0,>=0.115.2 (from gradio==5.18.0->-r requirements.txt (line
13))
Downloading fastapi-0.115.11-py3-none-any.whl.metadata (27 kB)
Collecting ffmpy (from gradio==5.18.0->-r requirements.txt (line 13))
Downloading ffmpy-0.5.0-py3-none-any.whl.metadata (3.0 kB)
Collecting gradio-client==1.7.2 (from gradio==5.18.0->-r requirements.txt (line
13))
Downloading gradio_client-1.7.2-py3-none-any.whl.metadata (7.1 kB)
Collecting httpx>=0.24.1 (from gradio==5.18.0->-r requirements.txt (line 13))
Downloading httpx-0.28.1-py3-none-any.whl.metadata (7.1 kB)
Collecting jinja2<4.0 (from gradio==5.18.0->-r requirements.txt (line 13))
Downloading jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB)
Collecting markupsafe~=2.0 (from gradio==5.18.0->-r requirements.txt (line 13))
Downloading MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_x86_64.whl.metadata (3.0 kB)
Collecting orjson~=3.0 (from gradio==5.18.0->-r requirements.txt (line 13))
Downloading orjson-3.10.15-cp312-cp312-
macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl.metadata (41 kB)
Collecting pandas<3.0,>=1.0 (from gradio==5.18.0->-r requirements.txt (line 13))
Downloading pandas-2.2.3-cp312-cp312-macosx_10_9_x86_64.whl.metadata (89 kB)
Collecting pillow<12.0,>=8.0 (from gradio==5.18.0->-r requirements.txt (line 13))
Downloading pillow-11.1.0-cp312-cp312-macosx_10_13_x86_64.whl.metadata (9.1 kB)
Collecting pydantic>=2.0 (from gradio==5.18.0->-r requirements.txt (line 13))
Downloading pydantic-2.10.6-py3-none-any.whl.metadata (30 kB)
Collecting pydub (from gradio==5.18.0->-r requirements.txt (line 13))
Downloading pydub-0.25.1-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting python-multipart>=0.0.18 (from gradio==5.18.0->-r requirements.txt (line
13))
Downloading python_multipart-0.0.20-py3-none-any.whl.metadata (1.8 kB)
Collecting ruff>=0.9.3 (from gradio==5.18.0->-r requirements.txt (line 13))
Downloading ruff-0.9.10-py3-none-macosx_10_12_x86_64.whl.metadata (25 kB)
Collecting safehttpx<0.2.0,>=0.1.6 (from gradio==5.18.0->-r requirements.txt (line
13))
Downloading safehttpx-0.1.6-py3-none-any.whl.metadata (4.2 kB)
Collecting semantic-version~=2.0 (from gradio==5.18.0->-r requirements.txt (line
13))
Downloading semantic_version-2.10.0-py2.py3-none-any.whl.metadata (9.7 kB)
Collecting starlette<1.0,>=0.40.0 (from gradio==5.18.0->-r requirements.txt (line
13))
Downloading starlette-0.46.1-py3-none-any.whl.metadata (6.2 kB)
Collecting tomlkit<0.14.0,>=0.12.0 (from gradio==5.18.0->-r requirements.txt (line
13))
Downloading tomlkit-0.13.2-py3-none-any.whl.metadata (2.7 kB)
Collecting typer<1.0,>=0.12 (from gradio==5.18.0->-r requirements.txt (line 13))
Downloading typer-0.15.2-py3-none-any.whl.metadata (15 kB)
Collecting typing-extensions~=4.0 (from gradio==5.18.0->-r requirements.txt (line
13))
Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Collecting uvicorn>=0.14.0 (from gradio==5.18.0->-r requirements.txt (line 13))
Downloading uvicorn-0.34.0-py3-none-any.whl.metadata (6.5 kB)
Collecting fsspec (from gradio-client==1.7.2->gradio==5.18.0->-r requirements.txt
(line 13))
Downloading fsspec-2025.3.0-py3-none-any.whl.metadata (11 kB)
Collecting websockets<16.0,>=10.0 (from gradio-client==1.7.2->gradio==5.18.0->-r
requirements.txt (line 13))
Downloading websockets-15.0.1-cp312-cp312-macosx_10_13_x86_64.whl.metadata (6.8
kB)
Collecting networkx (from torch->-r requirements.txt (line 9))
Downloading networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB)
Collecting idna>=2.8 (from anyio<5.0,>=3.0->gradio==5.18.0->-r requirements.txt
(line 13))
Downloading idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting sniffio>=1.1 (from anyio<5.0,>=3.0->gradio==5.18.0->-r requirements.txt
(line 13))
Downloading sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
Collecting pycparser (from cffi>=1.0->soundfile==0.12.1->-r requirements.txt (line
7))
Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Collecting certifi (from httpx>=0.24.1->gradio==5.18.0->-r requirements.txt (line
13))
Downloading certifi-2025.1.31-py3-none-any.whl.metadata (2.5 kB)
Collecting httpcore==1.* (from httpx>=0.24.1->gradio==5.18.0->-r requirements.txt
(line 13))
Downloading httpcore-1.0.7-py3-none-any.whl.metadata (21 kB)
Collecting h11<0.15,>=0.13 (from httpcore==1.*->httpx>=0.24.1->gradio==5.18.0->-r
requirements.txt (line 13))
Downloading h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)
Collecting python-dateutil>=2.8.2 (from pandas<3.0,>=1.0->gradio==5.18.0->-r
requirements.txt (line 13))
Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting pytz>=2020.1 (from pandas<3.0,>=1.0->gradio==5.18.0->-r requirements.txt
(line 13))
Downloading pytz-2025.1-py2.py3-none-any.whl.metadata (22 kB)
Collecting tzdata>=2022.7 (from pandas<3.0,>=1.0->gradio==5.18.0->-r
requirements.txt (line 13))
Downloading tzdata-2025.1-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting annotated-types>=0.6.0 (from pydantic>=2.0->gradio==5.18.0->-r
requirements.txt (line 13))
Downloading annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)
Collecting pydantic-core==2.27.2 (from pydantic>=2.0->gradio==5.18.0->-r
requirements.txt (line 13))
Downloading pydantic_core-2.27.2-cp312-cp312-macosx_10_12_x86_64.whl.metadata
(6.6 kB)
Collecting click>=8.0.0 (from typer<1.0,>=0.12->gradio==5.18.0->-r requirements.txt
(line 13))
Downloading click-8.1.8-py3-none-any.whl.metadata (2.3 kB)
Collecting shellingham>=1.3.0 (from typer<1.0,>=0.12->gradio==5.18.0->-r
requirements.txt (line 13))
Downloading shellingham-1.5.4-py2.py3-none-any.whl.metadata (3.5 kB)
Collecting rich>=10.11.0 (from typer<1.0,>=0.12->gradio==5.18.0->-r
requirements.txt (line 13))
Downloading rich-13.9.4-py3-none-any.whl.metadata (18 kB)
Collecting charset-normalizer<4,>=2 (from requests->transformers==4.46.2->-r
requirements.txt (line 12))
Downloading charset_normalizer-3.4.1-cp312-cp312-
macosx_10_13_universal2.whl.metadata (35 kB)
Collecting urllib3<3,>=1.21.1 (from requests->transformers==4.46.2->-r
requirements.txt (line 12))
Downloading urllib3-2.3.0-py3-none-any.whl.metadata (6.5 kB)
Collecting mpmath<1.4,>=1.1.0 (from sympy->einx==0.3.0->-r requirements.txt (line
2))
Downloading mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas<3.0,>=1.0->gradio==5.18.0-
>-r requirements.txt (line 13))
Downloading six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting markdown-it-py>=2.2.0 (from rich>=10.11.0->typer<1.0,>=0.12-
>gradio==5.18.0->-r requirements.txt (line 13))
Downloading markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting pygments<3.0.0,>=2.13.0 (from rich>=10.11.0->typer<1.0,>=0.12-
>gradio==5.18.0->-r requirements.txt (line 13))
Downloading pygments-2.19.1-py3-none-any.whl.metadata (2.5 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=10.11.0->typer<1.0,>=0.12-
>gradio==5.18.0->-r requirements.txt (line 13))
Downloading mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
Downloading einops-0.8.1-py3-none-any.whl (64 kB)
Downloading einx-0.3.0-py3-none-any.whl (102 kB)
Downloading numpy-2.2.3-cp312-cp312-macosx_14_0_x86_64.whl (6.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.7/6.7 MB 13.6 MB/s eta 0:00:00
Downloading omegaconf-2.3.0-py3-none-any.whl (79 kB)
Downloading packaging-24.2-py3-none-any.whl (65 kB)
Downloading safetensors-0.5.2-cp38-abi3-macosx_10_12_x86_64.whl (427 kB)
Downloading soundfile-0.12.1-py2.py3-none-macosx_10_9_x86_64.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 90.1 MB/s eta 0:00:00
Downloading soxr-0.5.0.post1-cp312-abi3-macosx_10_14_x86_64.whl (199 kB)
Downloading tqdm-4.66.5-py3-none-any.whl (78 kB)
Downloading transformers-4.46.2-py3-none-any.whl (10.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.0/10.0 MB 25.8 MB/s eta 0:00:00
Downloading gradio-5.18.0-py3-none-any.whl (62.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.3/62.3 MB 35.8 MB/s eta 0:00:00
Downloading gradio_client-1.7.2-py3-none-any.whl (322 kB)
Downloading torch-2.2.2-cp312-none-macosx_10_9_x86_64.whl (150.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 150.8/150.8 MB 35.2 MB/s eta 0:00:00
Downloading torchaudio-2.2.2-cp312-cp312-macosx_10_13_x86_64.whl (3.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 52.4 MB/s eta 0:00:00
Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB)
Downloading anyio-4.8.0-py3-none-any.whl (96 kB)
Downloading cffi-1.17.1-cp312-cp312-macosx_10_9_x86_64.whl (183 kB)
Downloading fastapi-0.115.11-py3-none-any.whl (94 kB)
Downloading httpx-0.28.1-py3-none-any.whl (73 kB)
Downloading httpcore-1.0.7-py3-none-any.whl (78 kB)
Downloading huggingface_hub-0.29.2-py3-none-any.whl (468 kB)
Downloading fsspec-2025.3.0-py3-none-any.whl (193 kB)
Downloading jinja2-3.1.6-py3-none-any.whl (134 kB)
Downloading MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_x86_64.whl (14 kB)
Downloading orjson-3.10.15-cp312-cp312-
macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl (249 kB)
Downloading pandas-2.2.3-cp312-cp312-macosx_10_9_x86_64.whl (12.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.5/12.5 MB 23.0 MB/s eta 0:00:00
Downloading pillow-11.1.0-cp312-cp312-macosx_10_13_x86_64.whl (3.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 38.2 MB/s eta 0:00:00
Downloading pydantic-2.10.6-py3-none-any.whl (431 kB)
Downloading pydantic_core-2.27.2-cp312-cp312-macosx_10_12_x86_64.whl (1.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 35.8 MB/s eta 0:00:00
Downloading python_multipart-0.0.20-py3-none-any.whl (24 kB)
Downloading PyYAML-6.0.2-cp312-cp312-macosx_10_9_x86_64.whl (183 kB)
Downloading regex-2024.11.6-cp312-cp312-macosx_10_13_x86_64.whl (288 kB)
Downloading ruff-0.9.10-py3-none-macosx_10_12_x86_64.whl (10.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.9/10.9 MB 34.4 MB/s eta 0:00:00
Downloading safehttpx-0.1.6-py3-none-any.whl (8.7 kB)
Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Downloading starlette-0.46.1-py3-none-any.whl (71 kB)
Downloading tokenizers-0.20.3-cp312-cp312-macosx_10_12_x86_64.whl (2.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 MB 38.0 MB/s eta 0:00:00
Downloading tomlkit-0.13.2-py3-none-any.whl (37 kB)
Downloading typer-0.15.2-py3-none-any.whl (45 kB)
Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Downloading uvicorn-0.34.0-py3-none-any.whl (62 kB)
Downloading ffmpy-0.5.0-py3-none-any.whl (6.0 kB)
Downloading filelock-3.17.0-py3-none-any.whl (16 kB)
Downloading frozendict-2.4.6-py312-none-any.whl (16 kB)
Downloading networkx-3.4.2-py3-none-any.whl (1.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 34.6 MB/s eta 0:00:00
Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Downloading requests-2.32.3-py3-none-any.whl (64 kB)
Downloading sympy-1.13.3-py3-none-any.whl (6.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.2/6.2 MB 32.8 MB/s eta 0:00:00
Downloading annotated_types-0.7.0-py3-none-any.whl (13 kB)
Downloading certifi-2025.1.31-py3-none-any.whl (166 kB)
Downloading charset_normalizer-3.4.1-cp312-cp312-macosx_10_13_universal2.whl (196
kB)
Downloading click-8.1.8-py3-none-any.whl (98 kB)
Downloading h11-0.14.0-py3-none-any.whl (58 kB)
Downloading idna-3.10-py3-none-any.whl (70 kB)
Downloading mpmath-1.3.0-py3-none-any.whl (536 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 536.2/536.2 kB 22.8 MB/s eta 0:00:00
Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Downloading pytz-2025.1-py2.py3-none-any.whl (507 kB)
Downloading rich-13.9.4-py3-none-any.whl (242 kB)
Downloading shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB)
Downloading sniffio-1.3.1-py3-none-any.whl (10 kB)
Downloading tzdata-2025.1-py2.py3-none-any.whl (346 kB)
Downloading urllib3-2.3.0-py3-none-any.whl (128 kB)
Downloading websockets-15.0.1-cp312-cp312-macosx_10_13_x86_64.whl (173 kB)
1 ❯ clear
2 ❯ pod install
3 Analyzing dependencies
5
7 ❯ git status
8 On branch dev
11 Changes not staged for commit:
12 (use "git add <file>..." to update what will be committed)
13 (use "git restore <file>..." to discard changes in working directory)
14 modified: Podfile
15 modified: Podfile.lock
16 modified: UnityProject/Classes/Native/Alpha_CodeGen.c
17 modified: UnityProject/Classes/Native/Alpha__3.cpp
18 modified: UnityProject/Classes/Native/Alpha__4.cpp
19 modified: UnityProject/Classes/Native/Alpha__5.cpp
20 modified: UnityProject/Classes/Native/Assembly-CSharp__2.cpp
21 modified: UnityProject/Classes/Native/GenericMethods__13.cpp
24 modified: UnityProject/Classes/Native/Generics__2.cpp
25 modified: UnityProject/Classes/Native/Generics__21.cpp
26 modified: UnityProject/Classes/Native/Generics__22.cpp
27 modified: UnityProject/Classes/Native/Generics__23.cpp
28 modified: UnityProject/Classes/Native/Generics__24.cpp
29 modified: UnityProject/Classes/Native/Generics__25.cpp
30 modified: UnityProject/Classes/Native/Generics__26.cpp
31 modified: UnityProject/Classes/Native/Generics__27.cpp
32 modified: UnityProject/Classes/Native/Generics__28.cpp
33 modified: UnityProject/Classes/Native/Generics__29.cpp
36 modified: UnityProject/Classes/Native/Generics__31.cpp
37 modified: UnityProject/Classes/Native/Generics__32.cpp
38 modified: UnityProject/Classes/Native/Generics__33.cpp
39 modified: UnityProject/Classes/Native/Generics__34.cpp
40 modified: UnityProject/Classes/Native/Generics__35.cpp
41 modified: UnityProject/Classes/Native/Generics__36.cpp
42 modified: UnityProject/Classes/Native/Generics__37.cpp
43 modified: UnityProject/Classes/Native/Generics__38.cpp
44 modified: UnityProject/Classes/Native/Generics__39.cpp
45 modified: UnityProject/Classes/Native/Generics__4.cpp
48 modified: UnityProject/Classes/Native/Generics__42.cpp
49 modified: UnityProject/Classes/Native/Generics__43.cpp
50 modified: UnityProject/Classes/Native/Generics__44.cpp
51 modified: UnityProject/Classes/Native/Generics__45.cpp
52 modified: UnityProject/Classes/Native/Generics__46.cpp
53 modified: UnityProject/Classes/Native/Generics__47.cpp
54 modified: UnityProject/Classes/Native/Generics__48.cpp
55 modified: UnityProject/Classes/Native/Generics__49.cpp
56 modified: UnityProject/Classes/Native/Generics__5.cpp
57 modified: UnityProject/Classes/Native/Generics__50.cpp
58 modified: UnityProject/Classes/Native/Generics__51.cpp
59 modified: UnityProject/Classes/Native/Generics__52.cpp
60 modified: UnityProject/Classes/Native/Generics__53.cpp
61 modified: UnityProject/Classes/Native/Generics__54.cpp
62 modified: UnityProject/Classes/Native/Generics__55.cpp
63 modified: UnityProject/Classes/Native/Generics__56.cpp
64 modified: UnityProject/Classes/Native/Generics__57.cpp
65 modified: UnityProject/Classes/Native/Generics__58.cpp
66 modified: UnityProject/Classes/Native/Generics__59.cpp
67 modified: UnityProject/Classes/Native/Generics__6.cpp
68 modified: UnityProject/Classes/Native/Generics__60.cpp
69 modified: UnityProject/Classes/Native/Generics__61.cpp
72 modified: UnityProject/Classes/Native/Generics__64.cpp
73 modified: UnityProject/Classes/Native/Generics__65.cpp
76 modified: UnityProject/Classes/Native/Generics__68.cpp
77 modified: UnityProject/Classes/Native/Generics__69.cpp
78 modified: UnityProject/Classes/Native/Generics__7.cpp
83 modified: UnityProject/Classes/Native/Il2CppCCFieldValuesTable.cpp
88 modified: UnityProject/Classes/Native/Il2CppCCalculateTypeValues2.cpp
91 modified:
UnityProject/Classes/Native/Il2CppGenericMethodDefinitions.c
92 modified:
UnityProject/Classes/Native/Il2CppGenericMethodPointerTable.c
99 modified: UnityProject/Data/Managed/Metadata/global-metadata.dat
102 modified: UnityProject/Data/globalgamemanagers.assets
103 modified: UnityProject/Data/level0
107 modified: UnityProject/Data/sharedassets0.assets.resS
108 modified: UnityProject/Data/sharedassets1.assets
111
112 no changes added to commit (use "git add" and/or "git commit -a")
113 ❯ pod --version
114 1.15.0
115 ❯ sudo gem install cocoapods 16.2
116 Password:
121 Done installing documentation for cocoapods after 0 seconds
148 'git help -a' and 'git help -g' list available subcommands and some
149 concept guides. See 'git help <command>' or 'git help <concept>'
158 Analyzing dependencies
163 ❯ sudo gem uninstall cocoapods -v 1.16.2
164 Password:
186 ERROR: While executing gem ... (Gem::FilePermissionError)
187 You don't have write permissions for the /Library/Ruby/Gems/2.6.0
directory.
188 ❯ pod --version
189 zsh: command not found: pod
190 ❯ sudo gem install cocoapods -v 1.15.0
197
199 ❯ pod install
203 ❯ pod repo remove trunk
212 ❯ cd Documents
213 ❯ ls
216 Combine-slide.key Repository
couchbase-query
219 MacCatalystNotes.pages cbl-log
file2
225 remote: Enumerating objects: 260, done.
230 Resolving deltas: 100% (99/99), done.
233 LICENSE README.md cli example
requirements.txt sparktts src webui.py
234 ❯ conda create -n sparktts -y python=3.12
235 zsh: command not found: conda
236 ❯ python3 -m venv env
243 Attempting uninstall: setuptools
250 ❯ pip install --upgrade pip
257 Uninstalling pip-20.1.1:
258 Successfully uninstalled pip-20.1.1
259 Successfully installed pip-24.0
263 ERROR: No matching distribution found for einops==0.8.1
264 ❯ python3 --version
269 unknown option --versions
271 Try `python -h' for more information.
276 ❯ yum list installed
279
280
283 ==> Downloading https://formulae.brew.sh/api/formula.jws.json
290 ==> Fetching mpdecimal
293 ==> Downloading https://ghcr.io/v2/homebrew/core/readline/manifests/8.2.13
295 ==> Fetching readline
298 ==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.49.1
300 ==> Fetching sqlite
301 ==> Downloading
https://ghcr.io/v2/homebrew/core/sqlite/blobs/sha256:e716021f04832c5efd6d6c54f65770
62dd3e7c61338df31525853f69b17d2bab
303 ==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.6.4
305 ==> Fetching xz
311 ==> Installing dependencies for [email protected]: mpdecimal, readline, sqlite and xz
315 ==> Pouring mpdecimal--4.0.0.sequoia.bottle.1.tar.gz
323 ==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.49.1
330 ==> Pouring xz--5.6.4.sequoia.bottle.tar.gz
347 See: https://docs.brew.sh/Homebrew-and-Python
353 ==> Caveats
354 ==> [email protected]
359 `python3.12`, `python3.12-config`, `pip3.12` etc., respectively, are installed
into
362 If you do not need a specific version of Python, and always want Homebrew's
`python3` in your PATH:
363 brew install python3
366 ❯ python --version
373 Python 3.7.8
374 ❯ python3.12 -m venv env12
375 ❯ source env12/bin/activate
376 ❯ which python
377 /Users/macmini/Documents/spark-test/Spark-TTS/env12/bin/python
378 ❯ python --version
379 Python 3.12.9
380 ❯ pip install --upgrade setuptools
381 Collecting setuptools
382 Downloading setuptools-76.0.0-py3-none-any.whl.metadata (6.7 kB)
383 Downloading setuptools-76.0.0-py3-none-any.whl (1.2 MB)
384 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 35.1 MB/s eta 0:00:00
385 Installing collected packages: setuptools
386 Successfully installed setuptools-76.0.0
387
388 [notice] A new release of pip is available: 25.0 -> 25.0.1
389 [notice] To update, run: pip install --upgrade pip
390 ❯ pip install --upgrade pip
391 Requirement already satisfied: pip in ./env12/lib/python3.12/site-packages
(25.0)
392 Collecting pip
396 Installing collected packages: pip
397 Attempting uninstall: pip
398 Found existing installation: pip 25.0
399 Uninstalling pip-25.0:
400 Successfully uninstalled pip-25.0
401 Successfully installed pip-25.0.1
402 ❯ pip install --upgrade setuptools
403 Requirement already satisfied: setuptools in ./env12/lib/python3.12/site-
packages (76.0.0)
404 ❯ pip install -r requirements.txt
405 Collecting einops==0.8.1 (from -r requirements.txt (line 1))
406 Downloading einops-0.8.1-py3-none-any.whl.metadata (13 kB)
407 Collecting einx==0.3.0 (from -r requirements.txt (line 2))
408 Downloading einx-0.3.0-py3-none-any.whl.metadata (6.9 kB)
409 Collecting numpy==2.2.3 (from -r requirements.txt (line 3))
410 Downloading numpy-2.2.3-cp312-cp312-macosx_14_0_x86_64.whl.metadata (62 kB)
411 Collecting omegaconf==2.3.0 (from -r requirements.txt (line 4))
412 Downloading omegaconf-2.3.0-py3-none-any.whl.metadata (3.9 kB)
413 Collecting packaging==24.2 (from -r requirements.txt (line 5))
414 Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
417 Collecting soundfile==0.12.1 (from -r requirements.txt (line 7))
418 Downloading soundfile-0.12.1-py2.py3-none-macosx_10_9_x86_64.whl.metadata (14
kB)
419 Collecting soxr==0.5.0.post1 (from -r requirements.txt (line 8))
420 Downloading soxr-0.5.0.post1-cp312-abi3-macosx_10_14_x86_64.whl.metadata (5.6
kB)
421 ERROR: Could not find a version that satisfies the requirement torch==2.5.1
(from versions: 2.2.0, 2.2.1, 2.2.2)
422 ERROR: No matching distribution found for torch==2.5.1
423 ❯ open .
424 ❯ pip install -r requirements.txt
425 Collecting einops==0.8.1 (from -r requirements.txt (line 1))
426 Using cached einops-0.8.1-py3-none-any.whl.metadata (13 kB)
427 Collecting einx==0.3.0 (from -r requirements.txt (line 2))
428 Using cached einx-0.3.0-py3-none-any.whl.metadata (6.9 kB)
429 Collecting numpy==2.2.3 (from -r requirements.txt (line 3))
430 Using cached numpy-2.2.3-cp312-cp312-macosx_14_0_x86_64.whl.metadata (62 kB)
431 Collecting omegaconf==2.3.0 (from -r requirements.txt (line 4))
434 Using cached packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
435 Collecting safetensors==0.5.2 (from -r requirements.txt (line 6))
436 Using cached safetensors-0.5.2-cp38-abi3-macosx_10_12_x86_64.whl.metadata
(3.8 kB)
437 Collecting soundfile==0.12.1 (from -r requirements.txt (line 7))
438 Using cached soundfile-0.12.1-py2.py3-none-macosx_10_9_x86_64.whl.metadata
(14 kB)
439 Collecting soxr==0.5.0.post1 (from -r requirements.txt (line 8))
440 Using cached soxr-0.5.0.post1-cp312-abi3-macosx_10_14_x86_64.whl.metadata
(5.6 kB)
441 Collecting torch (from -r requirements.txt (line 9))
442 Downloading torch-2.2.2-cp312-none-macosx_10_9_x86_64.whl.metadata (25 kB)
443 ERROR: Could not find a version that satisfies the requirement
torchaudio==2.5.1 (from versions: 2.2.0, 2.2.1, 2.2.2)
444 ERROR: No matching distribution found for torchaudio==2.5.1
445 ❯ pip install -r requirements.txt
446 Collecting einops==0.8.1 (from -r requirements.txt (line 1))
447 Using cached einops-0.8.1-py3-none-any.whl.metadata (13 kB)
450 Collecting numpy==2.2.3 (from -r requirements.txt (line 3))
451 Using cached numpy-2.2.3-cp312-cp312-macosx_14_0_x86_64.whl.metadata (62 kB)
452 Collecting omegaconf==2.3.0 (from -r requirements.txt (line 4))
453 Using cached omegaconf-2.3.0-py3-none-any.whl.metadata (3.9 kB)
454 Collecting packaging==24.2 (from -r requirements.txt (line 5))
455 Using cached packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
456 Collecting safetensors==0.5.2 (from -r requirements.txt (line 6))
457 Using cached safetensors-0.5.2-cp38-abi3-macosx_10_12_x86_64.whl.metadata
(3.8 kB)
458 Collecting soundfile==0.12.1 (from -r requirements.txt (line 7))
459 Using cached soundfile-0.12.1-py2.py3-none-macosx_10_9_x86_64.whl.metadata
(14 kB)
460 Collecting soxr==0.5.0.post1 (from -r requirements.txt (line 8))
461 Using cached soxr-0.5.0.post1-cp312-abi3-macosx_10_14_x86_64.whl.metadata
(5.6 kB)
462 Collecting torch (from -r requirements.txt (line 9))
463 Using cached torch-2.2.2-cp312-none-macosx_10_9_x86_64.whl.metadata (25 kB)
464 Collecting torchaudio (from -r requirements.txt (line 10))
465 Downloading torchaudio-2.2.2-cp312-cp312-macosx_10_13_x86_64.whl.metadata
(6.4 kB)
466 Collecting tqdm==4.66.5 (from -r requirements.txt (line 11))
467 Downloading tqdm-4.66.5-py3-none-any.whl.metadata (57 kB)
468 Collecting transformers==4.46.2 (from -r requirements.txt (line 12))
469 Downloading transformers-4.46.2-py3-none-any.whl.metadata (44 kB)
470 Collecting gradio==5.18.0 (from -r requirements.txt (line 13))
471 Downloading gradio-5.18.0-py3-none-any.whl.metadata (16 kB)
472 Collecting sympy (from einx==0.3.0->-r requirements.txt (line 2))
473 Downloading sympy-1.13.3-py3-none-any.whl.metadata (12 kB)
474 Collecting frozendict (from einx==0.3.0->-r requirements.txt (line 2))
475 Downloading frozendict-2.4.6-py312-none-any.whl.metadata (23 kB)
476 Collecting antlr4-python3-runtime==4.9.* (from omegaconf==2.3.0->-r
requirements.txt (line 4))
477 Downloading antlr4-python3-runtime-4.9.3.tar.gz (117 kB)
478 Installing build dependencies ... done
479 Getting requirements to build wheel ... done
480 Preparing metadata (pyproject.toml) ... done
481 Collecting PyYAML>=5.1.0 (from omegaconf==2.3.0->-r requirements.txt (line 4))
482 Downloading PyYAML-6.0.2-cp312-cp312-macosx_10_9_x86_64.whl.metadata (2.1 kB)
483 Collecting cffi>=1.0 (from soundfile==0.12.1->-r requirements.txt (line 7))
484 Downloading cffi-1.17.1-cp312-cp312-macosx_10_9_x86_64.whl.metadata (1.5 kB)
485 Collecting filelock (from transformers==4.46.2->-r requirements.txt (line 12))
486 Downloading filelock-3.17.0-py3-none-any.whl.metadata (2.9 kB)
487 Collecting huggingface-hub<1.0,>=0.23.2 (from transformers==4.46.2->-r
requirements.txt (line 12))
488 Downloading huggingface_hub-0.29.2-py3-none-any.whl.metadata (13 kB)
489 Collecting regex!=2019.12.17 (from transformers==4.46.2->-r requirements.txt
(line 12))
490 Downloading regex-2024.11.6-cp312-cp312-macosx_10_13_x86_64.whl.metadata (40
kB)
491 Collecting requests (from transformers==4.46.2->-r requirements.txt (line 12))
492 Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
493 Collecting tokenizers<0.21,>=0.20 (from transformers==4.46.2->-r
requirements.txt (line 12))
494 Downloading tokenizers-0.20.3-cp312-cp312-macosx_10_12_x86_64.whl.metadata
(6.7 kB)
495 Collecting aiofiles<24.0,>=22.0 (from gradio==5.18.0->-r requirements.txt (line
13))
496 Downloading aiofiles-23.2.1-py3-none-any.whl.metadata (9.7 kB)
497 Collecting anyio<5.0,>=3.0 (from gradio==5.18.0->-r requirements.txt (line 13))
498 Downloading anyio-4.8.0-py3-none-any.whl.metadata (4.6 kB)
499 Collecting fastapi<1.0,>=0.115.2 (from gradio==5.18.0->-r requirements.txt
(line 13))
500 Downloading fastapi-0.115.11-py3-none-any.whl.metadata (27 kB)
501 Collecting ffmpy (from gradio==5.18.0->-r requirements.txt (line 13))
502 Downloading ffmpy-0.5.0-py3-none-any.whl.metadata (3.0 kB)
503 Collecting gradio-client==1.7.2 (from gradio==5.18.0->-r requirements.txt (line
13))
504 Downloading gradio_client-1.7.2-py3-none-any.whl.metadata (7.1 kB)
505 Collecting httpx>=0.24.1 (from gradio==5.18.0->-r requirements.txt (line 13))
506 Downloading httpx-0.28.1-py3-none-any.whl.metadata (7.1 kB)
507 Collecting jinja2<4.0 (from gradio==5.18.0->-r requirements.txt (line 13))
508 Downloading jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB)
509 Collecting markupsafe~=2.0 (from gradio==5.18.0->-r requirements.txt (line 13))
510 Downloading MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_x86_64.whl.metadata (3.0
kB)
511 Collecting orjson~=3.0 (from gradio==5.18.0->-r requirements.txt (line 13))
512 Downloading orjson-3.10.15-cp312-cp312-
macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl.metadata (41 kB)
513 Collecting pandas<3.0,>=1.0 (from gradio==5.18.0->-r requirements.txt (line
13))
514 Downloading pandas-2.2.3-cp312-cp312-macosx_10_9_x86_64.whl.metadata (89 kB)
515 Collecting pillow<12.0,>=8.0 (from gradio==5.18.0->-r requirements.txt (line
13))
516 Downloading pillow-11.1.0-cp312-cp312-macosx_10_13_x86_64.whl.metadata (9.1
kB)
517 Collecting pydantic>=2.0 (from gradio==5.18.0->-r requirements.txt (line 13))
518 Downloading pydantic-2.10.6-py3-none-any.whl.metadata (30 kB)
519 Collecting pydub (from gradio==5.18.0->-r requirements.txt (line 13))
520 Downloading pydub-0.25.1-py2.py3-none-any.whl.metadata (1.4 kB)
521 Collecting python-multipart>=0.0.18 (from gradio==5.18.0->-r requirements.txt
(line 13))
522 Downloading python_multipart-0.0.20-py3-none-any.whl.metadata (1.8 kB)
523 Collecting ruff>=0.9.3 (from gradio==5.18.0->-r requirements.txt (line 13))
524 Downloading ruff-0.9.10-py3-none-macosx_10_12_x86_64.whl.metadata (25 kB)
525 Collecting safehttpx<0.2.0,>=0.1.6 (from gradio==5.18.0->-r requirements.txt
(line 13))
526 Downloading safehttpx-0.1.6-py3-none-any.whl.metadata (4.2 kB)
527 Collecting semantic-version~=2.0 (from gradio==5.18.0->-r requirements.txt
(line 13))
528 Downloading semantic_version-2.10.0-py2.py3-none-any.whl.metadata (9.7 kB)
529 Collecting starlette<1.0,>=0.40.0 (from gradio==5.18.0->-r requirements.txt
(line 13))
530 Downloading starlette-0.46.1-py3-none-any.whl.metadata (6.2 kB)
531 Collecting tomlkit<0.14.0,>=0.12.0 (from gradio==5.18.0->-r requirements.txt
(line 13))
532 Downloading tomlkit-0.13.2-py3-none-any.whl.metadata (2.7 kB)
533 Collecting typer<1.0,>=0.12 (from gradio==5.18.0->-r requirements.txt (line
13))
534 Downloading typer-0.15.2-py3-none-any.whl.metadata (15 kB)
535 Collecting typing-extensions~=4.0 (from gradio==5.18.0->-r requirements.txt
(line 13))
536 Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
537 Collecting uvicorn>=0.14.0 (from gradio==5.18.0->-r requirements.txt (line 13))
538 Downloading uvicorn-0.34.0-py3-none-any.whl.metadata (6.5 kB)
539 Collecting fsspec (from gradio-client==1.7.2->gradio==5.18.0->-r
requirements.txt (line 13))
540 Downloading fsspec-2025.3.0-py3-none-any.whl.metadata (11 kB)
541 Collecting websockets<16.0,>=10.0 (from gradio-client==1.7.2->gradio==5.18.0->-
r requirements.txt (line 13))
542 Downloading websockets-15.0.1-cp312-cp312-macosx_10_13_x86_64.whl.metadata
(6.8 kB)
543 Collecting networkx (from torch->-r requirements.txt (line 9))
544 Downloading networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB)
545 Collecting idna>=2.8 (from anyio<5.0,>=3.0->gradio==5.18.0->-r requirements.txt
(line 13))
546 Downloading idna-3.10-py3-none-any.whl.metadata (10 kB)
547 Collecting sniffio>=1.1 (from anyio<5.0,>=3.0->gradio==5.18.0->-r
requirements.txt (line 13))
548 Downloading sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
549 Collecting pycparser (from cffi>=1.0->soundfile==0.12.1->-r requirements.txt
(line 7))
550 Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
551 Collecting certifi (from httpx>=0.24.1->gradio==5.18.0->-r requirements.txt
(line 13))
552 Downloading certifi-2025.1.31-py3-none-any.whl.metadata (2.5 kB)
553 Collecting httpcore==1.* (from httpx>=0.24.1->gradio==5.18.0->-r
requirements.txt (line 13))
554 Downloading httpcore-1.0.7-py3-none-any.whl.metadata (21 kB)
555 Collecting h11<0.15,>=0.13 (from httpcore==1.*->httpx>=0.24.1->gradio==5.18.0-
>-r requirements.txt (line 13))
556 Downloading h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)
557 Collecting python-dateutil>=2.8.2 (from pandas<3.0,>=1.0->gradio==5.18.0->-r
requirements.txt (line 13))
560 Downloading pytz-2025.1-py2.py3-none-any.whl.metadata (22 kB)
561 Collecting tzdata>=2022.7 (from pandas<3.0,>=1.0->gradio==5.18.0->-r
requirements.txt (line 13))
562 Downloading tzdata-2025.1-py2.py3-none-any.whl.metadata (1.4 kB)
563 Collecting annotated-types>=0.6.0 (from pydantic>=2.0->gradio==5.18.0->-r
requirements.txt (line 13))
564 Downloading annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)
565 Collecting pydantic-core==2.27.2 (from pydantic>=2.0->gradio==5.18.0->-r
requirements.txt (line 13))
566 Downloading pydantic_core-2.27.2-cp312-cp312-macosx_10_12_x86_64.whl.metadata
(6.6 kB)
569 Collecting shellingham>=1.3.0 (from typer<1.0,>=0.12->gradio==5.18.0->-r
requirements.txt (line 13))
570 Downloading shellingham-1.5.4-py2.py3-none-any.whl.metadata (3.5 kB)
571 Collecting rich>=10.11.0 (from typer<1.0,>=0.12->gradio==5.18.0->-r
requirements.txt (line 13))
572 Downloading rich-13.9.4-py3-none-any.whl.metadata (18 kB)
573 Collecting charset-normalizer<4,>=2 (from requests->transformers==4.46.2->-r
requirements.txt (line 12))
574 Downloading charset_normalizer-3.4.1-cp312-cp312-
macosx_10_13_universal2.whl.metadata (35 kB)
575 Collecting urllib3<3,>=1.21.1 (from requests->transformers==4.46.2->-r
requirements.txt (line 12))
576 Downloading urllib3-2.3.0-py3-none-any.whl.metadata (6.5 kB)
577 Collecting mpmath<1.4,>=1.1.0 (from sympy->einx==0.3.0->-r requirements.txt
(line 2))
578 Downloading mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
579 Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas<3.0,>=1.0-
>gradio==5.18.0->-r requirements.txt (line 13))
580 Downloading six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
581 Collecting markdown-it-py>=2.2.0 (from rich>=10.11.0->typer<1.0,>=0.12-
>gradio==5.18.0->-r requirements.txt (line 13))
582 Downloading markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
583 Collecting pygments<3.0.0,>=2.13.0 (from rich>=10.11.0->typer<1.0,>=0.12-
>gradio==5.18.0->-r requirements.txt (line 13))
586 Downloading mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
587 Downloading einops-0.8.1-py3-none-any.whl (64 kB)
588 Downloading einx-0.3.0-py3-none-any.whl (102 kB)
589 Downloading numpy-2.2.3-cp312-cp312-macosx_14_0_x86_64.whl (6.7 MB)
590 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.7/6.7 MB 13.6 MB/s eta 0:00:00
591 Downloading omegaconf-2.3.0-py3-none-any.whl (79 kB)
592 Downloading packaging-24.2-py3-none-any.whl (65 kB)
593 Downloading safetensors-0.5.2-cp38-abi3-macosx_10_12_x86_64.whl (427 kB)
594 Downloading soundfile-0.12.1-py2.py3-none-macosx_10_9_x86_64.whl (1.2 MB)
595 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 90.1 MB/s eta 0:00:00
596 Downloading soxr-0.5.0.post1-cp312-abi3-macosx_10_14_x86_64.whl (199 kB)
597 Downloading tqdm-4.66.5-py3-none-any.whl (78 kB)
598 Downloading transformers-4.46.2-py3-none-any.whl (10.0 MB)
599 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.0/10.0 MB 25.8 MB/s eta 0:00:00
600 Downloading gradio-5.18.0-py3-none-any.whl (62.3 MB)
601 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.3/62.3 MB 35.8 MB/s eta 0:00:00
602 Downloading gradio_client-1.7.2-py3-none-any.whl (322 kB)
603 Downloading torch-2.2.2-cp312-none-macosx_10_9_x86_64.whl (150.8 MB)
604 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 150.8/150.8 MB 35.2 MB/s eta
0:00:00
605 Downloading torchaudio-2.2.2-cp312-cp312-macosx_10_13_x86_64.whl (3.4 MB)
606 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 52.4 MB/s eta 0:00:00
607 Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB)
608 Downloading anyio-4.8.0-py3-none-any.whl (96 kB)
611 Downloading httpx-0.28.1-py3-none-any.whl (73 kB)
612 Downloading httpcore-1.0.7-py3-none-any.whl (78 kB)
613 Downloading huggingface_hub-0.29.2-py3-none-any.whl (468 kB)
616 Downloading MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_x86_64.whl (14 kB)
617 Downloading orjson-3.10.15-cp312-cp312-
macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl (249 kB)
620 Downloading pillow-11.1.0-cp312-cp312-macosx_10_13_x86_64.whl (3.2 MB)
623 Downloading pydantic_core-2.27.2-cp312-cp312-macosx_10_12_x86_64.whl (1.9 MB)
624 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 35.8 MB/s eta 0:00:00
625 Downloading python_multipart-0.0.20-py3-none-any.whl (24 kB)
626 Downloading PyYAML-6.0.2-cp312-cp312-macosx_10_9_x86_64.whl (183 kB)
627 Downloading regex-2024.11.6-cp312-cp312-macosx_10_13_x86_64.whl (288 kB)
628 Downloading ruff-0.9.10-py3-none-macosx_10_12_x86_64.whl (10.9 MB)
629 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.9/10.9 MB 34.4 MB/s eta 0:00:00
630 Downloading safehttpx-0.1.6-py3-none-any.whl (8.7 kB)
631 Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
632 Downloading starlette-0.46.1-py3-none-any.whl (71 kB)
633 Downloading tokenizers-0.20.3-cp312-cp312-macosx_10_12_x86_64.whl (2.7 MB)
634 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 MB 38.0 MB/s eta 0:00:00
Downloading pycparser-2.22-py3-none-any.whl (117 kB)
1 from huggingface_hub import snapshot_download
Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
Downloading pygments-2.19.1-py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 32.9 MB/s eta 0:00:00
Downloading six-1.17.0-py2.py3-none-any.whl (11 kB)
Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Building wheels for collected packages: antlr4-python3-runtime
Building wheel for antlr4-python3-runtime (pyproject.toml) ... done
Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.9.3-
py3-none-any.whl size=144591
sha256=120ee0ffb2a2c12f12bf51987058ea4fd1229674bbd666932105d2cb36835075
Stored in directory:
/Users/macmini/Library/Caches/pip/wheels/1f/be/48/13754633f1d08d1fbfc60d5e80ae1e5d7
329500477685286cd
Successfully built antlr4-python3-runtime
Installing collected packages: pytz, pydub, mpmath, antlr4-python3-runtime,
websockets, urllib3, tzdata, typing-extensions, tqdm, tomlkit, sympy, sniffio, six,
shellingham, semantic-version, safetensors, ruff, regex, PyYAML, python-multipart,
pygments, pycparser, pillow, packaging, orjson, numpy, networkx, mdurl, markupsafe,
idna, h11, fsspec, frozendict, filelock, ffmpy, einops, click, charset-normalizer,
certifi, annotated-types, aiofiles, uvicorn, soxr, requests, python-dateutil,
pydantic-core, omegaconf, markdown-it-py, jinja2, httpcore, einx, cffi, anyio,
torch, starlette, soundfile, rich, pydantic, pandas, huggingface-hub, httpx, typer,
torchaudio, tokenizers, safehttpx, gradio-client, fastapi, transformers, gradio
Successfully installed PyYAML-6.0.2 aiofiles-23.2.1 annotated-types-0.7.0 antlr4-
python3-runtime-4.9.3 anyio-4.8.0 certifi-2025.1.31 cffi-1.17.1 charset-normalizer-
3.4.1 click-8.1.8 einops-0.8.1 einx-0.3.0 fastapi-0.115.11 ffmpy-0.5.0 filelock-
3.17.0 frozendict-2.4.6 fsspec-2025.3.0 gradio-5.18.0 gradio-client-1.7.2 h11-
0.14.0 httpcore-1.0.7 httpx-0.28.1 huggingface-hub-0.29.2 idna-3.10 jinja2-3.1.6
markdown-it-py-3.0.0 markupsafe-2.1.5 mdurl-0.1.2 mpmath-1.3.0 networkx-3.4.2
numpy-2.2.3 omegaconf-2.3.0 orjson-3.10.15 packaging-24.2 pandas-2.2.3 pillow-
11.1.0 pycparser-2.22 pydantic-2.10.6 pydantic-core-2.27.2 pydub-0.25.1 pygments-
2.19.1 python-dateutil-2.9.0.post0 python-multipart-0.0.20 pytz-2025.1 regex-
2024.11.6 requests-2.32.3 rich-13.9.4 ruff-0.9.10 safehttpx-0.1.6 safetensors-0.5.2
semantic-version-2.10.0 shellingham-1.5.4 six-1.17.0 sniffio-1.3.1 soundfile-0.12.1
soxr-0.5.0.post1 starlette-0.46.1 sympy-1.13.3 tokenizers-0.20.3 tomlkit-0.13.2
torch-2.2.2 torchaudio-2.2.2 tqdm-4.66.5 transformers-4.46.2 typer-0.15.2 typing-
extensions-4.12.2 tzdata-2025.1 urllib3-2.3.0 uvicorn-0.34.0 websockets-15.0.1
❯ touch download.py
❯ vi download.py
❯ vi download.py
❯ python download.py
config.yaml: 100%|
██████████████████████████████████████████████████████████████████████████████████|
1.16k/1.16k [00:00<00:00, 2.22MB/s]
.gitattributes: 100%|
███████████████████████████████████████████████████████████████████████████████|
1.77k/1.77k [00:00<00:00, 11.4MB/s]
special_tokens_map.json: 100%|
██████████████████████████████████████████████████████████████████████████| 613/613
[00:00<00:00, 4.57MB/s]
config.json: 100%|
███████████████████████████████████████████████████████████████████████████████████
███| 658/658 [00:00<00:00, 2.73MB/s]
added_tokens.json: 100%|
██████████████████████████████████████████████████████████████████████████████|
509k/509k [00:00<00:00, 1.23MB/s]
merges.txt: 100%|
███████████████████████████████████████████████████████████████████████████████████
| 1.67M/1.67M [00:00<00:00, 2.55MB/s]
README.md: 100%|
███████████████████████████████████████████████████████████████████████████████████
█| 6.47k/6.47k [00:00<00:00, 21.6MB/s]
gradio_TTS.png: 100%|
████████████████████████████████████████████████████████████████████████████████|
81.8k/81.8k [00:00<00:00, 721kB/s]
vocab.json: 100%|
███████████████████████████████████████████████████████████████████████████████████
| 2.78M/2.78M [00:00<00:00, 3.40MB/s]
tokenizer_config.json: 100%|
████████████████████████████████████████████████████████████████████████|
2.58M/2.58M [00:00<00:00, 2.92MB/s]
config.yaml: 100%|
███████████████████████████████████████████████████████████████████████████████████
███| 169/169 [00:00<00:00, 2.39MB/s]
gradio_control.png: 100%|
████████████████████████████████████████████████████████████████████████████|
62.2k/62.2k [00:00<00:00, 499kB/s]
tokenizer.json: 100%|
███████████████████████████████████████████████████████████████████████████████|
14.1M/14.1M [00:01<00:00, 9.80MB/s]
infer_control.png: 100%|
██████████████████████████████████████████████████████████████████████████████|
127k/127k [00:00<00:00, 19.7MB/s]
NPU.jpg: 100%|
███████████████████████████████████████████████████████████████████████████████████
█████| 152k/152k [00:00<00:00, 7.25MB/s]
HKUST.jpg: 100%|
███████████████████████████████████████████████████████████████████████████████████
████| 102k/102k [00:00<00:00, 505kB/s]
infer_voice_cloning.png: 100%|
█████████████████████████████████████████████████████████████████████████|
119k/119k [00:00<00:00, 574kB/s]
NTU.jpg: 100%|
███████████████████████████████████████████████████████████████████████████████████
███| 77.6k/77.6k [00:00<00:00, 1.34MB/s]
SparkAudio.jpg: 100%|
███████████████████████████████████████████████████████████████████████████████|
89.0k/89.0k [00:00<00:00, 24.2MB/s]
SparkAudio2.jpg: 100%|
██████████████████████████████████████████████████████████████████████████████|
40.7k/40.7k [00:00<00:00, 13.7MB/s]
SparkTTS.jpg: 100%|
██████████████████████████████████████████████████████████████████████████████████|
52.5k/52.5k [00:00<00:00, 129MB/s]
SparkTTS.png: 100%|
███████████████████████████████████████████████████████████████████████████████████
| 102k/102k [00:00<00:00, 16.2MB/s]
SJU.jpg: 100%|
███████████████████████████████████████████████████████████████████████████████████
█████| 364k/364k [00:00<00:00, 1.10MB/s]
mobvoi.jpg: 100%|
███████████████████████████████████████████████████████████████████████████████████
██| 431k/431k [00:00<00:00, 1.33MB/s]
mobvoi.png: 100%|
███████████████████████████████████████████████████████████████████████████████████
██| 120k/120k [00:00<00:00, 11.8MB/s]
config.json: 100%|
██████████████████████████████████████████████████████████████████████████████████|
1.77k/1.77k [00:00<00:00, 13.0MB/s]
README.md: 100%|
███████████████████████████████████████████████████████████████████████████████████
█| 2.29k/2.29k [00:00<00:00, 25.7MB/s]
preprocessor_config.json: 100%|
█████████████████████████████████████████████████████████████████████████| 212/212
[00:00<00:00, 1.87MB/s]
model.safetensors: 100%|
██████████████████████████████████████████████████████████████████████████████|
626M/626M [00:23<00:00, 27.0MB/s]
pytorch_model.bin: 100%|
████████████████████████████████████████████████████████████████████████████|
1.27G/1.27G [00:36<00:00, 35.2MB/s]
model.safetensors: 100%|
████████████████████████████████████████████████████████████████████████████|
2.03G/2.03G [01:08<00:00, 29.5MB/s]
Fetching 31 files: 100%|
█████████████████████████████████████████████████████████████████████████████████|
31/31 [01:09<00:00, 2.26s/it]
❯ cd example
❯ bash infer.sh

A module that was compiled using NumPy 1.x cannot be run in


NumPy 2.2.3 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to


downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "<frozen runpy>", line 198, in
_run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/Users/macmini/Documents/spark-test/Spark-TTS/cli/inference.py", line 19,
in <module>
import torch
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/__init__.py", line 1477, in <module>
from .functional import * # noqa: F403
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/functional.py", line 9, in <module>
import torch.nn.functional as F
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/nn/__init__.py", line 1, in <module>
from .modules import * # noqa: F403
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/nn/modules/__init__.py", line 35, in <module>
from .transformer import TransformerEncoder, TransformerDecoder, \
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/nn/modules/transformer.py", line 20, in <module>
device: torch.device = torch.device(torch._C._get_default_device()), #
torch.device('cpu'),
/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-packages/
torch/nn/modules/transformer.py:20: UserWarning: Failed to initialize NumPy:
_ARRAY_API not found (Triggered internally at
/Users/runner/work/pytorch/pytorch/pytorch/torch/csrc/utils/tensor_numpy.cpp:84.)
device: torch.device = torch.device(torch._C._get_default_device()), #
torch.device('cpu'),
The cache for model files in Transformers v4.22.0 has been updated. Migrating your
old cache. This is a one-time only operation. You can interrupt this and resume the
migration later on by calling `transformers.utils.move_cache()`.
0it [00:00, ?it/s]
2025-03-10 15:41:52,668 - INFO - Using model from: pretrained_models/Spark-TTS-0.5B
2025-03-10 15:41:52,668 - INFO - Saving audio to: example/results
/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-packages/
torch/nn/utils/weight_norm.py:28: UserWarning: torch.nn.utils.weight_norm is
deprecated in favor of torch.nn.utils.parametrizations.weight_norm.
warnings.warn("torch.nn.utils.weight_norm is deprecated in favor of
torch.nn.utils.parametrizations.weight_norm.")
Missing tensor: mel_transformer.spectrogram.window
Missing tensor: mel_transformer.mel_scale.fb
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/Users/macmini/Documents/spark-test/Spark-TTS/cli/inference.py", line 104,
in <module>
run_tts(args)
File "/Users/macmini/Documents/spark-test/Spark-TTS/cli/inference.py", line 75,
in run_tts
model = SparkTTS(args.model_dir, device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/macmini/Documents/spark-test/Spark-TTS/cli/SparkTTS.py", line 44, in
__init__
self._initialize_inference()
File "/Users/macmini/Documents/spark-test/Spark-TTS/cli/SparkTTS.py", line 50, in
_initialize_inference
self.audio_tokenizer = BiCodecTokenizer(self.model_dir, device=self.device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/Users/macmini/Documents/spark-test/Spark-TTS/sparktts/models/audio_tokenizer.py",
line 42, in __init__
self._initialize_model()
File
"/Users/macmini/Documents/spark-test/Spark-TTS/sparktts/models/audio_tokenizer.py",
line 46, in _initialize_model
self.model = BiCodec.load_from_checkpoint(f"{self.model_dir}/BiCodec").to(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/nn/modules/module.py", line 1152, in to
return self._apply(convert)
^^^^^^^^^^^^^^^^^^^^
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/nn/modules/module.py", line 802, in _apply
module._apply(fn)
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/nn/modules/module.py", line 802, in _apply
module._apply(fn)
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/nn/modules/module.py", line 802, in _apply
module._apply(fn)
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/nn/modules/module.py", line 825, in _apply
param_applied = fn(param)
^^^^^^^^^
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/nn/modules/module.py", line 1150, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None,
non_blocking)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/cuda/__init__.py", line 293, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
❯ cat infer.sh
#!/bin/bash

# Copyright (c) 2025 SparkAudio


# 2025 Xinsheng Wang ([email protected])
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Get the absolute path of the script's directory


script_dir=$(dirname "$(realpath "$0")")

# Get the root directory


root_dir=$(dirname "$script_dir")

# Set default parameters


device=0
save_dir='example/results'
model_dir="pretrained_models/Spark-TTS-0.5B"
text="身临其境,换新体验。塑造开源语音合成新范式,让智能语音更自然。"
prompt_text="吃燕窝就选燕之屋,本节目由 26 年专注高品质燕窝的燕之屋冠名播出。豆奶牛奶换着喝,营养更均衡,本节目由豆本豆豆奶特约播出。"
prompt_speech_path="example/prompt_audio.wav"

# Change directory to the root directory


cd "$root_dir" || exit

source sparktts/utils/parse_options.sh

# Run inference
python -m cli.inference \
--text "${text}" \
--device "${device}" \
--save_dir "${save_dir}" \
--model_dir "${model_dir}" \
--prompt_text "${prompt_text}" \
--prompt_speech_path "${prompt_speech_path}"
%
❯ bash infer.sh

A module that was compiled using NumPy 1.x cannot be run in


NumPy 2.2.3 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to


downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "<frozen runpy>", line 198, in
_run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/Users/macmini/Documents/spark-test/Spark-TTS/cli/inference.py", line 19,
in <module>
import torch
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/__init__.py", line 1477, in <module>
from .functional import * # noqa: F403
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/functional.py", line 9, in <module>
import torch.nn.functional as F
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/nn/__init__.py", line 1, in <module>
from .modules import * # noqa: F403
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/nn/modules/__init__.py", line 35, in <module>
from .transformer import TransformerEncoder, TransformerDecoder, \
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/nn/modules/transformer.py", line 20, in <module>
device: torch.device = torch.device(torch._C._get_default_device()), #
torch.device('cpu'),
/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-packages/
torch/nn/modules/transformer.py:20: UserWarning: Failed to initialize NumPy:
_ARRAY_API not found (Triggered internally at
/Users/runner/work/pytorch/pytorch/pytorch/torch/csrc/utils/tensor_numpy.cpp:84.)
device: torch.device = torch.device(torch._C._get_default_device()), #
torch.device('cpu'),
2025-03-10 15:44:38,661 - INFO - Using model from: pretrained_models/Spark-TTS-0.5B
2025-03-10 15:44:38,661 - INFO - Saving audio to: example/results
/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-packages/
torch/nn/utils/weight_norm.py:28: UserWarning: torch.nn.utils.weight_norm is
deprecated in favor of torch.nn.utils.parametrizations.weight_norm.
warnings.warn("torch.nn.utils.weight_norm is deprecated in favor of
torch.nn.utils.parametrizations.weight_norm.")
Missing tensor: mel_transformer.spectrogram.window
Missing tensor: mel_transformer.mel_scale.fb
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/Users/macmini/Documents/spark-test/Spark-TTS/cli/inference.py", line 104,
in <module>
run_tts(args)
File "/Users/macmini/Documents/spark-test/Spark-TTS/cli/inference.py", line 75,
in run_tts
model = SparkTTS(args.model_dir, device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/macmini/Documents/spark-test/Spark-TTS/cli/SparkTTS.py", line 44, in
__init__
self._initialize_inference()
File "/Users/macmini/Documents/spark-test/Spark-TTS/cli/SparkTTS.py", line 50, in
_initialize_inference
self.audio_tokenizer = BiCodecTokenizer(self.model_dir, device=self.device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/Users/macmini/Documents/spark-test/Spark-TTS/sparktts/models/audio_tokenizer.py",
line 42, in __init__
self._initialize_model()
File
"/Users/macmini/Documents/spark-test/Spark-TTS/sparktts/models/audio_tokenizer.py",
line 46, in _initialize_model
self.model = BiCodec.load_from_checkpoint(f"{self.model_dir}/BiCodec").to(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/nn/modules/module.py", line 1152, in to
return self._apply(convert)
^^^^^^^^^^^^^^^^^^^^
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/nn/modules/module.py", line 802, in _apply
module._apply(fn)
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/nn/modules/module.py", line 802, in _apply
module._apply(fn)
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/nn/modules/module.py", line 802, in _apply
module._apply(fn)
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/nn/modules/module.py", line 825, in _apply
param_applied = fn(param)
^^^^^^^^^
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/nn/modules/module.py", line 1150, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None,
non_blocking)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^
File "/Users/macmini/Documents/spark-test/Spark-TTS/env12/lib/python3.12/site-
packages/torch/cuda/__init__.py", line 293, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

╭─    ~/Documents/spark-test/Spark-TTS/example  on   main !2 ?2


───────────────────── 1 ✘  took 5s    ╮
 env12   at 03:44:42 pm  ─╮
╰─
─╯

You might also like