You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
我已经搜索过FAQ | I have searched FAQ
当前行为 | Current Behavior
(minicpmo) blackfruithouse@MacBookPro MiniCPM % python MiniCPM-o/web_demos/minicpm-o_2.6/model_server.py --model model --port 5000
/Users/blackfruithouse/miniconda3/envs/minicpmo/lib/python3.10/site-packages/transformers/models/auto/image_processing_auto.py:513: FutureWarning: The image_processor_class argument is deprecated and will be removed in v4.42. Please use `slow_image_processor_class`, or `fast_image_processor_class` instead
warnings.warn(
Loading checkpoint shards: 100%|██████████████████| 4/4 [01:47<00:00, 26.82s/it]
Traceback (most recent call last):
File "/Users/blackfruithouse/Documents/MiniCPM/MiniCPM-o/web_demos/minicpm-o_2.6/model_server.py", line 601, in <module>
stream_manager = StreamManager()
File "/Users/blackfruithouse/Documents/MiniCPM/MiniCPM-o/web_demos/minicpm-o_2.6/model_server.py", line 98, in __init__
self.minicpmo_model.init_tts()
File "/Users/blackfruithouse/.cache/huggingface/modules/transformers_modules/model/modeling_minicpmo.py", line 166, in init_tts
self.vocos = self.initialize_vocos(vocos_ckpt_path)
File "/Users/blackfruithouse/.cache/huggingface/modules/transformers_modules/model/modeling_minicpmo.py", line 187, in initialize_vocos
vocos = Vocos(feature_extractor, backbone, head).to("cuda").eval().to(torch.float32)
File "/Users/blackfruithouse/miniconda3/envs/minicpmo/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1173, in to
return self._apply(convert)
File "/Users/blackfruithouse/miniconda3/envs/minicpmo/lib/python3.10/site-packages/torch/nn/modules/module.py", line 779, in _apply
module._apply(fn)
File "/Users/blackfruithouse/miniconda3/envs/minicpmo/lib/python3.10/site-packages/torch/nn/modules/module.py", line 779, in _apply
module._apply(fn)
File "/Users/blackfruithouse/miniconda3/envs/minicpmo/lib/python3.10/site-packages/torch/nn/modules/module.py", line 779, in _apply
module._apply(fn)
File "/Users/blackfruithouse/miniconda3/envs/minicpmo/lib/python3.10/site-packages/torch/nn/modules/module.py", line 853, in _apply
self._buffers[key] = fn(buf)
File "/Users/blackfruithouse/miniconda3/envs/minicpmo/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1159, in convert
return t.to(
File "/Users/blackfruithouse/miniconda3/envs/minicpmo/lib/python3.10/site-packages/torch/cuda/__init__.py", line 284, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
当前行为 | Current Behavior
Code:
期望行为 | Expected Behavior
我希望能尽快有一个合适的答复。
复现方法 | Steps To Reproduce
修改
model_server.py
运行环境 | Environment
备注 | Anything else?
No response
The text was updated successfully, but these errors were encountered: