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

Improve io.videoreader pyav backend performance #8173

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

imagazin-intel
Copy link
Contributor

Description

This pull request addresses issue #8172

Changes Made

  • replaced torch.tensor() call with torch.as_tensor() call to avoid unnecessary data copy in tensor from numpy array constructor.

Copy link

pytorch-bot bot commented Dec 19, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/8173

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 5feec18 with merge base 6c2e0ae (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

Copy link
Collaborator

@pmeier pmeier left a comment

Choose a reason for hiding this comment

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

Thanks @imagazin-intel!

@pmeier pmeier merged commit 6640e49 into pytorch:main Dec 20, 2023
64 checks passed
Copy link

Hey @pmeier!

You merged this PR, but no labels were added. The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py

@pmeier pmeier added module: video Perf For performance improvements labels Dec 20, 2023
facebook-github-bot pushed a commit that referenced this pull request Jan 16, 2024
Reviewed By: vmoens

Differential Revision: D52539023

fbshipit-source-id: b47265b2b444851d3699c1d3546486b31601fd12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla signed module: video Perf For performance improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants