Skip to content
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

[InternVL 2.0] config of eof is INVALID, output token length is max_tokens #2580

Open
spacegrass opened this issue Dec 16, 2024 · 1 comment
Assignees

Comments

@spacegrass
Copy link

we set pad_id and end_id, but it does NOT work.
If we set max_tokens == 2048, then output token length is 2048
If we set max_tokens == 1024, then output token length is 1024
Inference time is very long ...
Even our question is: Is there a car in the image ?

Image

---- How could we delete the padding-words by config ?

@nv-guomingz
Copy link
Collaborator

@kaiyux would u plz take a look on this question?

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

No branches or pull requests

3 participants