From 5e79a9f180140c47adfe22010ad28591f877ef30 Mon Sep 17 00:00:00 2001 From: Lonnie Liu Date: Wed, 21 Jun 2023 12:42:58 +0000 Subject: [PATCH 1/6] [tune] Pin tensorboardX below 2.6.1 due to protobuf compatibility issue. Signed-off-by: Lonnie Liu --- python/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/requirements.txt b/python/requirements.txt index d976fcd9f096..03bbebdc91b3 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -53,7 +53,7 @@ scikit-image prometheus_client>=0.7.1 requests pandas -tensorboardX>=1.9 +tensorboardX<2.6.1,>=1.9 # tensorboardX 2.6.1 starts using protobuf>=4 gymnasium==0.26.3 grpcio<=1.50.0,>=1.42.0 # ray client aiohttp>=3.7 From 554b2a25bcc05918e2be1f2475168feb67f5a117 Mon Sep 17 00:00:00 2001 From: Lonnie Liu Date: Wed, 21 Jun 2023 13:01:11 +0000 Subject: [PATCH 2/6] upgrade tensorboardX ? Signed-off-by: Lonnie Liu --- python/requirements.txt | 2 +- python/requirements/ml/requirements_train.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/requirements.txt b/python/requirements.txt index 03bbebdc91b3..09a25d69f7a9 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -53,7 +53,7 @@ scikit-image prometheus_client>=0.7.1 requests pandas -tensorboardX<2.6.1,>=1.9 # tensorboardX 2.6.1 starts using protobuf>=4 +tensorboardX>=2.6.1 gymnasium==0.26.3 grpcio<=1.50.0,>=1.42.0 # ray client aiohttp>=3.7 diff --git a/python/requirements/ml/requirements_train.txt b/python/requirements/ml/requirements_train.txt index 4a6ac751c621..b36972c0b2be 100644 --- a/python/requirements/ml/requirements_train.txt +++ b/python/requirements/ml/requirements_train.txt @@ -4,7 +4,7 @@ mlflow==1.30.0; python_version <= '3.7' mlflow==2.4.1; python_version > '3.7' -tensorboardX==2.4.1 +tensorboardX==2.6.1 # Dependencies for Hugging Face examples & tests: # `python/ray/train/examples/transformers/transformers_example.py` From 67ef67e2245142035ef8a1653eeeabbf19d3fae6 Mon Sep 17 00:00:00 2001 From: Lonnie Liu Date: Wed, 21 Jun 2023 13:34:10 +0000 Subject: [PATCH 3/6] upgrade test dependency Signed-off-by: Lonnie Liu --- python/requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/requirements_test.txt b/python/requirements_test.txt index 2a17ed2e7eb9..fb353f164495 100644 --- a/python/requirements_test.txt +++ b/python/requirements_test.txt @@ -96,7 +96,7 @@ importlib-metadata==4.10.0 # Some packages have downstream dependencies that we have to specify here to resolve conflicts. # Feel free to add (or remove!) packages here liberally. -tensorboardX==2.4.1 +tensorboardX==2.6.1 starlette==0.17.1 h11==0.12.0 markdown-it-py==1.1.0 From bb49007c604182a52d42f120bfb74ee725a9bbb4 Mon Sep 17 00:00:00 2001 From: Lonnie Liu Date: Wed, 21 Jun 2023 19:40:16 +0000 Subject: [PATCH 4/6] try 2.6.0 Signed-off-by: Lonnie Liu --- python/requirements.txt | 2 +- python/requirements/ml/requirements_train.txt | 2 +- python/requirements_test.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python/requirements.txt b/python/requirements.txt index 09a25d69f7a9..a00f8a8e79b7 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -53,7 +53,7 @@ scikit-image prometheus_client>=0.7.1 requests pandas -tensorboardX>=2.6.1 +tensorboardX<=2.6.0,>=1.9 gymnasium==0.26.3 grpcio<=1.50.0,>=1.42.0 # ray client aiohttp>=3.7 diff --git a/python/requirements/ml/requirements_train.txt b/python/requirements/ml/requirements_train.txt index b36972c0b2be..9ced832dc787 100644 --- a/python/requirements/ml/requirements_train.txt +++ b/python/requirements/ml/requirements_train.txt @@ -4,7 +4,7 @@ mlflow==1.30.0; python_version <= '3.7' mlflow==2.4.1; python_version > '3.7' -tensorboardX==2.6.1 +tensorboardX==2.6.0 # Dependencies for Hugging Face examples & tests: # `python/ray/train/examples/transformers/transformers_example.py` diff --git a/python/requirements_test.txt b/python/requirements_test.txt index fb353f164495..0dcfb240d35a 100644 --- a/python/requirements_test.txt +++ b/python/requirements_test.txt @@ -96,7 +96,7 @@ importlib-metadata==4.10.0 # Some packages have downstream dependencies that we have to specify here to resolve conflicts. # Feel free to add (or remove!) packages here liberally. -tensorboardX==2.6.1 +tensorboardX==2.6.0 starlette==0.17.1 h11==0.12.0 markdown-it-py==1.1.0 From 3fab03386350e3fa717bfdb7c8afbd73b058ab93 Mon Sep 17 00:00:00 2001 From: Lonnie Liu Date: Wed, 21 Jun 2023 20:38:08 +0000 Subject: [PATCH 5/6] add comment about why the pinning Signed-off-by: Lonnie Liu --- python/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/requirements.txt b/python/requirements.txt index a00f8a8e79b7..972ba28b0c0b 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -53,7 +53,7 @@ scikit-image prometheus_client>=0.7.1 requests pandas -tensorboardX<=2.6.0,>=1.9 +tensorboardX<=2.6.0,>=1.9 # >=2.6.1 uses protobuf>=4, and conficts with other packages. gymnasium==0.26.3 grpcio<=1.50.0,>=1.42.0 # ray client aiohttp>=3.7 From 5558b4740203573874a8c09aa40940d780d21afc Mon Sep 17 00:00:00 2001 From: Lonnie Liu Date: Wed, 21 Jun 2023 20:39:23 +0000 Subject: [PATCH 6/6] fix typo in comment Signed-off-by: Lonnie Liu --- python/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/requirements.txt b/python/requirements.txt index 972ba28b0c0b..e04d5847ac42 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -53,7 +53,7 @@ scikit-image prometheus_client>=0.7.1 requests pandas -tensorboardX<=2.6.0,>=1.9 # >=2.6.1 uses protobuf>=4, and conficts with other packages. +tensorboardX<=2.6.0,>=1.9 # >=2.6.1 uses protobuf>=4, and conflicts with other packages. gymnasium==0.26.3 grpcio<=1.50.0,>=1.42.0 # ray client aiohttp>=3.7