Skip to content

add ffmpeg to Linux CPU and GPU unittest workflows #7295

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 2 commits into from
Feb 21, 2023
Merged

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented Feb 21, 2023

Our current GHA workflows do not build against ffmpeg since it is not installed: https://github.com/pytorch/vision/actions/runs/4206146225/jobs/7299225421#step:10:1868

However, this was the case before when the workflows ran on CircleCI: https://app.circleci.com/pipelines/github/pytorch/vision/22145/workflows/dda25a3d-9c31-4d81-bc5e-c94fbc8d8566/jobs/1790112?invite=true#step-107-74

We specified it with

# 3. Install Conda dependencies
printf "* Installing dependencies (except PyTorch)\n"
FFMPEG_PIN="=4.2"
if [[ "${PYTHON_VERSION}" = "3.9" ]]; then
FFMPEG_PIN=">=4.2"
fi

but something similar is missing from the new GHA workflows. This PR adds it.

cc @seemethere

@@ -39,7 +39,7 @@ jobs:
fi

# Create Conda Env
conda create -yp ci_env python="${PYTHON_VERSION}" numpy libpng jpeg scipy
conda create -yp ci_env python="${PYTHON_VERSION}" numpy libpng jpeg scipy 'ffmpeg<4.3'
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

See #7296 for why we need the <4.3 pin

@pmeier pmeier marked this pull request as ready for review February 21, 2023 10:16
Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

stamping

@pmeier pmeier merged commit 13755c9 into main Feb 21, 2023
@pmeier pmeier deleted the linux-ci-ffmpeg branch February 21, 2023 10:20
@github-actions
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

NicolasHug pushed a commit to NicolasHug/vision that referenced this pull request Feb 24, 2023
facebook-github-bot pushed a commit that referenced this pull request Mar 29, 2023
Reviewed By: vmoens

Differential Revision: D44416636

fbshipit-source-id: a6e58468d2f0d1b093e7468f11d791e137008867
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.

3 participants