This is an automated email from the ASF dual-hosted git repository.

damccorm pushed a commit to branch users/damccorm/pinTransformers
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 0be2c7cb4be7b493af05dce5ab9b39178fd846a2
Author: Danny McCormick <dannymccorm...@google.com>
AuthorDate: Fri Jul 28 11:06:07 2023 -0400

    Pin to specific transformers version
---
 sdks/python/apache_beam/ml/inference/huggingface_tests_requirements.txt | 2 +-
 sdks/python/apache_beam/ml/inference/torch_tests_requirements.txt       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/sdks/python/apache_beam/ml/inference/huggingface_tests_requirements.txt 
b/sdks/python/apache_beam/ml/inference/huggingface_tests_requirements.txt
index 09c1fa8ca90..adb4816cab6 100644
--- a/sdks/python/apache_beam/ml/inference/huggingface_tests_requirements.txt
+++ b/sdks/python/apache_beam/ml/inference/huggingface_tests_requirements.txt
@@ -16,5 +16,5 @@
 #
 
 torch>=1.7.1
-transformers>=4.18.0
+transformers==4.30.0
 tensorflow>=2.12.0
\ No newline at end of file
diff --git a/sdks/python/apache_beam/ml/inference/torch_tests_requirements.txt 
b/sdks/python/apache_beam/ml/inference/torch_tests_requirements.txt
index 790f015f9b2..fe10a3008d2 100644
--- a/sdks/python/apache_beam/ml/inference/torch_tests_requirements.txt
+++ b/sdks/python/apache_beam/ml/inference/torch_tests_requirements.txt
@@ -18,4 +18,4 @@
 torch>=1.7.1
 torchvision>=0.8.2
 pillow>=8.0.0
-transformers>=4.18.0
+transformers==4.30.0

Reply via email to