From face3b3676f68127ac797962ecb98a72f97eb6bb Mon Sep 17 00:00:00 2001 From: Logan Adams <114770087+loadams@users.noreply.github.com> Date: Mon, 8 Apr 2024 09:13:36 -0700 Subject: [PATCH] Update pytest and transformers with fixes for pytest>= 8.0.0 (#5164) The underlying issue preventing us from using pytest 8.0.1+ is in transformers. Here is a [PR that fixes the issue](https://github.com/huggingface/transformers/pull/29154) that will need to be merged and then a new release of transformers before we can complete this PR. No impact to nv-nightly, run [here](https://github.com/microsoft/DeepSpeed/actions/runs/8575192380/job/23503659644) Currently errors on nv-inference from [the PR](https://github.com/microsoft/DeepSpeed/actions/runs/8575187611/job/23503647378), but the same tests are broken in [master](https://github.com/microsoft/DeepSpeed/actions/runs/8575185551/job/23503640238). --- requirements/requirements-dev.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements/requirements-dev.txt b/requirements/requirements-dev.txt index dd13ac163517..eb6bfc811e85 100644 --- a/requirements/requirements-dev.txt +++ b/requirements/requirements-dev.txt @@ -6,7 +6,7 @@ future importlib-metadata>=4 mup pre-commit>=2.20.0 -pytest<=8.0.0 +pytest>=7.2.0 pytest-forked pytest-randomly pytest-xdist @@ -16,5 +16,5 @@ sphinx sphinx-rtd-theme tensorboard torchvision -transformers>=4.32.1 +transformers>=4.39.0 wandb