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

fix: update dataclass objects directly instead of creating new variables #418

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

kmehant
Copy link
Collaborator

@kmehant kmehant commented Dec 13, 2024

There was spread of information in multiple variables, therefore confining the source of truth to a single variable, preferably with dataclass objects in this scenario.

cc: @dushyantbehl

Copy link

Thanks for making a pull request! 😃
One of the maintainers will review and advise on the next steps.

@github-actions github-actions bot added the fix label Dec 13, 2024
@dushyantbehl
Copy link
Contributor

LGTM.

Copy link
Collaborator

@Abhishek-TAMU Abhishek-TAMU left a comment

Choose a reason for hiding this comment

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

This looks good to me. Additionally PR #399 also ignored using max_seq_len from function process_dataargs. Thanks @kmehant @dushyantbehl for the fix and cleanup.

@ashokponkumar ashokponkumar merged commit a89f76b into foundation-model-stack:main Dec 13, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants