Skip to content

Conversation

@mthrok
Copy link
Contributor

@mthrok mthrok commented Mar 3, 2023

Summary:
#3120 introduced regression in GPU encoder.

This happened because previously source AVPixelFormat (expected channel order of
input tensor) and AVCodecContext (encoding format) in converter (module to copy
input tensor to buffer), even though converter does not need to konw about the
encoding format.

This commit fixes the issue and make sure that converter does not recieve
codec context.

Differential Revision: D43759162

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D43759162

mthrok added a commit to mthrok/audio that referenced this pull request Mar 3, 2023
Summary:
Pull Request resolved: pytorch#3140

pytorch#3120 introduced regression in GPU encoder.

This happened because previously source AVPixelFormat (expected channel order of
input tensor) and AVCodecContext (encoding format) in converter (module to copy
input tensor to buffer), even though converter does not need to konw about the
encoding format.

This commit fixes the issue and make sure that converter does not recieve
codec context.

Differential Revision: D43759162

fbshipit-source-id: a4d76034312d42ce2267daeafe84d87ef91200cb
@mthrok mthrok force-pushed the export-D43759162 branch from f559399 to 1e2f8b1 Compare March 3, 2023 02:47
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D43759162

Summary:
Pull Request resolved: pytorch#3140

pytorch#3120 introduced regression in GPU encoder.

This happened because previously source AVPixelFormat (expected channel order of
input tensor) and AVCodecContext (encoding format) in converter (module to copy
input tensor to buffer), even though converter does not need to konw about the
encoding format.

This commit fixes the issue and make sure that converter does not recieve
codec context.

Reviewed By: nateanl

Differential Revision: D43759162

fbshipit-source-id: c3b2a8b5afad0c8e084a6b58c1c073b487da5f43
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D43759162

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 41e3b93.

@github-actions
Copy link

github-actions bot commented Mar 3, 2023

Hey @None.
You merged this PR, but labels were not properly added. Please add a primary and secondary label (See https://github.com/pytorch/audio/blob/main/.github/process_commit.py)

@mthrok mthrok deleted the export-D43759162 branch March 3, 2023 17:54
mthrok added a commit to mthrok/audio that referenced this pull request Mar 3, 2023
Summary:
Similar to pytorch#3140,
only provide objects which are semantically related to the
operation performed by AudioConverter.

Differential Revision: D43781012

fbshipit-source-id: e60d3afab3cf224aca6140efa5f4e09088e6859f
@mthrok mthrok mentioned this pull request Mar 3, 2023
mthrok added a commit to mthrok/audio that referenced this pull request Mar 3, 2023
Summary:
Similar to pytorch#3140,
only provide objects which are semantically related to the
operation performed by AudioConverter.

Reviewed By: xiaohui-zhang

Differential Revision: D43781012

fbshipit-source-id: b70d76b6886fe59ca21e47c6c8610aac6e96162e
mthrok added a commit to mthrok/audio that referenced this pull request Mar 4, 2023
Summary:
Similar to pytorch#3140,
only provide objects which are semantically related to the
operation performed by AudioConverter.

Differential Revision: D43781012

fbshipit-source-id: e60d3afab3cf224aca6140efa5f4e09088e6859f
facebook-github-bot pushed a commit that referenced this pull request Mar 4, 2023
Summary:
Pull Request resolved: #3143

Similar to #3140,
only provide objects which are semantically related to the
operation performed by AudioConverter.

Reviewed By: xiaohui-zhang

Differential Revision: D43781012

fbshipit-source-id: 4795e20f56272af5cfda8a5f46083e60d1890c3e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants