[GH-ISSUE #99] AttributeError: 'tuple' object has no attribute 'get_seq_length' #76

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

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

Hi,

When I ran the JanusFlow model, it had the error "AttributeError: 'tuple' object has no attribute 'get_seq_length'". How to solve it?

Thanks,

Regards,

Simon

Originally created by @SimonYS001 on GitHub (Jan 29, 2025). Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/99 Hi, When I ran the JanusFlow model, it had the error "AttributeError: 'tuple' object has no attribute 'get_seq_length'". How to solve it? Thanks, Regards, Simon
Author
Owner

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

reinstall transformers==4.38.2

<!-- gh-comment-id:2623109187 --> @fifthbeatles commented on GitHub (Jan 29, 2025): reinstall transformers==4.38.2
Author
Owner

@Purshow commented on GitHub (Feb 3, 2025):

reinstall transformers==4.38.2

Thanks! It works for me.

<!-- gh-comment-id:2630200191 --> @Purshow commented on GitHub (Feb 3, 2025): > reinstall transformers==4.38.2 Thanks! It works for me.
Author
Owner

@scifisatan commented on GitHub (Feb 4, 2025):

i got a fix without having to reinstall transformers

https://github.com/deepseek-ai/Janus/issues/77#issuecomment-2634147660

<!-- gh-comment-id:2634173663 --> @scifisatan commented on GitHub (Feb 4, 2025): i got a fix without having to reinstall transformers https://github.com/deepseek-ai/Janus/issues/77#issuecomment-2634147660
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#76
No description provided.