Could not run the model locally in Apple Silicon M2
Janus % python --version Python 3.11.11
System: Apple Macbook Pro 2022 Apple Silicon M2 16GB RAM
Errors: Janus % pip install -e .[gradio]
python demo/app_januspro.py
zsh: no matches found: .[gradio]
Traceback (most recent call last):
File "/Janus/demo/app_januspro.py", line 1, in
手动安装一下gradio就行了,但是我m2能够打开gui,chat却半天跑不出结果,看gpu占用发现模型没有在运行
手动安装一下gradio就行了,但是我m2能够打开gui,chat却半天跑不出结果,看gpu占用发现模型没有在运行
(translation, gpt) Manually installing Gradio should be enough, but on my M2, I can open the GUI, while the chat takes forever to generate a result. Checking the GPU usage, I found that the model isn’t running.
please use english. 谢谢.
Mac上运行加个引号:pip install -e ".[gradio]"
januspro 1/7B: https://github.com/takahirosir/Janus