From 61d7f68e1841db3ba83d6605f9c30ae8663a6b6e Mon Sep 17 00:00:00 2001 From: Nikita Malinin Date: Fri, 12 Apr 2024 13:17:14 +0200 Subject: [PATCH 1/4] Bump transformers version --- tests/post_training/requirements.txt | 2 +- tests/torch/models_hub_test/requirements.txt | 2 +- tests/torch/requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/post_training/requirements.txt b/tests/post_training/requirements.txt index 3b223aff441..7d3665aa086 100644 --- a/tests/post_training/requirements.txt +++ b/tests/post_training/requirements.txt @@ -2,7 +2,7 @@ torch==2.2.1 --extra-index-url https://download.pytorch.org/whl/cpu torchvision==0.17.1 -transformers==4.36.0 +transformers==4.38.0 onnx==1.16.0 onnxruntime==1.17.1 pytest==8.0.2 diff --git a/tests/torch/models_hub_test/requirements.txt b/tests/torch/models_hub_test/requirements.txt index 6e5c5829757..4c9c13dfec6 100644 --- a/tests/torch/models_hub_test/requirements.txt +++ b/tests/torch/models_hub_test/requirements.txt @@ -2,7 +2,7 @@ torch==2.2.1 --extra-index-url https://download.pytorch.org/whl/cpu torchvision==0.17.1 -transformers==4.36.0 +transformers==4.38.0 pytest==8.0.2 timm==0.9.2 scikit-learn==1.2.2 diff --git a/tests/torch/requirements.txt b/tests/torch/requirements.txt index 244e037e95e..587d5b2868b 100644 --- a/tests/torch/requirements.txt +++ b/tests/torch/requirements.txt @@ -8,7 +8,7 @@ pytest-dependency>=0.5.1 virtualenv # Required for search_building_blocks tests -transformers[torch]~=4.36.0 +transformers[torch]~=4.38.0 accelerate==0.24.1 # Required for movement_sparsity tests From 42d68aaf28ac7ac773aecf6d1f3f775157269a1d Mon Sep 17 00:00:00 2001 From: Nikita Malinin Date: Fri, 12 Apr 2024 13:37:03 +0200 Subject: [PATCH 2/4] Bump to 4.39.3 --- tests/post_training/requirements.txt | 2 +- tests/torch/models_hub_test/requirements.txt | 2 +- tests/torch/requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/post_training/requirements.txt b/tests/post_training/requirements.txt index 7d3665aa086..fad65e33612 100644 --- a/tests/post_training/requirements.txt +++ b/tests/post_training/requirements.txt @@ -2,7 +2,7 @@ torch==2.2.1 --extra-index-url https://download.pytorch.org/whl/cpu torchvision==0.17.1 -transformers==4.38.0 +transformers==4.39.3 onnx==1.16.0 onnxruntime==1.17.1 pytest==8.0.2 diff --git a/tests/torch/models_hub_test/requirements.txt b/tests/torch/models_hub_test/requirements.txt index 4c9c13dfec6..5507f858460 100644 --- a/tests/torch/models_hub_test/requirements.txt +++ b/tests/torch/models_hub_test/requirements.txt @@ -2,7 +2,7 @@ torch==2.2.1 --extra-index-url https://download.pytorch.org/whl/cpu torchvision==0.17.1 -transformers==4.38.0 +transformers==4.39.3 pytest==8.0.2 timm==0.9.2 scikit-learn==1.2.2 diff --git a/tests/torch/requirements.txt b/tests/torch/requirements.txt index 587d5b2868b..a3e868c2513 100644 --- a/tests/torch/requirements.txt +++ b/tests/torch/requirements.txt @@ -8,7 +8,7 @@ pytest-dependency>=0.5.1 virtualenv # Required for search_building_blocks tests -transformers[torch]~=4.38.0 +transformers[torch]~=4.39.3 accelerate==0.24.1 # Required for movement_sparsity tests From 3603fb455e888dc4082ab173c954d23a06f2f751 Mon Sep 17 00:00:00 2001 From: Nikita Malinin Date: Fri, 12 Apr 2024 15:13:47 +0200 Subject: [PATCH 3/4] Bump to 4.38.2 --- tests/post_training/requirements.txt | 2 +- tests/torch/models_hub_test/requirements.txt | 2 +- tests/torch/requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/post_training/requirements.txt b/tests/post_training/requirements.txt index fad65e33612..24246bfb2ca 100644 --- a/tests/post_training/requirements.txt +++ b/tests/post_training/requirements.txt @@ -2,7 +2,7 @@ torch==2.2.1 --extra-index-url https://download.pytorch.org/whl/cpu torchvision==0.17.1 -transformers==4.39.3 +transformers==4.38.2 onnx==1.16.0 onnxruntime==1.17.1 pytest==8.0.2 diff --git a/tests/torch/models_hub_test/requirements.txt b/tests/torch/models_hub_test/requirements.txt index 5507f858460..4f1c41ddac4 100644 --- a/tests/torch/models_hub_test/requirements.txt +++ b/tests/torch/models_hub_test/requirements.txt @@ -2,7 +2,7 @@ torch==2.2.1 --extra-index-url https://download.pytorch.org/whl/cpu torchvision==0.17.1 -transformers==4.39.3 +transformers==4.38.2 pytest==8.0.2 timm==0.9.2 scikit-learn==1.2.2 diff --git a/tests/torch/requirements.txt b/tests/torch/requirements.txt index a3e868c2513..944840e7dc8 100644 --- a/tests/torch/requirements.txt +++ b/tests/torch/requirements.txt @@ -8,7 +8,7 @@ pytest-dependency>=0.5.1 virtualenv # Required for search_building_blocks tests -transformers[torch]~=4.39.3 +transformers[torch]~=4.38.2 accelerate==0.24.1 # Required for movement_sparsity tests From 0a009b187a28956d98cc2430f78a90283ce0ea56 Mon Sep 17 00:00:00 2001 From: Nikita Malinin Date: Mon, 15 Apr 2024 10:28:25 +0200 Subject: [PATCH 4/4] Update accelerate to fix the issues --- tests/torch/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/torch/requirements.txt b/tests/torch/requirements.txt index 944840e7dc8..d9a365f3e34 100644 --- a/tests/torch/requirements.txt +++ b/tests/torch/requirements.txt @@ -9,7 +9,7 @@ virtualenv # Required for search_building_blocks tests transformers[torch]~=4.38.2 -accelerate==0.24.1 +accelerate==0.28.0 # Required for movement_sparsity tests datasets~=2.14.0