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

don't return triton image as a functools.partial #2326

Merged
merged 2 commits into from
Apr 4, 2024
Merged

Conversation

samhita-alla
Copy link
Contributor

@samhita-alla samhita-alla commented Apr 4, 2024

Tracking issue

https://github.com/flyteorg/flyte/issues/

Why are the changes needed?

functools.partial is not JSON serializable. hence, replacing partial with string.

What changes were proposed in this pull request?

How was this patch tested?

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

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Apr 4, 2024
@samhita-alla samhita-alla marked this pull request as draft April 4, 2024 05:05
Copy link

codecov bot commented Apr 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.05%. Comparing base (e121d35) to head (c0863f0).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2326      +/-   ##
==========================================
- Coverage   83.09%   83.05%   -0.05%     
==========================================
  Files         324      324              
  Lines       24853    24852       -1     
  Branches     3758     3545     -213     
==========================================
- Hits        20651    20640      -11     
- Misses       3581     3590       +9     
- Partials      621      622       +1     

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

@samhita-alla samhita-alla changed the title move triton image materialization code from mixin to task don't return triton image partial Apr 4, 2024
@samhita-alla samhita-alla marked this pull request as ready for review April 4, 2024 05:22
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Apr 4, 2024
@samhita-alla samhita-alla changed the title don't return triton image partial don't return triton image as a functools.partial Apr 4, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by maintainer label Apr 4, 2024
@eapolinario eapolinario merged commit 0a7a72a into master Apr 4, 2024
48 of 49 checks passed
ChungYujoyce pushed a commit to ChungYujoyce/flytekit that referenced this pull request Apr 5, 2024
* move triton image code from mixin to task

Signed-off-by: Samhita Alla <[email protected]>

* don't return triton image partial

Signed-off-by: Samhita Alla <[email protected]>

---------

Signed-off-by: Samhita Alla <[email protected]>
fiedlerNr9 pushed a commit that referenced this pull request Jul 25, 2024
* move triton image code from mixin to task

Signed-off-by: Samhita Alla <[email protected]>

* don't return triton image partial

Signed-off-by: Samhita Alla <[email protected]>

---------

Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Jan Fiedler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants