Skip to content

Conversation

ahmadsharif1
Copy link
Contributor

Summary:
Add a device type to the SimpleVideoDecoder constructor that defaults to the CPU device.

Use 1 CPU FFMPEG thread when using CUDA decoding because it seems to hurt performance to use multiple threads.

We could expose thread_count in SimpleVideoDecoder in a subsequent diff if need be.

Differential Revision: D60676983

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 2, 2024
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

ahmadsharif1 added a commit to ahmadsharif1/torchcodec that referenced this pull request Aug 2, 2024
Summary:
Pull Request resolved: meta-pytorch#146

Add a device type to the SimpleVideoDecoder constructor that defaults to the CPU device.

Use 1 CPU FFMPEG thread when using CUDA decoding because it seems to hurt performance to use multiple threads.

We could expose thread_count in SimpleVideoDecoder in a subsequent diff if need be.

Differential Revision: D60676983
@facebook-github-bot
Copy link
Contributor

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

ahmadsharif1 added a commit to ahmadsharif1/torchcodec that referenced this pull request Aug 2, 2024
Summary:
Pull Request resolved: meta-pytorch#146

Add a device type to the SimpleVideoDecoder constructor that defaults to the CPU device.

Use 1 CPU FFMPEG thread when using CUDA decoding because it seems to hurt performance to use multiple threads.

We could expose thread_count in SimpleVideoDecoder in a subsequent diff if need be.

Differential Revision: D60676983
@facebook-github-bot
Copy link
Contributor

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

ahmadsharif1 added a commit to ahmadsharif1/torchcodec that referenced this pull request Aug 2, 2024
Summary:
Pull Request resolved: meta-pytorch#146

Add a device type to the SimpleVideoDecoder constructor that defaults to the CPU device.

Use 1 CPU FFMPEG thread when using CUDA decoding because it seems to hurt performance to use multiple threads.

We could expose thread_count in SimpleVideoDecoder in a subsequent diff if need be.

Differential Revision: D60676983
@facebook-github-bot
Copy link
Contributor

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

ahmadsharif1 added a commit to ahmadsharif1/torchcodec that referenced this pull request Aug 2, 2024
Summary:
Pull Request resolved: meta-pytorch#146

Add a device type to the SimpleVideoDecoder constructor that defaults to the CPU device.

Use 1 CPU FFMPEG thread when using CUDA decoding because it seems to hurt performance to use multiple threads.

We could expose thread_count in SimpleVideoDecoder in a subsequent diff if need be.

Reviewed By: scotts

Differential Revision: D60676983
Summary:
Pull Request resolved: meta-pytorch#146

Add a device type to the SimpleVideoDecoder constructor that defaults to the CPU device.

Use 1 CPU FFMPEG thread when using CUDA decoding because it seems to hurt performance to use multiple threads.

We could expose thread_count in SimpleVideoDecoder in a subsequent diff if need be.

Reviewed By: scotts

Differential Revision: D60676983
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in ec5e63a.

NicolasHug added a commit to NicolasHug/torchcodec that referenced this pull request Aug 8, 2024
ahmadsharif1 added a commit that referenced this pull request Aug 15, 2024
NicolasHug added a commit to NicolasHug/torchcodec that referenced this pull request Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants