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

Question about input_ids of typeFloatTensor in code. #914

Open
natsunoshion opened this issue Feb 21, 2025 · 0 comments
Open

Question about input_ids of typeFloatTensor in code. #914

natsunoshion opened this issue Feb 21, 2025 · 0 comments

Comments

@natsunoshion
Copy link

In the 403 line of file InternVL/internvl_chat/internvl/model/internvl_chat /modeling_internvl_chat.py, I see: input_ids: Optional[torch.FloatTensor] = None,

Why this input_ids be FloatTensor, not LongTensor?

@natsunoshion natsunoshion changed the title Question about input_ids of typeFloatTensor in code. Question about input_ids of typeFloatTensor in code. Feb 21, 2025
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

1 participant