Skip to content

feat(app): do not pull PIL image from disk in image primitive #7696

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

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

psychedelicious
Copy link
Collaborator

Summary

In the Image Primitive node, we were loading the PIL image from file storage, but it does nothing to it. We can instead retrieve the image DTO only, which is a cheaper operation.

Related Issues / Discussions

n/a

QA Instructions

n/a

Merge Plan

n/a

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added python PRs that change python files invocations PRs that change invocations labels Feb 27, 2025
@psychedelicious psychedelicious merged commit 1c14e25 into main Feb 27, 2025
15 checks passed
@psychedelicious psychedelicious deleted the psyche/perf/app/skip-pil-load branch February 27, 2025 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invocations PRs that change invocations python PRs that change python files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants