• Alex McKinney's avatar
    Replaces `DIFFUSERS_TEST_DEVICE` backend list with trying device (#4673) · e34d9aa6
    Alex McKinney authored
    This is a better method than comparing against a list of supported backends as it allows for supporting any number of backends provided they are installed on the user's system.
    This should have no effect on the behaviour of tests in Huggingface's CI workers.
    See transformers#25506 where this approach has already been added.
    e34d9aa6
testing_utils.py 23.4 KB