transformers
5ea23808 - Don't pick torchcodec when it can't load or has no FFmpeg (#50362)

Commit
25 days ago
Don't pick torchcodec when it can't load or has no FFmpeg (#50362) * Don't pick torchcodec when it can't load or has no FFmpeg * Improve tests * Remove pipeline torchcodec tests * Remove LoadAudioTorchcodecUnusableTest * Remove image and video torchcodec wiring tests * Rewrite torchcodec helper tests as one parameterized test * Move torchcodec load-error wrapping into the mock * Shorten is_torchcodec_usable docstring * improve * Don't assume a torch mismatch in the torchcodec load warning * Update tests/utils/test_import_utils.py Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com> * Simplify torchcodec mock: patch the helpers instead of clearing their caches --------- Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com>
Author
Parents
Loading