-
Notifications
You must be signed in to change notification settings - Fork 626
support interleave text and image in messages #4141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| if self.routed_experts is None: | ||
| fields.append('routed_experts=None') | ||
| else: | ||
| fields.append(f'routed_experts.shape={self.routed_experts.shape}') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RunningLeon any concern of using _format_tensor(self.routed_experts)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually routed_experts could be np.ndarray, str, None. So here we may need to handle str as well.
Also fix #4145