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

Add full blob encoding and consistency check #1379

Merged
merged 10 commits into from
Jul 25, 2024
Merged

Conversation

darth-cy
Copy link

@darth-cy darth-cy commented Jul 22, 2024

Description

  • To make sure the full blob test is valid when encoding config changes, an assertion guard is added to make sure full blob test produces a blob of appropriate len.
  • An additional batch data processing fn is added to segment raw batch bytes with metadata

Copy link

@roynalnaruto roynalnaruto left a comment

Choose a reason for hiding this comment

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

Looks good, added a nit-pick suggestion

@darth-cy darth-cy marked this pull request as draft July 23, 2024 04:09
@darth-cy darth-cy marked this pull request as ready for review July 24, 2024 23:18
@darth-cy darth-cy changed the title Add assertion for full blob encoding Add full blob encoding and consistency check Jul 24, 2024
@roynalnaruto roynalnaruto self-requested a review July 24, 2024 23:33
Copy link

@roynalnaruto roynalnaruto left a comment

Choose a reason for hiding this comment

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

Let's make use of constants and some nit-picks

@roynalnaruto roynalnaruto self-requested a review July 25, 2024 07:49
Copy link

@roynalnaruto roynalnaruto left a comment

Choose a reason for hiding this comment

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

Looks good!

@roynalnaruto roynalnaruto merged commit 54125eb into develop Jul 25, 2024
17 checks passed
@roynalnaruto roynalnaruto deleted the test/full_blob_guard branch July 25, 2024 16:35
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

Successfully merging this pull request may close these issues.

2 participants