Skip to content

[model] fix: stuck issue with mixed text-image data#518

Merged
hiyouga merged 1 commit intohiyouga:mainfrom
HollowMan6:main
Oct 4, 2025
Merged

[model] fix: stuck issue with mixed text-image data#518
hiyouga merged 1 commit intohiyouga:mainfrom
HollowMan6:main

Conversation

@HollowMan6
Copy link
Contributor

Same as verl-project/verl#3670, we should revert this part of change in 35e693a, otherwise it will cause stuck again.

verl-project/verl#3315 (comment)

It should be pretty safe and optional to do without model.training checks even the model is in inference mode, as the value of inputs_embeds won't get modified anyway.

Same as verl-project/verl#3670, we should revert
this part of change in 35e693a,
otherwise it will cause stuck again.

verl-project/verl#3315 (comment)

It should be pretty safe and optional to do without `model.training` checks
even the model is in inference mode, as the value of `inputs_embeds` won't
get modified anyway.

Signed-off-by: Hollow Man <hollowman@opensuse.org>
Copy link
Owner

@hiyouga hiyouga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hiyouga hiyouga merged commit 52e83d4 into hiyouga:main Oct 4, 2025
1 check passed
hiyouga pushed a commit that referenced this pull request Oct 4, 2025
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants