Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@zac-li
Copy link
Member

@zac-li zac-li commented Nov 4, 2024

Schema of CLIP v2's TextAndImageDoc has changed. An additional optional List[int] is introduced, which makes the current batch input handle logic problematic.

The PR fixed the issue by simply skipping the handling if the List[int] is empty by adding the check if field_str.

@github-actions github-actions bot added size/S area/core This issue/PR affects the core codebase area/testing This issue/PR affects testing labels Nov 4, 2024
Copy link
Contributor

@JoanFM JoanFM left a comment

Choose a reason for hiding this comment

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

How is this tested?

@JoanFM JoanFM closed this Nov 4, 2024
@JoanFM JoanFM reopened this Nov 4, 2024
@JoanFM JoanFM merged commit 92d03f0 into master Nov 4, 2024
126 of 129 checks passed
@JoanFM JoanFM deleted the fix-clip-sm-batch branch November 4, 2024 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/core This issue/PR affects the core codebase area/testing This issue/PR affects testing size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants