mirror of
https://github.com/deepseek-ai/Janus.git
synced 2026-11-05 00:57:18 +00:00
[GH-ISSUE #203] 因为需要迁移到310视频卡上,需要先转换成onnx格式,测试了多种方法都有技术阻碍 #165
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#165
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 @furanger on GitHub (Mar 18, 2025).
Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/203
一种是转换成 transformers、llama、swift格式 ,然后出现了
ValueError: The checkpoint you are trying to load has model type
multi_modalitybut Transformers does not recognize this architecture ,看了一下 应该是transformers 里没有配置文件中的multi_modality类别第二种方法是onnxruntime,先启动模型,然后传输给onnxruntime,有了multi_modality类型了,
又报了
NotImplementedError: Module [MultiModalityCausalLM] is missing the required "forward" function
目前还没看懂MultiModalityCausalLM 类与AutoModelForCausalLM的forward应该如何设计,有什么好建议吗?
btw - 研化好像转换成了R1 但R1没有用MultiModalityCausalLM类