"docker/vscode:/vscode.git/clone" did not exist on "d019acb858a2575ab6cfcc61943a3d28f180b305"
-
Alex McKinney authored
* Adds `TRANSFORMERS_TEST_BACKEND` Allows specifying arbitrary additional import following first `import torch`. This is useful for some custom backends, that will require additional imports to trigger backend registration with upstream torch. See https://github.com/pytorch/benchmark/pull/1805 for a similar change in `torchbench`. * Update src/transformers/testing_utils.py Co-authored-by:
Yih-Dar <2521628+ydshieh@users.noreply.github.com> * Adds real backend example to documentation --------- Co-authored-by:
Yih-Dar <2521628+ydshieh@users.noreply.github.com>
5eeaef92