Starting my first pull request, but transformers tests stall
Hello,I am trying to contribute to the library by fixing a bug that I’ve found some time ago. This is about to be my first PR here, so I am following exactly thecontributing guide. Before making the changes to the current code, I’m running the tests to see how that goes:make testAnd this command takes way too long to be true (on a powerful machine with lots of CPUs and GPUs). In partihular, it hangs completely at some point and does not proceed at all with the recent output messages looking OK. The last message is below, but the tests run in parallel on 48 cores, so this may be useless.[gw0] SKIPPED tests/test_modeling_flax_mbart.py::FlaxMBartModelIntegrationTest::test_batch_generation_en_roIs there a way to see, which test gets stuck? Can I skip it? Could anyone give me a piece of advice on how I should proceed?
2021-11-23T10:21:16Z
You can try to increase the verbosity of the tests with an extravin-vv. E.g.python -m pytest -n auto --dist=loadfile -s -vv ./tests/
2021-11-23T12:59:32Z
You should only test the test files related to your PR and let the CI double-check for you, to go faster.
2021-11-24T09:10:24Z
Thanks to both of you. I shall proceed then without all the tests running on my side.