Skip to content

Commit c7ec9d4

Browse files
author
Tyler Titsworth
authored
Rebrand to AI Containers (#80)
* remove figlets * update incorrect ipex version * remove unecessary global patch fix * separate install commands
1 parent ccd1169 commit c7ec9d4

File tree

12 files changed

+8
-83
lines changed

12 files changed

+8
-83
lines changed

README.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Intel AI Machine Learning Operations
1+
# Intel® AI Containers
22

33
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.
44

@@ -13,28 +13,17 @@ This repository contains Dockerfiles, scripts, yaml files, Helm charts, etc. use
1313
├── classical-ml
1414
│ ├── Dockerfile
1515
│ ├── README.md
16-
│ ├── base
17-
│ │ └── figlet.txt
1816
│ └── docker-compose.yaml
1917
├── pytorch
2018
│ ├── Dockerfile
2119
│ ├── README.md
22-
│ ├── base
23-
│ │ └── figlet.txt
2420
│ ├── docker-compose.yaml
25-
│ └── inc
26-
│ └── figlet.txt
2721
└── tensorflow
2822
├── Dockerfile
2923
├── README.md
30-
├── base
31-
│ └── figlet.txt
3224
├── docker-compose-serving.yaml
3325
├── docker-compose.yaml
34-
├── inc
35-
│ └── figlet.txt
3626
├── jupyter
37-
│ ├── figlet.txt
3827
│ └── third_party_programs.txt
3928
└── serving
4029
```

classical-ml/Dockerfile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
3737
curl \
3838
wget
3939

40-
COPY base/figlet.txt /fig.txt
41-
42-
RUN echo "cat /fig.txt" >> ~/.bashrc
43-
4440
ARG SCIKIT_VERSION
4541
ARG XGBOOST_VERSION
4642

@@ -103,8 +99,9 @@ RUN ln -sf /root/conda/envs/idp/bin/python /usr/local/bin/python && \
10399

104100
RUN conda install -n idp -y -c intel \
105101
daal4py \
106-
scikit-learn-intelex${SCIKIT_VERSION:+==${SCIKIT_VERSION}} && \
107-
python -m pip install --no-cache-dir \
102+
scikit-learn-intelex${SCIKIT_VERSION:+==${SCIKIT_VERSION}}
103+
104+
RUN python -m pip install --no-cache-dir \
108105
# https://github.com/intel/scikit-learn-intelex/blob/master/requirements-test.txt
109106
numpy==1.23.0 \
110107
threadpoolctl \
@@ -113,4 +110,3 @@ RUN conda install -n idp -y -c intel \
113110

114111
ENV PYTHONSTARTUP=${HOME}/.patch_sklearn.py
115112
COPY base/.patch_sklearn.py ${HOME}/.patch_sklearn.py
116-
RUN python -m sklearnex.glob patch_sklearn

classical-ml/base/figlet.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

pytorch/Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ RUN apt-get update -y && \
4646
wget
4747
# libxml2-dev
4848

49-
COPY base/figlet.txt /fig.txt
50-
51-
RUN echo "cat /fig.txt" >> ~/.bashrc
52-
5349
ARG IPEX_VERSION
5450

5551
RUN mkdir -p /licensing && \
@@ -145,8 +141,6 @@ RUN curl https://raw.githubusercontent.com/oneapi-src/oneCCL/b7d66de16e17f88caff
145141
curl https://raw.githubusercontent.com/intel/neural-compressor/master/docker/third-party-programs-pytorch.txt -o /licensing/third-party-programs-pytorch.txt && \
146142
curl https://raw.githubusercontent.com/intel/neural-compressor/master/LICENSE -o /licensing/LICENSE
147143

148-
COPY inc/figlet.txt /fig.txt
149-
150144
FROM inc AS inc-pip
151145

152146
RUN apt-get install -y --no-install-recommends --fix-missing virtualenv

pytorch/base/figlet.txt

Lines changed: 0 additions & 12 deletions
This file was deleted.

pytorch/docker-compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3'
22
services:
33
ipex-base:
4-
image: ${REGISTRY}/aiops/mlops-ci:b-${GITHUB_RUN_NUMBER:-0}-${BASE_IMAGE_NAME:-ubuntu}-${BASE_IMAGE_TAG:-22.04}-${PACKAGE_OPTION:-pip}-py${PYTHON_VERSION:-3.10}-ipex-${IPEX_VERSION:-1.12.1}-base
4+
image: ${REGISTRY}/aiops/mlops-ci:b-${GITHUB_RUN_NUMBER:-0}-${BASE_IMAGE_NAME:-ubuntu}-${BASE_IMAGE_TAG:-22.04}-${PACKAGE_OPTION:-pip}-py${PYTHON_VERSION:-3.10}-ipex-${IPEX_VERSION:-2.0.0}-base
55
pull_policy: always
66
build:
77
args:
@@ -23,7 +23,7 @@ services:
2323
sh -c "python -c 'import torch; import intel_extension_for_pytorch as ipex; print(\"torch:\", torch.__version__, \" ipex:\",ipex.__version__)'"
2424
2525
inc:
26-
image: ${REGISTRY}/aiops/mlops-ci:b-${GITHUB_RUN_NUMBER:-0}-${BASE_IMAGE_NAME:-ubuntu}-${BASE_IMAGE_TAG:-22.04}-${PACKAGE_OPTION:-pip}-py${PYTHON_VERSION:-3.10}-ipex-${IPEX_VERSION:-1.12.1}-oneccl-inc-${INC_VERSION:-2.1.1}
26+
image: ${REGISTRY}/aiops/mlops-ci:b-${GITHUB_RUN_NUMBER:-0}-${BASE_IMAGE_NAME:-ubuntu}-${BASE_IMAGE_TAG:-22.04}-${PACKAGE_OPTION:-pip}-py${PYTHON_VERSION:-3.10}-ipex-${IPEX_VERSION:-2.0.0}-oneccl-inc-${INC_VERSION:-2.1.1}
2727
build:
2828
args:
2929
INC_VERSION: ${INC_VERSION:-2.1.1}

pytorch/inc/figlet.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

tensorflow/Dockerfile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
4242
curl \
4343
wget
4444

45-
COPY base/figlet.txt /fig.txt
46-
4745
RUN echo "cat /fig.txt" >> ~/.bashrc
4846

4947
ARG TF_PACKAGE
@@ -125,10 +123,6 @@ EXPOSE 8888
125123

126124
RUN python -m ipykernel.kernelspec
127125

128-
ADD jupyter/third_party_programs.txt /licensing/jupyter_third_party_programs.txt
129-
130-
COPY jupyter/figlet.txt /fig.txt
131-
132126
CMD ["bash", "-c", "source /etc/bash.bashrc && jupyter notebook --notebook-dir=${WORKDIR} --ip 0.0.0.0 --no-browser --allow-root"]
133127

134128
FROM tf-base-${PACKAGE_OPTION} AS openmpi
@@ -218,5 +212,3 @@ RUN python -m pip install --no-cache-dir neural-compressor${INC_VER:+==${INC_VER
218212

219213
RUN curl https://raw.githubusercontent.com/intel/neural-compressor/master/docker/third-party-programs-tensorflow.txt -o /licensing/third-party-programs-tensorflow.txt && \
220214
curl https://raw.githubusercontent.com/intel/neural-compressor/v${INC_VER}/LICENSE -o /licensing/INC_LICENSE
221-
222-
COPY inc/figlet.txt /fig.txt

tensorflow/base/figlet.txt

Lines changed: 0 additions & 12 deletions
This file was deleted.

tensorflow/docker-compose-serving.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ services:
1717
TF_SERVING_BAZEL_OPTIONS: ${TF_SERVING_BAZEL_OPTIONS:-'--local_ram_resources=HOST_RAM*0.8 --local_cpu_resources=HOST_CPUS-4'}
1818
TF_SERVING_BUILD_OPTIONS: ${TF_SERVING_BUILD_OPTIONS:-'--config=mkl --config=release --define=build_with_openmp=false --copt=-march=native'}
1919
TF_SERVING_VERSION_GIT_BRANCH: ${TF_SERVING_VERSION}
20+
pull-policy: always
2021

2122
serving-mkl:
2223
image: ${REGISTRY}/aiops/mlops-ci:b-${GITHUB_RUN_NUMBER:-0}-${BASE_IMAGE_NAME:-ubuntu}-${BASE_IMAGE_TAG:-22.04}-${TF_PACKAGE:-intel-tensorflow}-${TF_PACKAGE_VERSION:-2.12.0}-serving-mkl
@@ -29,3 +30,4 @@ services:
2930
TF_SERVING_BUILD: ${BASE_IMAGE_NAME:-ubuntu}:${BASE_IMAGE_TAG:-22.04}
3031
TF_SERVING_VERSION_GIT_COMMIT: ${TF_SERVING_VERSION}
3132
extends: tf-serving
33+
pull-policy: always

0 commit comments

Comments
 (0)