Skip to content

Commit 85445ef

Browse files
committed
[Build][Ray] Fix protobuf version in Dockerfile
Signed-off-by: MengqingCao <cmq0113@163.com>
1 parent d80b0cc commit 85445ef

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ RUN export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi
5454
python3 -m pip cache purge
5555

5656
# Install modelscope (for fast download) and ray (for multinode)
57-
RUN python3 -m pip install modelscope ray && \
57+
RUN python3 -m pip install modelscope 'ray>=2.47.1' 'protobuf>3.20.0' && \
5858
python3 -m pip cache purge
5959

6060
CMD ["/bin/bash"]

Dockerfile.310p

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ RUN export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi
5555
python3 -m pip cache purge
5656

5757
# Install modelscope (for fast download) and ray (for multinode)
58-
RUN python3 -m pip install modelscope ray && \
58+
RUN python3 -m pip install modelscope 'ray>=2.47.1' 'protobuf>3.20.0' && \
5959
python3 -m pip cache purge
6060

6161
CMD ["/bin/bash"]

Dockerfile.310p.openEuler

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ RUN export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi
5252
python3 -m pip cache purge
5353

5454
# Install modelscope (for fast download) and ray (for multinode)
55-
RUN python3 -m pip install modelscope ray && \
55+
RUN python3 -m pip install modelscope 'ray>=2.47.1' 'protobuf>3.20.0' && \
5656
python3 -m pip cache purge
5757

5858
CMD ["/bin/bash"]

Dockerfile.a3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ RUN export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi
5454
python3 -m pip cache purge
5555

5656
# Install modelscope (for fast download) and ray (for multinode)
57-
RUN python3 -m pip install modelscope ray && \
57+
RUN python3 -m pip install modelscope 'ray>=2.47.1' 'protobuf>3.20.0' && \
5858
python3 -m pip cache purge
5959

6060
CMD ["/bin/bash"]

Dockerfile.a3.openEuler

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ RUN export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi
5151
python3 -m pip cache purge
5252

5353
# Install modelscope (for fast download) and ray (for multinode)
54-
RUN python3 -m pip install modelscope ray && \
54+
RUN python3 -m pip install modelscope 'ray>=2.47.1' 'protobuf>3.20.0' && \
5555
python3 -m pip cache purge
5656

5757
CMD ["/bin/bash"]

Dockerfile.openEuler

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ RUN export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi
5151
python3 -m pip cache purge
5252

5353
# Install modelscope (for fast download) and ray (for multinode)
54-
RUN python3 -m pip install modelscope ray && \
54+
RUN python3 -m pip install modelscope 'ray>=2.47.1' 'protobuf>3.20.0' && \
5555
python3 -m pip cache purge
5656

5757
CMD ["/bin/bash"]

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ pytest-cov
1414
regex
1515
sentence_transformers
1616
ray>=2.47.1
17-
protobuf==4.25.6
17+
protobuf>3.20.0
1818
librosa
1919
soundfile

0 commit comments

Comments
 (0)