[GH-ISSUE #84] Could not run the model locally in Apple Silicon M2 #62

Open
opened 2026-10-26 21:11:21 +00:00 by bsakaguchi · 4 comments
Owner

Originally created by @nagarjunr on GitHub (Jan 29, 2025).
Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/84

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
import gradio as gr
ModuleNotFoundError: No module named 'gradio'

Originally created by @nagarjunr on GitHub (Jan 29, 2025). Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/84 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 <module> import gradio as gr ModuleNotFoundError: No module named 'gradio'
Author
Owner

@konpoku commented on GitHub (Jan 29, 2025):

手动安装一下gradio就行了,但是我m2能够打开gui,chat却半天跑不出结果,看gpu占用发现模型没有在运行

<!-- gh-comment-id:2620829843 --> @konpoku commented on GitHub (Jan 29, 2025): 手动安装一下gradio就行了,但是我m2能够打开gui,chat却半天跑不出结果,看gpu占用发现模型没有在运行
Author
Owner

@fedorzajac commented on GitHub (Jan 29, 2025):

手动安装一下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. 谢谢.

<!-- gh-comment-id:2620911058 --> @fedorzajac commented on GitHub (Jan 29, 2025): > 手动安装一下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. 谢谢.
Author
Owner

@fifthbeatles commented on GitHub (Jan 29, 2025):

Mac上运行加个引号:pip install -e ".[gradio]"

<!-- gh-comment-id:2621702350 --> @fifthbeatles commented on GitHub (Jan 29, 2025): Mac上运行加个引号:pip install -e ".[gradio]"
Author
Owner

@vaiden commented on GitHub (Jan 29, 2025):

januspro 1/7B: https://github.com/takahirosir/Janus

<!-- gh-comment-id:2621960701 --> @vaiden commented on GitHub (Jan 29, 2025): januspro 1/7B: https://github.com/takahirosir/Janus
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/Janus#62
No description provided.