Skip to content

Commit 19fd070

Browse files
authored
Fix a few Pip dependency version mismatches (#435)
* Fix a few Pip dependency version mismatches Signed-off-by: Abolfazl Shahbazi <[email protected]> * Update oneCCL for Python 3.8 as well Signed-off-by: Abolfazl Shahbazi <[email protected]> --------- Signed-off-by: Abolfazl Shahbazi <[email protected]>
1 parent 9b6b4e4 commit 19fd070

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ ARG PYTHON=python3
114114
ARG HOROVOD_WITH_PYTORCH=1
115115
ARG HOROVOD_WITHOUT_MXNET=1
116116
ARG HOROVOD_WITH_TENSORFLOW=1
117-
ARG HOROVOD_VERSION=0.28.0
117+
ARG HOROVOD_VERSION=0.28.1
118118

119119
RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
120120
build-essential \
@@ -128,7 +128,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
128128

129129
RUN python -m pip install --no-cache-dir horovod==${HOROVOD_VERSION}
130130

131-
ARG ONECCL_VERSION=1.13.0
131+
ARG ONECCL_VERSION=2.0.0
132132
ARG ONECCL_URL=https://developer.intel.com/ipex-whl-stable-cpu
133133

134134
RUN python -m pip install --no-cache-dir oneccl_bind_pt==${ONECCL_VERSION} -f ${ONECCL_URL}

docker/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ services:
3131
service: tlt-prod
3232
build:
3333
args:
34-
HOROVOD_VERSION: 0.28.0
34+
HOROVOD_VERSION: 0.28.1
3535
ONECCL_VERSION: 2.0.0
3636
ONECCL_URL: https://developer.intel.com/ipex-whl-stable-cpu
3737
target: tlt-dist-devel

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def get_framework_requirements(framework_name):
6161
EXTRA_PACKAGES['pytorch'] + \
6262
EXTRA_PACKAGES['tensorflow'],
6363
extras_require=EXTRA_PACKAGES,
64-
python_requires=">3.8",
64+
python_requires=">=3.8",
6565
entry_points={
6666
"console_scripts": [
6767
"tlt = tlt.tools.cli.main:cli_group"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
horovod[mpi,pytorch]==0.28.1
2-
oneccl-bind-pt @ https://intel-extension-for-pytorch.s3.amazonaws.com/torch_ccl/cpu/oneccl_bind_pt-1.13.0%2Bcpu-cp310-cp310-linux_x86_64.whl; python_version=='3.10'
3-
oneccl-bind-pt @ https://intel-extension-for-pytorch.s3.amazonaws.com/torch_ccl/cpu/oneccl_bind_pt-1.13.0%2Bcpu-cp38-cp38-linux_x86_64.whl; python_version=='3.8'
4-
oneccl-bind-pt @ https://intel-extension-for-pytorch.s3.amazonaws.com/torch_ccl/cpu/oneccl_bind_pt-1.13.0%2Bcpu-cp39-cp39-linux_x86_64.whl; python_version=='3.9'
2+
oneccl-bind-pt @ https://intel-extension-for-pytorch.s3.amazonaws.com/torch_ccl/cpu/oneccl_bind_pt-2.0.0%2Bcpu-cp38-cp38-linux_x86_64.whl#sha256=ef7bf156d6d29b7cc64c807a7c7f2ce0ad793c4da4acd65c2db959ea63845b0e; python_version=='3.8'
3+
oneccl-bind-pt @ https://intel-extension-for-pytorch.s3.amazonaws.com/torch_ccl/cpu/oneccl_bind_pt-2.0.0%2Bcpu-cp310-cp310-linux_x86_64.whl#sha256=982641f099e39c0ea5b8ea03860bb2d852e91b953cf7deba3719ff69e4a9857b; python_version=='3.10'
4+
oneccl-bind-pt @ https://intel-extension-for-pytorch.s3.amazonaws.com/torch_ccl/cpu/oneccl_bind_pt-2.0.0%2Bcpu-cp39-cp39-linux_x86_64.whl#sha256=165c2d5525cf18390f8636fb18ee174b74ad7e785de5a000a9c63008e50f2182; python_version=='3.9'

0 commit comments

Comments
 (0)