Skip to content

about position_ids #3

@chris1220313648

Description

@chris1220313648

Hi, thank you for the great work!

I have a question about how position_ids are handled in Dream-VLA.

In this code:

position_ids = attention_mask.cumsum(dim=1)

position_ids seem to start from 1 (since they are computed from attention_mask.cumsum(...)), whereas in the default Dream model they usually start from 0.

Would this cause any inconsistency or mismatch in positional encoding between Dream-VLA and the base Dream model?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions