• moto's avatar
    Move FFmpeg integrity test from conda smoke test to custom smoke test (#2381) · 9877f544
    moto authored
    Summary:
    Conda package build performs simple smoke test, which is different
    from smoke_test jobs we define on our CI jobs.
    
    Currently Conda packaging smoke test verifies the imporatability of
    `torchaudio.prototype.io`, which requires FFmpeg 4.
    
    1. We list FFmpeg 4 as runtime requirements, but this means that
    conda's dependency resolver takes FFmpeg 4 into consideration.
    FFmpeg 5 was release this year, and we can expect that user base
    will move to FFmpeg gradually. If user environment has some constraint
    on FFmpeg, torchaudio will have conflict and it will prevent users
    from install torchaudio.
    
    2. In #2377 the way optional dependency is checked/initialized is changed,
    so this Conda smoke test will no longer check the integrity with FFmpeg libraries.
    
    To solve the issues above, this commit moves the part that tests integrity with
    FFmpeg libraries to the smoke test we define on CircleCI.
    
    Pull Request resolved: https://github.com/pytorch/audio/pull/2381
    
    Reviewed By: carolineechen
    
    Differential Revision: D36323706
    
    Pulled By: mthrok
    
    fbshipit-source-id: 57ca816e0f3ad8e16d21e56062f6ed8a09ab93a3
    9877f544
smoke_test.py 453 Bytes