Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TST Make X-LoRA tests faster (huggingface#2059)
After some recent optimizations, the X-LoRA tests are now the slowest ones. Part of that is that the lora adapters are re-created for each test. By changing the fixture scope, they're now only created once. I think this should be safe, as these files are not modified in the tests. I also enabled test_scalings_logging_methods with the latest transformers to ensure that this test also passes.
- Loading branch information