mirror of
https://github.com/deepseek-ai/Janus.git
synced 2026-11-05 00:57:18 +00:00
[GH-ISSUE #84] Could not run the model locally in Apple Silicon M2 #62
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/Janus#62
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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'
@konpoku commented on GitHub (Jan 29, 2025):
手动安装一下gradio就行了,但是我m2能够打开gui,chat却半天跑不出结果,看gpu占用发现模型没有在运行
@fedorzajac commented on GitHub (Jan 29, 2025):
(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. 谢谢.
@fifthbeatles commented on GitHub (Jan 29, 2025):
Mac上运行加个引号:pip install -e ".[gradio]"
@vaiden commented on GitHub (Jan 29, 2025):
januspro 1/7B: https://github.com/takahirosir/Janus