Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use software.repos.intel.com Conda Channel #236

Merged
merged 6 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion preset/classical-ml/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ RUN wget --progress=dot:giga --no-check-certificate https://github.com/conda-for
export PATH="${CONDA_ROOT}/bin/:${PATH}" && \
conda update -y conda && \
conda config --add channels conda-forge && \
conda config --add channels intel && \
conda config --add channels https://software.repos.intel.com/python/conda/ && \
conda init --all && \
conda install -y \
'jupyterlab>=4.1.8' \
Expand Down
2 changes: 1 addition & 1 deletion preset/classical-ml/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
BASE_TAG: ${BASE_TAG:-22.04}
DPNP_VERSION: ${NUMBA_DPEX_VERSION:-0.14.0}
IDP_VERSION: ${IDP_VERSION:-2024.1.0}
INTEL_CHANNEL: ${INTEL_CHANNEL:-intel}
INTEL_CHANNEL: ${INTEL_CHANNEL:-https://software.repos.intel.com/python/conda/}
MINIFORGE_VERSION: ${MINIFORGE_VERSION:-Linux-x86_64}
MODIN_VERSION: ${MODIN_VERSION:-0.26.1}
MPI_VERSION: ${MPI_VERSION:-2021.12.0}
Expand Down
2 changes: 1 addition & 1 deletion preset/data-analytics/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ RUN wget --progress=dot:giga --no-check-certificate "https://github.com/conda-fo
export PATH="${CONDA_ROOT}/bin/:${PATH}" && \
conda update -y conda && \
conda config --add channels conda-forge && \
conda config --add channels intel && \
conda config --add channels https://software.repos.intel.com/python/conda/ && \
conda init --all && \
conda install -y \
'jupyterlab>=4.1.8' \
Expand Down
2 changes: 1 addition & 1 deletion preset/data-analytics/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
BASE_TAG: ${BASE_TAG:-22.04}
DPNP_VERSION: ${NUMBA_DPEX_VERSION:-0.14.0}
IDP_VERSION: ${IDP_VERSION:-2024.1.0}
INTEL_CHANNEL: ${INTEL_CHANNEL:-intel}
INTEL_CHANNEL: ${INTEL_CHANNEL:-https://software.repos.intel.com/python/conda/}
MINIFORGE_VERSION: ${MINIFORGE_VERSION:-Linux-x86_64}
MODIN_VERSION: ${MODIN_VERSION:-0.26.1}
MPI_VERSION: ${MPI_VERSION:-2021.12.0}
Expand Down
10 changes: 5 additions & 5 deletions preset/deep-learning/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ RUN wget --progress=dot:giga --no-check-certificate "https://github.com/conda-fo
export PATH="${CONDA_ROOT}/bin/:${PATH}" && \
conda update -y conda && \
conda config --add channels conda-forge && \
conda config --add channels intel && \
conda config --add channels https://software.repos.intel.com/python/conda/ && \
conda init --all && \
conda install -c conda-forge \
'jupyterlab>=4.1.8' \
Expand Down Expand Up @@ -172,7 +172,7 @@ ARG TORCHAUDIO_CPU_VERSION
ARG DEEPSPEED_VERSION

# PyTorch CPU Env - conda packages
RUN conda create -yn pytorch-cpu -c intel/label/oneapi -c "${INTEL_CHANNEL}" -c conda-forge \
RUN conda create -yn pytorch-cpu -c "${INTEL_CHANNEL}" -c conda-forge \
dpnp="${DPNP_VERSION}" \
numpy="${NUMPY_VERSION}" \
python="${PYTHON_VERSION}" \
Expand Down Expand Up @@ -227,7 +227,7 @@ ARG IDEX_VERSION
ARG DEEPSPEED_VERSION

# PyTorch GPU Env - conda packages
RUN conda create -yn pytorch-gpu -c intel/label/oneapi -c "${INTEL_CHANNEL}" -c conda-forge \
RUN conda create -yn pytorch-gpu -c "${INTEL_CHANNEL}" -c conda-forge \
dpnp="${DPNP_VERSION}" \
dpcpp-cpp-rt="${IDP_VERSION}" \
mkl-dpcpp="${IDP_VERSION}" \
Expand Down Expand Up @@ -429,11 +429,11 @@ ENV UCX_TLS=ud,sm,self

USER dev

RUN conda install -n pytorch-cpu -c intel/label/oneapi -c "${INTEL_CHANNEL}" -c conda-forge \
RUN conda install -n pytorch-cpu -c "${INTEL_CHANNEL}" -c conda-forge \
deepspeed="${DEEPSPEED_VERSION}" \
'tensorboardx>=2.6.2.2'

RUN conda install -n pytorch-gpu -c intel/label/oneapi -c "${INTEL_CHANNEL}" -c conda-forge \
RUN conda install -n pytorch-gpu -c "${INTEL_CHANNEL}" -c conda-forge \
deepspeed="${DEEPSPEED_VERSION}" \
'tensorboardx>=2.6.2.2'

Expand Down
2 changes: 1 addition & 1 deletion preset/deep-learning/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
ICD_VER: 23.43.27642.40-803~22.04
IDP_VERSION: ${IDP_VERSION:-2024.1.0}
IMPI_VERSION: ${IMPI_VERSION:-2021.12}
INTEL_CHANNEL: ${INTEL_CHANNEL:-intel}
INTEL_CHANNEL: ${INTEL_CHANNEL:-https://software.repos.intel.com/python/conda/}
IPEX_CPU_VERSION: ${IPEX_CPU_VERSION:-2.2.0=*cpu*}
IPEX_GPU_VERSION: ${IPEX_GPU_VERSION:-2.1.20=*xpu*}
ITEX_VERSION: ${ITEX_VERSION:-2.15}
Expand Down
2 changes: 1 addition & 1 deletion preset/inference-optimization/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
ICD_VER: 23.43.27642.40-803~22.04
IDP_VERSION: ${IDP_VERSION:-2024.1.0}
IMPI_VERSION: ${IMPI_VERSION:-2021.12}
INTEL_CHANNEL: ${INTEL_CHANNEL:-intel}
INTEL_CHANNEL: ${INTEL_CHANNEL:-https://software.repos.intel.com/python/conda/}
IPEX_CPU_VERSION: ${IPEX_CPU_VERSION:-2.2.0=*cpu*}
IPEX_GPU_VERSION: ${IPEX_GPU_VERSION:-2.1.20=*xpu*}
ITEX_VERSION: ${ITEX_VERSION:-2.15}
Expand Down
2 changes: 1 addition & 1 deletion python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ RUN wget --progress=dot:giga --no-check-certificate "https://github.com/conda-fo
ln -s /opt/conda ~/miniforge3 && \
export PATH="/opt/conda/bin/:${PATH}" && \
conda update -y conda && \
conda config --add channels intel && \
conda config --add channels https://software.repos.intel.com/python/conda/ && \
conda create -yn idp \
"intelpython3_${IDP_VERSION}" \
"python=${PYTHON_VERSION}" && \
Expand Down
3 changes: 2 additions & 1 deletion tensorflow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ RUN no_proxy="" NO_PROXY="" apt-get update && \
ARG TF_VER="2.15.0"

RUN conda install intel-extension-for-tensorflow=${TF_VER}=*xpu* \
-c intel/label/oneapi -c intel -c conda-forge
-c https://software.repos.intel.com/python/conda \
-c conda-forge

ENV LD_LIBRARY_PATH=/opt/conda/envs/idp/lib:$LD_LIBRARY_PATH

Expand Down
Loading