-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Adding GPU acceleration to encode_jpeg #8391
Merged
Merged
Commits on Apr 23, 2024
-
Adding GPU acceleration to encode_jpeg
Summary: I'm adding GPU support to the existing torchvision.io.encode_jpeg function. If the input tensors are on the GPU, the CUDA version will be used and the CPU version otherwise. Additionally, I'm adding a new function torchvision.io.encode_jpegs (plural) with uses a fused kernel and may be faster than successive calls to the singular version which incurs kernel launch overhead for each call. If it's alright, I'll be happy to refactor decode_jpeg to follow this convention in a follow up PR. Test Plan: 1. pytest test -vvv 2. ufmt format torchvision 3. flake8 torchvision Reviewers: Subscribers: Tasks: Tags:
Configuration menu - View commit details
-
Copy full SHA for 133d7c1 - Browse repository at this point
Copy the full SHA 133d7c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cc30cb - Browse repository at this point
Copy the full SHA 4cc30cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2db02f0 - Browse repository at this point
Copy the full SHA 2db02f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6acef83 - Browse repository at this point
Copy the full SHA 6acef83View commit details
Commits on Apr 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ae0450d - Browse repository at this point
Copy the full SHA ae0450dView commit details
Commits on Apr 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a799c53 - Browse repository at this point
Copy the full SHA a799c53View commit details
Commits on May 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c5810ff - Browse repository at this point
Copy the full SHA c5810ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff40253 - Browse repository at this point
Copy the full SHA ff40253View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0972863 - Browse repository at this point
Copy the full SHA 0972863View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ce658d - Browse repository at this point
Copy the full SHA 4ce658dView commit details
Commits on Jun 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 65372a3 - Browse repository at this point
Copy the full SHA 65372a3View commit details
Commits on Jun 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 62e072a - Browse repository at this point
Copy the full SHA 62e072aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f190d99 - Browse repository at this point
Copy the full SHA f190d99View commit details
Commits on Jun 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b5eaa89 - Browse repository at this point
Copy the full SHA b5eaa89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5051050 - Browse repository at this point
Copy the full SHA 5051050View commit details -
Configuration menu - View commit details
-
Copy full SHA for 136f790 - Browse repository at this point
Copy the full SHA 136f790View commit details
Commits on Jun 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0a88d27 - Browse repository at this point
Copy the full SHA 0a88d27View commit details -
Merge branch 'add_gpu_encode' of https://github.com/deekay42/vision i…
…nto add_gpu_encode
Configuration menu - View commit details
-
Copy full SHA for df60183 - Browse repository at this point
Copy the full SHA df60183View commit details
Commits on Jun 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f3c8a72 - Browse repository at this point
Copy the full SHA f3c8a72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 117d1f1 - Browse repository at this point
Copy the full SHA 117d1f1View commit details
Commits on Jun 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 21eca4c - Browse repository at this point
Copy the full SHA 21eca4cView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.