Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac m系列可以用吗 #100

Open
chatyeei opened this issue Nov 15, 2024 · 7 comments
Open

mac m系列可以用吗 #100

chatyeei opened this issue Nov 15, 2024 · 7 comments

Comments

@chatyeei
Copy link

chatyeei commented Nov 15, 2024

在加载模型的时候内存不够了,于是用int4量化的命令,发现以下报错信息
(base) ~/PycharmProjects/GLM-4-Voice /GLM-4-Voice git:[main] python model_server.py --host localhost --model-path THUDM/glm-4-voice-9b --port 10000 --dtype int4 --device cpu:0 Traceback (most recent call last): File "/Users/chenyi/PycharmProjects/GLM-4-Voice /GLM-4-Voice/model_server.py", line 143, in <module> worker = ModelWorker(args.model_path, args.dtype, args.device) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/chenyi/PycharmProjects/GLM-4-Voice /GLM-4-Voice/model_server.py", line 74, in __init__ self.glm_model = AutoModel.from_pretrained( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/transformers/models/auto/auto_factory.py", line 559, in from_pretrained return model_class.from_pretrained( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/transformers/modeling_utils.py", line 3657, in from_pretrained hf_quantizer.validate_environment( File "/opt/miniconda3/lib/python3.12/site-packages/transformers/quantizers/quantizer_bnb_4bit.py", line 74, in validate_environment raise ImportError( ImportError: Using bitsandbytes4-bit quantization requires the latest version of bitsandbytes:pip install -U bitsandbytes``

@sixsixcoder
Copy link

根据报错信息,您需要安装pip install -U bitsandbytes

@chatyeei
Copy link
Author

根据报错信息,您需要安装pip install -U bitsandbytes

我安装了,但是似乎遇到了numpy版本的问题。请问代码中用到的python是什么版本呢,我这边是3.12的,是不是这个的问题?

@sixsixcoder
Copy link

python 3.12 好像确实有点问题,我用的python 3.10可以运行

@sixsixcoder
Copy link

理论上m系列芯片是可行的,但是GLM-4-voice好像model_server.py可以运行在cpu上,但是web_demo.py好像只能运行在GPU上

@chatyeei
Copy link
Author

chatyeei commented Nov 18, 2024

python 3.12 好像确实有点问题,我用的python 3.10可以运行

你好,我在python3.10中重新部署模型,安装依赖发现以下报错信息:
(3.10py) /PycharmProjects/voice/GLM-4-Voice git:[main]
pip install -r requirements.txt
Ignoring deepspeed: markers 'sys_platform == "linux"' don't match your environment
Ignoring onnxruntime-gpu: markers 'sys_platform == "linux"' don't match your environment
Collecting conformer==0.3.2 (from -r requirements.txt (line 1))
Using cached conformer-0.3.2-py3-none-any.whl.metadata (631 bytes)
Collecting diffusers==0.27.2 (from -r requirements.txt (line 3))
Using cached diffusers-0.27.2-py3-none-any.whl.metadata (18 kB)
Collecting fastapi==0.115.3 (from -r requirements.txt (line 4))
Using cached fastapi-0.115.3-py3-none-any.whl.metadata (27 kB)
Collecting fastapi-cli==0.0.4 (from -r requirements.txt (line 5))
Using cached fastapi_cli-0.0.4-py3-none-any.whl.metadata (7.0 kB)
Collecting gdown==5.1.0 (from -r requirements.txt (line 6))
Using cached gdown-5.1.0-py3-none-any.whl.metadata (5.7 kB)
Collecting gradio==5.3.0 (from -r requirements.txt (line 7))
Using cached gradio-5.3.0-py3-none-any.whl.metadata (15 kB)
Collecting grpcio==1.57.0 (from -r requirements.txt (line 8))
Using cached grpcio-1.57.0-cp310-cp310-macosx_12_0_universal2.whl.metadata (4.0 kB)
Collecting grpcio-tools==1.57.0 (from -r requirements.txt (line 9))
Using cached grpcio_tools-1.57.0-cp310-cp310-macosx_12_0_universal2.whl.metadata (6.2 kB)
Collecting huggingface_hub==0.25.2 (from -r requirements.txt (line 10))
Using cached huggingface_hub-0.25.2-py3-none-any.whl.metadata (13 kB)
Collecting hydra-core==1.3.2 (from -r requirements.txt (line 11))
Using cached hydra_core-1.3.2-py3-none-any.whl.metadata (5.5 kB)
Collecting HyperPyYAML==1.2.2 (from -r requirements.txt (line 12))
Using cached HyperPyYAML-1.2.2-py3-none-any.whl.metadata (7.6 kB)
Collecting inflect==7.3.1 (from -r requirements.txt (line 13))
Using cached inflect-7.3.1-py3-none-any.whl.metadata (21 kB)
Collecting librosa==0.10.2 (from -r requirements.txt (line 14))
Using cached librosa-0.10.2-py3-none-any.whl.metadata (8.6 kB)
Collecting lightning==2.2.4 (from -r requirements.txt (line 15))
Using cached lightning-2.2.4-py3-none-any.whl.metadata (53 kB)
Collecting matplotlib==3.7.5 (from -r requirements.txt (line 16))
Using cached matplotlib-3.7.5-cp310-cp310-macosx_11_0_arm64.whl.metadata (5.7 kB)
Collecting modelscope==1.15.0 (from -r requirements.txt (line 17))
Using cached modelscope-1.15.0-py3-none-any.whl.metadata (33 kB)
Collecting networkx==3.1 (from -r requirements.txt (line 18))
Using cached networkx-3.1-py3-none-any.whl.metadata (5.3 kB)
Collecting numpy==1.24.4 (from -r requirements.txt (line 19))
Using cached numpy-1.24.4-cp310-cp310-macosx_11_0_arm64.whl.metadata (5.6 kB)
Collecting omegaconf==2.3.0 (from -r requirements.txt (line 20))
Using cached omegaconf-2.3.0-py3-none-any.whl.metadata (3.9 kB)
Collecting onnxruntime==1.16.0 (from -r requirements.txt (line 22))
Using cached onnxruntime-1.16.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (4.0 kB)
Collecting openai-whisper==20231117 (from -r requirements.txt (line 23))
Using cached openai_whisper-20231117-py3-none-any.whl
Collecting protobuf==4.25 (from -r requirements.txt (line 24))
Using cached protobuf-4.25.0-cp37-abi3-macosx_10_9_universal2.whl.metadata (541 bytes)
Collecting pydantic==2.7.0 (from -r requirements.txt (line 25))
Using cached pydantic-2.7.0-py3-none-any.whl.metadata (103 kB)
Collecting rich==13.7.1 (from -r requirements.txt (line 26))
Using cached rich-13.7.1-py3-none-any.whl.metadata (18 kB)
Collecting Requests==2.32.3 (from -r requirements.txt (line 27))
Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting safetensors==0.4.5 (from -r requirements.txt (line 28))
Using cached safetensors-0.4.5-cp310-cp310-macosx_11_0_arm64.whl.metadata (3.8 kB)
Collecting soundfile==0.12.1 (from -r requirements.txt (line 29))
Using cached soundfile-0.12.1-py2.py3-none-macosx_11_0_arm64.whl.metadata (14 kB)
Collecting tensorboard==2.14.0 (from -r requirements.txt (line 30))
Using cached tensorboard-2.14.0-py3-none-any.whl.metadata (1.8 kB)
Collecting transformers==4.44.1 (from -r requirements.txt (line 31))
Using cached transformers-4.44.1-py3-none-any.whl.metadata (43 kB)
Collecting uvicorn==0.32.0 (from -r requirements.txt (line 32))
Using cached uvicorn-0.32.0-py3-none-any.whl.metadata (6.6 kB)
Collecting wget==3.2 (from -r requirements.txt (line 33))
Using cached wget-3.2-py3-none-any.whl
Collecting WeTextProcessing==1.0.3 (from -r requirements.txt (line 34))
Using cached WeTextProcessing-1.0.3-py3-none-any.whl.metadata (7.2 kB)
Collecting torch==2.3.0 (from -r requirements.txt (line 35))
Using cached torch-2.3.0-cp310-none-macosx_11_0_arm64.whl.metadata (26 kB)
Collecting torchaudio==2.3.0 (from -r requirements.txt (line 36))
Using cached torchaudio-2.3.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (6.4 kB)
Collecting einops>=0.6.1 (from conformer==0.3.2->-r requirements.txt (line 1))
Using cached einops-0.8.0-py3-none-any.whl.metadata (12 kB)
Collecting importlib-metadata (from diffusers==0.27.2->-r requirements.txt (line 3))
Using cached importlib_metadata-8.5.0-py3-none-any.whl.metadata (4.8 kB)
Collecting filelock (from diffusers==0.27.2->-r requirements.txt (line 3))
Using cached filelock-3.16.1-py3-none-any.whl.metadata (2.9 kB)
Collecting regex!=2019.12.17 (from diffusers==0.27.2->-r requirements.txt (line 3))
Using cached regex-2024.11.6-cp310-cp310-macosx_11_0_arm64.whl.metadata (40 kB)
Collecting Pillow (from diffusers==0.27.2->-r requirements.txt (line 3))
Using cached pillow-11.0.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (9.1 kB)
Collecting starlette<0.42.0,>=0.40.0 (from fastapi==0.115.3->-r requirements.txt (line 4))
Using cached starlette-0.41.2-py3-none-any.whl.metadata (6.0 kB)
Collecting typing-extensions>=4.8.0 (from fastapi==0.115.3->-r requirements.txt (line 4))
Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Collecting typer>=0.12.3 (from fastapi-cli==0.0.4->-r requirements.txt (line 5))
Using cached typer-0.13.0-py3-none-any.whl.metadata (15 kB)
Collecting beautifulsoup4 (from gdown==5.1.0->-r requirements.txt (line 6))
Using cached beautifulsoup4-4.12.3-py3-none-any.whl.metadata (3.8 kB)
Collecting tqdm (from gdown==5.1.0->-r requirements.txt (line 6))
Using cached tqdm-4.67.0-py3-none-any.whl.metadata (57 kB)
Collecting aiofiles<24.0,>=22.0 (from gradio==5.3.0->-r requirements.txt (line 7))
Using cached aiofiles-23.2.1-py3-none-any.whl.metadata (9.7 kB)
Collecting anyio<5.0,>=3.0 (from gradio==5.3.0->-r requirements.txt (line 7))
Using cached anyio-4.6.2.post1-py3-none-any.whl.metadata (4.7 kB)
Collecting ffmpy (from gradio==5.3.0->-r requirements.txt (line 7))
Using cached ffmpy-0.4.0-py3-none-any.whl.metadata (2.9 kB)
Collecting gradio-client==1.4.2 (from gradio==5.3.0->-r requirements.txt (line 7))
Using cached gradio_client-1.4.2-py3-none-any.whl.metadata (7.1 kB)
Collecting httpx>=0.24.1 (from gradio==5.3.0->-r requirements.txt (line 7))
Using cached httpx-0.27.2-py3-none-any.whl.metadata (7.1 kB)
Collecting jinja2<4.0 (from gradio==5.3.0->-r requirements.txt (line 7))
Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting markupsafe
=2.0 (from gradio==5.3.0->-r requirements.txt (line 7))
Using cached MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_universal2.whl.metadata (3.0 kB)
Collecting orjson~=3.0 (from gradio==5.3.0->-r requirements.txt (line 7))
Using cached orjson-3.10.11-cp310-cp310-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl.metadata (50 kB)
Collecting packaging (from gradio==5.3.0->-r requirements.txt (line 7))
Using cached packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
Collecting pandas<3.0,>=1.0 (from gradio==5.3.0->-r requirements.txt (line 7))
Using cached pandas-2.2.3-cp310-cp310-macosx_11_0_arm64.whl.metadata (89 kB)
Collecting Pillow (from diffusers==0.27.2->-r requirements.txt (line 3))
Using cached pillow-10.4.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (9.2 kB)
Collecting pydub (from gradio==5.3.0->-r requirements.txt (line 7))
Using cached pydub-0.25.1-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting python-multipart>=0.0.9 (from gradio==5.3.0->-r requirements.txt (line 7))
Using cached python_multipart-0.0.17-py3-none-any.whl.metadata (1.8 kB)
Collecting pyyaml<7.0,>=5.0 (from gradio==5.3.0->-r requirements.txt (line 7))
Using cached PyYAML-6.0.2-cp310-cp310-macosx_11_0_arm64.whl.metadata (2.1 kB)
Collecting ruff>=0.2.2 (from gradio==5.3.0->-r requirements.txt (line 7))
Using cached ruff-0.7.4-py3-none-macosx_11_0_arm64.whl.metadata (25 kB)
Collecting semantic-version~=2.0 (from gradio==5.3.0->-r requirements.txt (line 7))
Using cached semantic_version-2.10.0-py2.py3-none-any.whl.metadata (9.7 kB)
Collecting tomlkit==0.12.0 (from gradio==5.3.0->-r requirements.txt (line 7))
Using cached tomlkit-0.12.0-py3-none-any.whl.metadata (2.7 kB)
Requirement already satisfied: setuptools in /opt/miniconda3/envs/3.10py/lib/python3.10/site-packages (from grpcio-tools==1.57.0->-r requirements.txt (line 9)) (75.5.0)
Collecting fsspec>=2023.5.0 (from huggingface_hub==0.25.2->-r requirements.txt (line 10))
Using cached fsspec-2024.10.0-py3-none-any.whl.metadata (11 kB)
Collecting antlr4-python3-runtime==4.9.* (from hydra-core==1.3.2->-r requirements.txt (line 11))
Using cached antlr4_python3_runtime-4.9.3-py3-none-any.whl
Collecting ruamel.yaml>=0.17.28 (from HyperPyYAML==1.2.2->-r requirements.txt (line 12))
Using cached ruamel.yaml-0.18.6-py3-none-any.whl.metadata (23 kB)
Collecting more-itertools>=8.5.0 (from inflect==7.3.1->-r requirements.txt (line 13))
Using cached more_itertools-10.5.0-py3-none-any.whl.metadata (36 kB)
Collecting typeguard>=4.0.1 (from inflect==7.3.1->-r requirements.txt (line 13))
Using cached typeguard-4.4.1-py3-none-any.whl.metadata (3.7 kB)
Collecting audioread>=2.1.9 (from librosa==0.10.2->-r requirements.txt (line 14))
Using cached audioread-3.0.1-py3-none-any.whl.metadata (8.4 kB)
Collecting scipy>=1.2.0 (from librosa==0.10.2->-r requirements.txt (line 14))
Using cached scipy-1.14.1-cp310-cp310-macosx_14_0_arm64.whl.metadata (60 kB)
Collecting scikit-learn>=0.20.0 (from librosa==0.10.2->-r requirements.txt (line 14))
Using cached scikit_learn-1.5.2-cp310-cp310-macosx_12_0_arm64.whl.metadata (13 kB)
Collecting joblib>=0.14 (from librosa==0.10.2->-r requirements.txt (line 14))
Using cached joblib-1.4.2-py3-none-any.whl.metadata (5.4 kB)
Collecting decorator>=4.3.0 (from librosa==0.10.2->-r requirements.txt (line 14))
Using cached decorator-5.1.1-py3-none-any.whl.metadata (4.0 kB)
Collecting numba>=0.51.0 (from librosa==0.10.2->-r requirements.txt (line 14))
Using cached numba-0.60.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (2.7 kB)
Collecting pooch>=1.1 (from librosa==0.10.2->-r requirements.txt (line 14))
Using cached pooch-1.8.2-py3-none-any.whl.metadata (10 kB)
Collecting soxr>=0.3.2 (from librosa==0.10.2->-r requirements.txt (line 14))
Using cached soxr-0.5.0.post1-cp310-cp310-macosx_11_0_arm64.whl.metadata (5.6 kB)
Collecting lazy-loader>=0.1 (from librosa==0.10.2->-r requirements.txt (line 14))
Using cached lazy_loader-0.4-py3-none-any.whl.metadata (7.6 kB)
Collecting msgpack>=1.0 (from librosa==0.10.2->-r requirements.txt (line 14))
Using cached msgpack-1.1.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (8.4 kB)
Collecting lightning-utilities<2.0,>=0.8.0 (from lightning==2.2.4->-r requirements.txt (line 15))
Using cached lightning_utilities-0.11.8-py3-none-any.whl.metadata (5.2 kB)
Collecting torchmetrics<3.0,>=0.7.0 (from lightning==2.2.4->-r requirements.txt (line 15))
Using cached torchmetrics-1.6.0-py3-none-any.whl.metadata (20 kB)
Collecting pytorch-lightning (from lightning==2.2.4->-r requirements.txt (line 15))
Using cached pytorch_lightning-2.4.0-py3-none-any.whl.metadata (21 kB)
Collecting contourpy>=1.0.1 (from matplotlib==3.7.5->-r requirements.txt (line 16))
Using cached contourpy-1.3.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (5.4 kB)
Collecting cycler>=0.10 (from matplotlib==3.7.5->-r requirements.txt (line 16))
Using cached cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib==3.7.5->-r requirements.txt (line 16))
Using cached fonttools-4.55.0-cp310-cp310-macosx_10_9_universal2.whl.metadata (164 kB)
Collecting kiwisolver>=1.0.1 (from matplotlib==3.7.5->-r requirements.txt (line 16))
Using cached kiwisolver-1.4.7-cp310-cp310-macosx_11_0_arm64.whl.metadata (6.3 kB)
Collecting pyparsing>=2.3.1 (from matplotlib==3.7.5->-r requirements.txt (line 16))
Using cached pyparsing-3.2.0-py3-none-any.whl.metadata (5.0 kB)
Collecting python-dateutil>=2.7 (from matplotlib==3.7.5->-r requirements.txt (line 16))
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting addict (from modelscope==1.15.0->-r requirements.txt (line 17))
Using cached addict-2.4.0-py3-none-any.whl.metadata (1.0 kB)
Collecting attrs (from modelscope==1.15.0->-r requirements.txt (line 17))
Using cached attrs-24.2.0-py3-none-any.whl.metadata (11 kB)
Collecting datasets<2.19.0,>=2.16.0 (from modelscope==1.15.0->-r requirements.txt (line 17))
Using cached datasets-2.18.0-py3-none-any.whl.metadata (20 kB)
Collecting gast>=0.2.2 (from modelscope==1.15.0->-r requirements.txt (line 17))
Using cached gast-0.6.0-py3-none-any.whl.metadata (1.3 kB)
Collecting oss2 (from modelscope==1.15.0->-r requirements.txt (line 17))
Using cached oss2-2.19.1-py3-none-any.whl
Collecting pyarrow!=9.0.0,>=6.0.0 (from modelscope==1.15.0->-r requirements.txt (line 17))
Using cached pyarrow-18.0.0-cp310-cp310-macosx_12_0_arm64.whl.metadata (3.3 kB)
Collecting simplejson>=3.3.0 (from modelscope==1.15.0->-r requirements.txt (line 17))
Using cached simplejson-3.19.3-cp310-cp310-macosx_11_0_arm64.whl.metadata (3.2 kB)
Collecting sortedcontainers>=1.5.9 (from modelscope==1.15.0->-r requirements.txt (line 17))
Using cached sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata (10 kB)
Collecting urllib3>=1.26 (from modelscope==1.15.0->-r requirements.txt (line 17))
Using cached urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB)
Collecting yapf (from modelscope==1.15.0->-r requirements.txt (line 17))
Using cached yapf-0.43.0-py3-none-any.whl.metadata (46 kB)
Collecting coloredlogs (from onnxruntime==1.16.0->-r requirements.txt (line 22))
Using cached coloredlogs-15.0.1-py2.py3-none-any.whl.metadata (12 kB)
Collecting flatbuffers (from onnxruntime==1.16.0->-r requirements.txt (line 22))
Using cached flatbuffers-24.3.25-py2.py3-none-any.whl.metadata (850 bytes)
Collecting sympy (from onnxruntime==1.16.0->-r requirements.txt (line 22))
Using cached sympy-1.13.3-py3-none-any.whl.metadata (12 kB)
Collecting tiktoken (from openai-whisper==20231117->-r requirements.txt (line 23))
Using cached tiktoken-0.8.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (6.6 kB)
Collecting annotated-types>=0.4.0 (from pydantic==2.7.0->-r requirements.txt (line 25))
Using cached annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)
Collecting pydantic-core==2.18.1 (from pydantic==2.7.0->-r requirements.txt (line 25))
Using cached pydantic_core-2.18.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (6.5 kB)
Collecting markdown-it-py>=2.2.0 (from rich==13.7.1->-r requirements.txt (line 26))
Using cached markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting pygments<3.0.0,>=2.13.0 (from rich==13.7.1->-r requirements.txt (line 26))
Using cached pygments-2.18.0-py3-none-any.whl.metadata (2.5 kB)
Collecting charset-normalizer<4,>=2 (from Requests==2.32.3->-r requirements.txt (line 27))
Using cached charset_normalizer-3.4.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (34 kB)
Collecting idna<4,>=2.5 (from Requests==2.32.3->-r requirements.txt (line 27))
Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting certifi>=2017.4.17 (from Requests==2.32.3->-r requirements.txt (line 27))
Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Collecting cffi>=1.0 (from soundfile==0.12.1->-r requirements.txt (line 29))
Using cached cffi-1.17.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (1.5 kB)
Collecting absl-py>=0.4 (from tensorboard==2.14.0->-r requirements.txt (line 30))
Using cached absl_py-2.1.0-py3-none-any.whl.metadata (2.3 kB)
Collecting google-auth<3,>=1.6.3 (from tensorboard==2.14.0->-r requirements.txt (line 30))
Using cached google_auth-2.36.0-py2.py3-none-any.whl.metadata (4.7 kB)
Collecting google-auth-oauthlib<1.1,>=0.5 (from tensorboard==2.14.0->-r requirements.txt (line 30))
Using cached google_auth_oauthlib-1.0.0-py2.py3-none-any.whl.metadata (2.7 kB)
Collecting markdown>=2.6.8 (from tensorboard==2.14.0->-r requirements.txt (line 30))
Using cached Markdown-3.7-py3-none-any.whl.metadata (7.0 kB)
Collecting tensorboard-data-server<0.8.0,>=0.7.0 (from tensorboard==2.14.0->-r requirements.txt (line 30))
Using cached tensorboard_data_server-0.7.2-py3-none-any.whl.metadata (1.1 kB)
Collecting werkzeug>=1.0.1 (from tensorboard==2.14.0->-r requirements.txt (line 30))
Using cached werkzeug-3.1.3-py3-none-any.whl.metadata (3.7 kB)
Requirement already satisfied: wheel>=0.26 in /opt/miniconda3/envs/3.10py/lib/python3.10/site-packages (from tensorboard==2.14.0->-r requirements.txt (line 30)) (0.45.0)
Collecting tokenizers<0.20,>=0.19 (from transformers==4.44.1->-r requirements.txt (line 31))
Using cached tokenizers-0.19.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (6.7 kB)
Collecting click>=7.0 (from uvicorn==0.32.0->-r requirements.txt (line 32))
Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting h11>=0.8 (from uvicorn==0.32.0->-r requirements.txt (line 32))
Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)
Collecting pynini==2.1.5 (from WeTextProcessing==1.0.3->-r requirements.txt (line 34))
Using cached pynini-2.1.5.tar.gz (627 kB)
Preparing metadata (setup.py) ... done
Collecting importlib-resources (from WeTextProcessing==1.0.3->-r requirements.txt (line 34))
Using cached importlib_resources-6.4.5-py3-none-any.whl.metadata (4.0 kB)
Collecting websockets<13.0,>=10.0 (from gradio-client==1.4.2->gradio==5.3.0->-r requirements.txt (line 7))
Using cached websockets-12.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (6.6 kB)
Requirement already satisfied: Cython>=0.29 in /opt/miniconda3/envs/3.10py/lib/python3.10/site-packages (from pynini==2.1.5->WeTextProcessing==1.0.3->-r requirements.txt (line 34)) (3.0.11)
Collecting sniffio>=1.1 (from anyio<5.0,>=3.0->gradio==5.3.0->-r requirements.txt (line 7))
Using cached sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
Collecting exceptiongroup>=1.0.2 (from anyio<5.0,>=3.0->gradio==5.3.0->-r requirements.txt (line 7))
Using cached exceptiongroup-1.2.2-py3-none-any.whl.metadata (6.6 kB)
Collecting pycparser (from cffi>=1.0->soundfile==0.12.1->-r requirements.txt (line 29))
Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Collecting pyarrow-hotfix (from datasets<2.19.0,>=2.16.0->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached pyarrow_hotfix-0.6-py3-none-any.whl.metadata (3.6 kB)
Collecting dill<0.3.9,>=0.3.0 (from datasets<2.19.0,>=2.16.0->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached dill-0.3.8-py3-none-any.whl.metadata (10 kB)
Collecting xxhash (from datasets<2.19.0,>=2.16.0->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached xxhash-3.5.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (12 kB)
Collecting multiprocess (from datasets<2.19.0,>=2.16.0->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached multiprocess-0.70.17-py310-none-any.whl.metadata (7.2 kB)
Collecting fsspec>=2023.5.0 (from huggingface_hub==0.25.2->-r requirements.txt (line 10))
Using cached fsspec-2024.2.0-py3-none-any.whl.metadata (6.8 kB)
Collecting aiohttp (from datasets<2.19.0,>=2.16.0->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached aiohttp-3.11.2-cp310-cp310-macosx_11_0_arm64.whl.metadata (7.7 kB)
Collecting cachetools<6.0,>=2.0.0 (from google-auth<3,>=1.6.3->tensorboard==2.14.0->-r requirements.txt (line 30))
Using cached cachetools-5.5.0-py3-none-any.whl.metadata (5.3 kB)
Collecting pyasn1-modules>=0.2.1 (from google-auth<3,>=1.6.3->tensorboard==2.14.0->-r requirements.txt (line 30))
Using cached pyasn1_modules-0.4.1-py3-none-any.whl.metadata (3.5 kB)
Collecting rsa<5,>=3.1.4 (from google-auth<3,>=1.6.3->tensorboard==2.14.0->-r requirements.txt (line 30))
Using cached rsa-4.9-py3-none-any.whl.metadata (4.2 kB)
Collecting requests-oauthlib>=0.7.0 (from google-auth-oauthlib<1.1,>=0.5->tensorboard==2.14.0->-r requirements.txt (line 30))
Using cached requests_oauthlib-2.0.0-py2.py3-none-any.whl.metadata (11 kB)
Collecting httpcore==1.* (from httpx>=0.24.1->gradio==5.3.0->-r requirements.txt (line 7))
Using cached httpcore-1.0.7-py3-none-any.whl.metadata (21 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich==13.7.1->-r requirements.txt (line 26))
Using cached mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
Collecting llvmlite<0.44,>=0.43.0dev0 (from numba>=0.51.0->librosa==0.10.2->-r requirements.txt (line 14))
Using cached llvmlite-0.43.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (4.8 kB)
Collecting pytz>=2020.1 (from pandas<3.0,>=1.0->gradio==5.3.0->-r requirements.txt (line 7))
Using cached pytz-2024.2-py2.py3-none-any.whl.metadata (22 kB)
Collecting tzdata>=2022.7 (from pandas<3.0,>=1.0->gradio==5.3.0->-r requirements.txt (line 7))
Using cached tzdata-2024.2-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting platformdirs>=2.5.0 (from pooch>=1.1->librosa==0.10.2->-r requirements.txt (line 14))
Using cached platformdirs-4.3.6-py3-none-any.whl.metadata (11 kB)
Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib==3.7.5->-r requirements.txt (line 16))
Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Collecting ruamel.yaml.clib>=0.2.7 (from ruamel.yaml>=0.17.28->HyperPyYAML==1.2.2->-r requirements.txt (line 12))
Using cached ruamel.yaml.clib-0.2.12-cp310-cp310-macosx_13_0_arm64.whl.metadata (1.2 kB)
Collecting threadpoolctl>=3.1.0 (from scikit-learn>=0.20.0->librosa==0.10.2->-r requirements.txt (line 14))
Using cached threadpoolctl-3.5.0-py3-none-any.whl.metadata (13 kB)
Collecting shellingham>=1.3.0 (from typer>=0.12.3->fastapi-cli==0.0.4->-r requirements.txt (line 5))
Using cached shellingham-1.5.4-py2.py3-none-any.whl.metadata (3.5 kB)
Collecting soupsieve>1.2 (from beautifulsoup4->gdown==5.1.0->-r requirements.txt (line 6))
Using cached soupsieve-2.6-py3-none-any.whl.metadata (4.6 kB)
Collecting humanfriendly>=9.1 (from coloredlogs->onnxruntime==1.16.0->-r requirements.txt (line 22))
Using cached humanfriendly-10.0-py2.py3-none-any.whl.metadata (9.2 kB)
Collecting zipp>=3.20 (from importlib-metadata->diffusers==0.27.2->-r requirements.txt (line 3))
Using cached zipp-3.21.0-py3-none-any.whl.metadata (3.7 kB)
Collecting crcmod>=1.7 (from oss2->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached crcmod-1.7-cp310-cp310-macosx_11_0_arm64.whl
Collecting pycryptodome>=3.4.7 (from oss2->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached pycryptodome-3.21.0-cp36-abi3-macosx_10_9_universal2.whl.metadata (3.4 kB)
Collecting aliyun-python-sdk-kms>=2.4.1 (from oss2->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached aliyun_python_sdk_kms-2.16.5-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting aliyun-python-sdk-core>=2.13.12 (from oss2->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached aliyun_python_sdk_core-2.16.0-py3-none-any.whl
Collecting PySocks!=1.5.7,>=1.5.6 (from requests[socks]->gdown==5.1.0->-r requirements.txt (line 6))
Using cached PySocks-1.7.1-py3-none-any.whl.metadata (13 kB)
Collecting mpmath<1.4,>=1.1.0 (from sympy->onnxruntime==1.16.0->-r requirements.txt (line 22))
Using cached mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
Collecting tomli>=2.0.1 (from yapf->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached tomli-2.1.0-py3-none-any.whl.metadata (10.0 kB)
Collecting aiohappyeyeballs>=2.3.0 (from aiohttp->datasets<2.19.0,>=2.16.0->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached aiohappyeyeballs-2.4.3-py3-none-any.whl.metadata (6.1 kB)
Collecting aiosignal>=1.1.2 (from aiohttp->datasets<2.19.0,>=2.16.0->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
Collecting frozenlist>=1.1.1 (from aiohttp->datasets<2.19.0,>=2.16.0->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached frozenlist-1.5.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (13 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp->datasets<2.19.0,>=2.16.0->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached multidict-6.1.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (5.0 kB)
Collecting propcache>=0.2.0 (from aiohttp->datasets<2.19.0,>=2.16.0->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached propcache-0.2.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (7.7 kB)
Collecting yarl<2.0,>=1.17.0 (from aiohttp->datasets<2.19.0,>=2.16.0->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached yarl-1.17.2-cp310-cp310-macosx_11_0_arm64.whl.metadata (66 kB)
Collecting async-timeout<6.0,>=4.0 (from aiohttp->datasets<2.19.0,>=2.16.0->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached async_timeout-5.0.1-py3-none-any.whl.metadata (5.1 kB)
Collecting jmespath<1.0.0,>=0.9.3 (from aliyun-python-sdk-core>=2.13.12->oss2->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached jmespath-0.10.0-py2.py3-none-any.whl.metadata (8.0 kB)
Collecting cryptography>=3.0.0 (from aliyun-python-sdk-core>=2.13.12->oss2->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached cryptography-43.0.3-cp39-abi3-macosx_10_9_universal2.whl.metadata (5.4 kB)
Collecting pyasn1<0.7.0,>=0.4.6 (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard==2.14.0->-r requirements.txt (line 30))
Using cached pyasn1-0.6.1-py3-none-any.whl.metadata (8.4 kB)
Collecting oauthlib>=3.0.0 (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tensorboard==2.14.0->-r requirements.txt (line 30))
Using cached oauthlib-3.2.2-py3-none-any.whl.metadata (7.5 kB)
INFO: pip is looking at multiple versions of multiprocess to determine which version is compatible with other requirements. This could take a while.
Collecting multiprocess (from datasets<2.19.0,>=2.16.0->modelscope==1.15.0->-r requirements.txt (line 17))
Using cached multiprocess-0.70.16-py310-none-any.whl.metadata (7.2 kB)
Using cached conformer-0.3.2-py3-none-any.whl (4.3 kB)
Using cached diffusers-0.27.2-py3-none-any.whl (2.0 MB)
Using cached fastapi-0.115.3-py3-none-any.whl (94 kB)
Using cached fastapi_cli-0.0.4-py3-none-any.whl (9.5 kB)
Using cached gdown-5.1.0-py3-none-any.whl (17 kB)
Using cached gradio-5.3.0-py3-none-any.whl (56.7 MB)
Using cached grpcio-1.57.0-cp310-cp310-macosx_12_0_universal2.whl (9.0 MB)
Using cached grpcio_tools-1.57.0-cp310-cp310-macosx_12_0_universal2.whl (4.6 MB)
Using cached huggingface_hub-0.25.2-py3-none-any.whl (436 kB)
Using cached hydra_core-1.3.2-py3-none-any.whl (154 kB)
Using cached HyperPyYAML-1.2.2-py3-none-any.whl (16 kB)
Using cached inflect-7.3.1-py3-none-any.whl (34 kB)
Using cached librosa-0.10.2-py3-none-any.whl (260 kB)
Using cached lightning-2.2.4-py3-none-any.whl (2.0 MB)
Using cached matplotlib-3.7.5-cp310-cp310-macosx_11_0_arm64.whl (7.3 MB)
Using cached modelscope-1.15.0-py3-none-any.whl (5.7 MB)
Using cached networkx-3.1-py3-none-any.whl (2.1 MB)
Using cached numpy-1.24.4-cp310-cp310-macosx_11_0_arm64.whl (13.9 MB)
Using cached omegaconf-2.3.0-py3-none-any.whl (79 kB)
Using cached onnxruntime-1.16.0-cp310-cp310-macosx_11_0_arm64.whl (6.1 MB)
Using cached protobuf-4.25.0-cp37-abi3-macosx_10_9_universal2.whl (393 kB)
Using cached pydantic-2.7.0-py3-none-any.whl (407 kB)
Using cached rich-13.7.1-py3-none-any.whl (240 kB)
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Using cached safetensors-0.4.5-cp310-cp310-macosx_11_0_arm64.whl (381 kB)
Using cached soundfile-0.12.1-py2.py3-none-macosx_11_0_arm64.whl (1.1 MB)
Using cached tensorboard-2.14.0-py3-none-any.whl (5.5 MB)
Using cached transformers-4.44.1-py3-none-any.whl (9.5 MB)
Using cached uvicorn-0.32.0-py3-none-any.whl (63 kB)
Using cached WeTextProcessing-1.0.3-py3-none-any.whl (2.0 MB)
Using cached torch-2.3.0-cp310-none-macosx_11_0_arm64.whl (61.0 MB)
Using cached torchaudio-2.3.0-cp310-cp310-macosx_11_0_arm64.whl (1.8 MB)
Using cached gradio_client-1.4.2-py3-none-any.whl (319 kB)
Using cached pydantic_core-2.18.1-cp310-cp310-macosx_11_0_arm64.whl (1.8 MB)
Using cached tomlkit-0.12.0-py3-none-any.whl (37 kB)
Using cached absl_py-2.1.0-py3-none-any.whl (133 kB)
Using cached aiofiles-23.2.1-py3-none-any.whl (15 kB)
Using cached annotated_types-0.7.0-py3-none-any.whl (13 kB)
Using cached anyio-4.6.2.post1-py3-none-any.whl (90 kB)
Using cached audioread-3.0.1-py3-none-any.whl (23 kB)
Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
Using cached cffi-1.17.1-cp310-cp310-macosx_11_0_arm64.whl (178 kB)
Using cached charset_normalizer-3.4.0-cp310-cp310-macosx_11_0_arm64.whl (120 kB)
Using cached click-8.1.7-py3-none-any.whl (97 kB)
Using cached contourpy-1.3.1-cp310-cp310-macosx_11_0_arm64.whl (253 kB)
Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB)
Using cached datasets-2.18.0-py3-none-any.whl (510 kB)
Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Using cached einops-0.8.0-py3-none-any.whl (43 kB)
Using cached filelock-3.16.1-py3-none-any.whl (16 kB)
Using cached fonttools-4.55.0-cp310-cp310-macosx_10_9_universal2.whl (2.8 MB)
Using cached fsspec-2024.2.0-py3-none-any.whl (170 kB)
Using cached gast-0.6.0-py3-none-any.whl (21 kB)
Using cached google_auth-2.36.0-py2.py3-none-any.whl (209 kB)
Using cached google_auth_oauthlib-1.0.0-py2.py3-none-any.whl (18 kB)
Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Using cached httpx-0.27.2-py3-none-any.whl (76 kB)
Using cached httpcore-1.0.7-py3-none-any.whl (78 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Using cached jinja2-3.1.4-py3-none-any.whl (133 kB)
Using cached joblib-1.4.2-py3-none-any.whl (301 kB)
Using cached kiwisolver-1.4.7-cp310-cp310-macosx_11_0_arm64.whl (64 kB)
Using cached lazy_loader-0.4-py3-none-any.whl (12 kB)
Using cached lightning_utilities-0.11.8-py3-none-any.whl (26 kB)
Using cached Markdown-3.7-py3-none-any.whl (106 kB)
Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
Using cached MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_universal2.whl (18 kB)
Using cached more_itertools-10.5.0-py3-none-any.whl (60 kB)
Using cached msgpack-1.1.0-cp310-cp310-macosx_11_0_arm64.whl (81 kB)
Using cached numba-0.60.0-cp310-cp310-macosx_11_0_arm64.whl (2.7 MB)
Using cached orjson-3.10.11-cp310-cp310-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl (266 kB)
Using cached packaging-24.2-py3-none-any.whl (65 kB)
Using cached pandas-2.2.3-cp310-cp310-macosx_11_0_arm64.whl (11.3 MB)
Using cached pillow-10.4.0-cp310-cp310-macosx_11_0_arm64.whl (3.4 MB)
Using cached pooch-1.8.2-py3-none-any.whl (64 kB)
Using cached pyarrow-18.0.0-cp310-cp310-macosx_12_0_arm64.whl (29.5 MB)
Using cached pygments-2.18.0-py3-none-any.whl (1.2 MB)
Using cached pyparsing-3.2.0-py3-none-any.whl (106 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached python_multipart-0.0.17-py3-none-any.whl (24 kB)
Using cached PyYAML-6.0.2-cp310-cp310-macosx_11_0_arm64.whl (171 kB)
Using cached regex-2024.11.6-cp310-cp310-macosx_11_0_arm64.whl (284 kB)
Using cached ruamel.yaml-0.18.6-py3-none-any.whl (117 kB)
Using cached ruff-0.7.4-py3-none-macosx_11_0_arm64.whl (9.9 MB)
Using cached scikit_learn-1.5.2-cp310-cp310-macosx_12_0_arm64.whl (11.0 MB)
Using cached scipy-1.14.1-cp310-cp310-macosx_14_0_arm64.whl (23.1 MB)
Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Using cached simplejson-3.19.3-cp310-cp310-macosx_11_0_arm64.whl (75 kB)
Using cached sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Using cached soxr-0.5.0.post1-cp310-cp310-macosx_11_0_arm64.whl (160 kB)
Using cached starlette-0.41.2-py3-none-any.whl (73 kB)
Using cached tensorboard_data_server-0.7.2-py3-none-any.whl (2.4 kB)
Using cached tokenizers-0.19.1-cp310-cp310-macosx_11_0_arm64.whl (2.4 MB)
Using cached torchmetrics-1.6.0-py3-none-any.whl (926 kB)
Using cached tqdm-4.67.0-py3-none-any.whl (78 kB)
Using cached typeguard-4.4.1-py3-none-any.whl (35 kB)
Using cached typer-0.13.0-py3-none-any.whl (44 kB)
Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Using cached urllib3-2.2.3-py3-none-any.whl (126 kB)
Using cached werkzeug-3.1.3-py3-none-any.whl (224 kB)
Using cached addict-2.4.0-py3-none-any.whl (3.8 kB)
Using cached attrs-24.2.0-py3-none-any.whl (63 kB)
Using cached beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
Using cached coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)
Using cached ffmpy-0.4.0-py3-none-any.whl (5.8 kB)
Using cached flatbuffers-24.3.25-py2.py3-none-any.whl (26 kB)
Using cached importlib_metadata-8.5.0-py3-none-any.whl (26 kB)
Using cached importlib_resources-6.4.5-py3-none-any.whl (36 kB)
Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Using cached pytorch_lightning-2.4.0-py3-none-any.whl (815 kB)
Using cached sympy-1.13.3-py3-none-any.whl (6.2 MB)
Using cached tiktoken-0.8.0-cp310-cp310-macosx_11_0_arm64.whl (982 kB)
Using cached yapf-0.43.0-py3-none-any.whl (256 kB)
Using cached aiohttp-3.11.2-cp310-cp310-macosx_11_0_arm64.whl (453 kB)
Using cached aliyun_python_sdk_kms-2.16.5-py2.py3-none-any.whl (99 kB)
Using cached cachetools-5.5.0-py3-none-any.whl (9.5 kB)
Using cached dill-0.3.8-py3-none-any.whl (116 kB)
Using cached exceptiongroup-1.2.2-py3-none-any.whl (16 kB)
Using cached humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
Using cached llvmlite-0.43.0-cp310-cp310-macosx_11_0_arm64.whl (28.8 MB)
Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Using cached mpmath-1.3.0-py3-none-any.whl (536 kB)
Using cached platformdirs-4.3.6-py3-none-any.whl (18 kB)
Using cached pyasn1_modules-0.4.1-py3-none-any.whl (181 kB)
Using cached pycryptodome-3.21.0-cp36-abi3-macosx_10_9_universal2.whl (2.5 MB)
Using cached PySocks-1.7.1-py3-none-any.whl (16 kB)
Using cached pytz-2024.2-py2.py3-none-any.whl (508 kB)
Using cached requests_oauthlib-2.0.0-py2.py3-none-any.whl (24 kB)
Using cached rsa-4.9-py3-none-any.whl (34 kB)
Using cached ruamel.yaml.clib-0.2.12-cp310-cp310-macosx_13_0_arm64.whl (131 kB)
Using cached shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Using cached sniffio-1.3.1-py3-none-any.whl (10 kB)
Using cached soupsieve-2.6-py3-none-any.whl (36 kB)
Using cached threadpoolctl-3.5.0-py3-none-any.whl (18 kB)
Using cached tomli-2.1.0-py3-none-any.whl (13 kB)
Using cached tzdata-2024.2-py2.py3-none-any.whl (346 kB)
Using cached websockets-12.0-cp310-cp310-macosx_11_0_arm64.whl (121 kB)
Using cached zipp-3.21.0-py3-none-any.whl (9.6 kB)
Using cached multiprocess-0.70.16-py310-none-any.whl (134 kB)
Using cached pyarrow_hotfix-0.6-py3-none-any.whl (7.9 kB)
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Using cached xxhash-3.5.0-cp310-cp310-macosx_11_0_arm64.whl (30 kB)
Using cached aiohappyeyeballs-2.4.3-py3-none-any.whl (14 kB)
Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Using cached async_timeout-5.0.1-py3-none-any.whl (6.2 kB)
Using cached cryptography-43.0.3-cp39-abi3-macosx_10_9_universal2.whl (6.2 MB)
Using cached frozenlist-1.5.0-cp310-cp310-macosx_11_0_arm64.whl (52 kB)
Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Using cached multidict-6.1.0-cp310-cp310-macosx_11_0_arm64.whl (29 kB)
Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)
Using cached propcache-0.2.0-cp310-cp310-macosx_11_0_arm64.whl (45 kB)
Using cached pyasn1-0.6.1-py3-none-any.whl (83 kB)
Using cached yarl-1.17.2-cp310-cp310-macosx_11_0_arm64.whl (91 kB)
Building wheels for collected packages: pynini
Building wheel for pynini (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [52 lines of output]
running bdist_wheel
running build
running build_py
creating build/lib.macosx-11.0-arm64-cpython-310/pywrapfst
copying pywrapfst/init.py -> build/lib.macosx-11.0-arm64-cpython-310/pywrapfst
creating build/lib.macosx-11.0-arm64-cpython-310/pynini
copying pynini/init.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini
creating build/lib.macosx-11.0-arm64-cpython-310/pynini/examples
copying pynini/examples/chatspeak.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/examples
copying pynini/examples/chatspeak_model.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/examples
copying pynini/examples/weather.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/examples
copying pynini/examples/init.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/examples
copying pynini/examples/numbers.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/examples
copying pynini/examples/plurals.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/examples
copying pynini/examples/t9.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/examples
copying pynini/examples/case.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/examples
copying pynini/examples/dates.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/examples
copying pynini/examples/g2p.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/examples
creating build/lib.macosx-11.0-arm64-cpython-310/pynini/lib
copying pynini/lib/edit_transducer.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/lib
copying pynini/lib/utf8.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/lib
copying pynini/lib/init.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/lib
copying pynini/lib/features.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/lib
copying pynini/lib/pynutil.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/lib
copying pynini/lib/paradigms.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/lib
copying pynini/lib/tagger.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/lib
copying pynini/lib/rule_cascade.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/lib
copying pynini/lib/rewrite.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/lib
copying pynini/lib/byte.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/lib
creating build/lib.macosx-11.0-arm64-cpython-310/pynini/export
copying pynini/export/init.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/export
copying pynini/export/export.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/export
copying pynini/export/multi_grm_example.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/export
copying pynini/export/multi_grm.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/export
copying pynini/export/grm.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/export
copying pynini/export/grm_example.py -> build/lib.macosx-11.0-arm64-cpython-310/pynini/export
copying pywrapfst/init.pyi -> build/lib.macosx-11.0-arm64-cpython-310/pywrapfst
copying pywrapfst/py.typed -> build/lib.macosx-11.0-arm64-cpython-310/pywrapfst
copying pynini/init.pyi -> build/lib.macosx-11.0-arm64-cpython-310/pynini
copying pynini/py.typed -> build/lib.macosx-11.0-arm64-cpython-310/pynini
copying pynini/examples/py.typed -> build/lib.macosx-11.0-arm64-cpython-310/pynini/examples
copying pynini/lib/py.typed -> build/lib.macosx-11.0-arm64-cpython-310/pynini/lib
copying pynini/export/py.typed -> build/lib.macosx-11.0-arm64-cpython-310/pynini/export
running build_ext
building '_pywrapfst' extension
creating build/temp.macosx-11.0-arm64-cpython-310/extensions
clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/miniconda3/envs/3.10py/include -arch arm64 -fPIC -O2 -isystem /opt/miniconda3/envs/3.10py/include -arch arm64 -I/opt/miniconda3/envs/3.10py/include/python3.10 -c extensions/_pywrapfst.cpp -o build/temp.macosx-11.0-arm64-cpython-310/extensions/_pywrapfst.o -std=c++17 -Wno-register -Wno-deprecated-declarations -Wno-unused-function -Wno-unused-local-typedefs -funsigned-char -stdlib=libc++ -mmacosx-version-min=10.7
extensions/_pywrapfst.cpp:1291:10: fatal error: 'fst/util.h' file not found
1291 | #include <fst/util.h>
| ^~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang++' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pynini
Running setup.py clean for pynini
Failed to build pynini
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pynini)

@sixsixcoder
Copy link

sixsixcoder commented Nov 18, 2024

你这是哪个requirement.txt,voice依赖里面没有pynini啊

@chatyeei
Copy link
Author

好奇怪。。。我检查了一下文件夹内的依赖,确实没发现这个。但是执行的时候下载了很多依赖。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants