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

Using new offloaded metadata literal message for literal offloading #5705

Merged
merged 6 commits into from
Aug 30, 2024

Conversation

pmahindrakar-oss
Copy link
Contributor

Tracking issue

RFC #5103

Why are the changes needed?

Without these changes we hit grpc limit when propeller tries to create an execution by passing inputs inline which it got from output of large map task

What changes were proposed in this pull request?

Adding a new sub message for offloaded literal which would be populated initially by propeller for map task user when the collected values are greater than configured threshold and later flytekit which write the o/p where we will be adding similar checks

How was this patch tested?

Will be tested as part of this PR #5697
These are just IDL changes

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

Copy link

codecov bot commented Aug 29, 2024

Codecov Report

Attention: Patch coverage is 3.57143% with 81 lines in your changes missing coverage. Please review.

Project coverage is 36.16%. Comparing base (7136919) to head (8de47b1).
Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
flyteidl/gen/pb-go/flyteidl/core/literals.pb.go 3.57% 81 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5705      +/-   ##
==========================================
- Coverage   36.18%   36.16%   -0.02%     
==========================================
  Files        1302     1302              
  Lines      109614   109653      +39     
==========================================
+ Hits        39660    39661       +1     
- Misses      65809    65847      +38     
  Partials     4145     4145              
Flag Coverage Δ
unittests-datacatalog 51.37% <ø> (ø)
unittests-flyteadmin 55.33% <ø> (ø)
unittests-flytecopilot 12.17% <ø> (ø)
unittests-flytectl 62.18% <ø> (ø)
unittests-flyteidl 7.12% <3.57%> (-0.01%) ⬇️
unittests-flyteplugins 53.34% <ø> (ø)
unittests-flytepropeller 41.71% <ø> (ø)
unittests-flytestdlib 55.35% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

katrogan
katrogan previously approved these changes Aug 29, 2024
Copy link
Contributor

@katrogan katrogan left a comment

Choose a reason for hiding this comment

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

LGTM but would be good to get @eapolinario 's review

flyteidl/protos/flyteidl/core/literals.proto Outdated Show resolved Hide resolved
Signed-off-by: pmahindrakar-oss <[email protected]>
Signed-off-by: pmahindrakar-oss <[email protected]>
Signed-off-by: pmahindrakar-oss <[email protected]>
Signed-off-by: pmahindrakar-oss <[email protected]>
@pmahindrakar-oss pmahindrakar-oss merged commit 3f21f18 into master Aug 30, 2024
48 of 50 checks passed
@pmahindrakar-oss pmahindrakar-oss deleted the offloaded-literal-updated-idl branch August 30, 2024 00:52
bgedik pushed a commit to bgedik/flyte that referenced this pull request Sep 12, 2024
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.

5 participants