"src/diffusers/models/modeling_utils.py" did not exist on "ef2ea33c3bc061fffa8bc4ccd640306ca1a1847d"
Commit 10dcfc70 authored by moto's avatar moto Committed by Facebook GitHub Bot
Browse files

Build ffmpeg-features on Conda binary dist (#2120)

Summary:
This commit enable ffmpeg-feature build on conda-based binary distribution on Linux and macOS.

It adds `ffmpeg` as build-time dependencies and enable the build with `BUILD_FFMPEG=1`.

Windows binaries, wheel-based binaries on Linux/macOS are not changed.

Pull Request resolved: https://github.com/pytorch/audio/pull/2120

Reviewed By: nateanl

Differential Revision: D33397473

Pulled By: mthrok

fbshipit-source-id: 67a23a40c0614c56fee60cc06a45f3265037f6df
parent 8b9be421
...@@ -14,5 +14,5 @@ if [ "${USE_CUDA}" == "1" ] ; then ...@@ -14,5 +14,5 @@ if [ "${USE_CUDA}" == "1" ] ; then
fi fi
fi fi
shopt -u nocasematch shopt -u nocasematch
export BUILD_FFMPEG=1
python setup.py install --single-version-externally-managed --record=record.txt python setup.py install --single-version-externally-managed --record=record.txt
...@@ -21,6 +21,7 @@ requirements: ...@@ -21,6 +21,7 @@ requirements:
{{ environ.get('CONDA_PYTORCH_BUILD_CONSTRAINT', 'pytorch') }} {{ environ.get('CONDA_PYTORCH_BUILD_CONSTRAINT', 'pytorch') }}
{{ environ.get('CONDA_EXTRA_BUILD_CONSTRAINT', '') }} {{ environ.get('CONDA_EXTRA_BUILD_CONSTRAINT', '') }}
{{ environ.get('CONDA_CUDATOOLKIT_CONSTRAINT', '') }} {{ environ.get('CONDA_CUDATOOLKIT_CONSTRAINT', '') }}
- ffmpeg >=4.1 # [not win]
run: run:
- python - python
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment