-
Notifications
You must be signed in to change notification settings - Fork 17
[MOD-9576] make CreatePreprocessorsContainerParams templated and move it to header file #670
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
base: main
Are you sure you want to change the base?
Conversation
…er file add logic to determine the cosine processed_bytes_count add processed_bytes_count to the cosine component change blob_size param to the original blob size instead of processed_bytes_count in all preprocessing functions.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #670 +/- ##
==========================================
- Coverage 96.24% 96.22% -0.02%
==========================================
Files 112 111 -1
Lines 6278 6284 +6
==========================================
+ Hits 6042 6047 +5
- Misses 236 237 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
add DummyChangeAllocSizePreprocessor class to test pp that changes the size add tests one will fail because the input blob size is not updated
|
||
for (auto pp : preprocessors) { | ||
if (!pp) | ||
break; | ||
// modifies the memory in place | ||
pp->preprocessStorageInPlace(blob, processed_bytes_count); | ||
pp->preprocessStorageInPlace(blob, input_blob_size); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will be covered by svs code
add logic to determine the cosine processed_bytes_count
add processed_bytes_count to the cosine component
change blob_size param to the original blob size instead of processed_bytes_count in all preprocessing functions.
Describe the changes in the pull request
A clear and concise description of what the PR is solving.
Which issues this PR fixes
Main objects this PR modified
Mark if applicable