intel / ai-containers

This repository contains Dockerfiles, scripts, yaml files, Helm charts, etc. used to scale out AI containers with versions of TensorFlow and PyTorch that have been optimized for Intel platforms. Scaling is done with python, Docker, kubernetes, kubeflow, cnvrg.io, Helm, and other container orchestration frameworks for use in the cloud and on-premise
https://intel.github.io/ai-containers/
Apache License 2.0
19 stars 15 forks source link

Intel Python full container fails to build #177

Closed tylertitsworth closed 3 weeks ago

tylertitsworth commented 3 weeks ago

Describe the bug

The package intelpython3_full fails when installing version 2024.2.0. Switching back to 2024.1.0 does not cause this issue, and it appears that the latest version has been added/updated 5 days ago: https://anaconda.org/intel/intelpython3_full/files

Error Logs

=> ERROR [idp idp 4/6] RUN conda run -n idp python -m pip install --no-cache-dir -r idp-requirements.txt                                                                                                                        0.7s
------
 > [idp idp 4/6] RUN conda run -n idp python -m pip install --no-cache-dir -r idp-requirements.txt:
0.590 
0.590 EnvironmentLocationNotFound: Not a conda environment: /opt/conda/envs/idp/envs/idp
0.590 
------

### Remove the failing command

idp-1  | # conda environments:
idp-1  | #
idp-1  |                          /opt/conda
idp-1  | base                     /opt/conda/envs/idp
idp-1 exited with code 0

### This output is incorrect, it should look like

idp-1  | # conda environments:
idp-1  | #
idp-1  | base                     /opt/conda
idp-1  | idp                      /opt/conda/envs/idp
idp-1  | 
idp-1 exited with code 0

Reproduction Instructions

cd python
IDP_VERSION=full docker compose up --build
# comment out lines 75-79
IDP_VERSION=full docker compose up --build
# switch back to last version, uncomment lines 75-79
IDP_VERSION=full==2024.1.0 docker compose up --build

Affected Subfolder

Versions

Docker Compose version v2.26.1