Skip to content

Commit a439203

Browse files
ma-pinedaTyler Titsworthpre-commit-ci[bot]
authored
Fix tpp pins and add labels (#167)
Signed-off-by: ma-pineda <miguel.pineda.juarez@intel.com> Signed-off-by: Tyler Titsworth <tyler.titsworth@intel.com> Co-authored-by: Tyler Titsworth <tyler.titsworth@intel.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 43f0d16 commit a439203

19 files changed

+501
-119
lines changed

.github/dependabot.yml

+8
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,11 @@ updates:
7979
package-ecosystem: pip
8080
schedule:
8181
interval: weekly
82+
- directory: /preset
83+
groups:
84+
preset:
85+
patterns:
86+
- "*requirements.txt"
87+
package-ecosystem: pip
88+
schedule:
89+
interval: weekly

docs/matrix.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
{{ read_csv('assets/max-pvc.csv') }}
2424

2525
=== "[Preset Containers](https://github.com/intel/ai-containers/blob/main/preset/README.md)"
26-
=== "Data Analytics"
26+
=== "[Data Analytics](https://hub.docker.com/r/intel/data-analytics)"
2727
{{ read_csv('assets/data_analytics.csv') }}
28-
=== "Classical ML"
28+
=== "[Classical ML](https://hub.docker.com/r/intel/classical-ml)"
2929
{{ read_csv('assets/classical_ml.csv') }}
30-
=== "Deep Learning"
30+
=== "[Deep Learning](https://hub.docker.com/r/intel/deep-learning)"
3131
{{ read_csv('assets/deep_learning.csv') }}
32-
=== "Inference Optimization"
32+
=== "[Inference Optimization](https://hub.docker.com/r/intel/inference-optimization)"
3333
{{ read_csv('assets/inference_optimization.csv') }}
3434

3535
=== "[Workflows](https://hub.docker.com/r/intel/ai-workflows)"

docs/scripts/hook.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ def create_support_matrix():
3636
compose_to_csv("classical-ml", None)
3737

3838
# get_repo(models)
39-
# compose_to_csv("preset/data-analytics", "data_analytics")
40-
# compose_to_csv("preset/classical-ml", "classical_ml")
41-
# compose_to_csv("preset/deep-learning", "deep_learning")
42-
# compose_to_csv("preset/inference-optimization", "inference_optimization")
39+
compose_to_csv("preset/data-analytics", "data_analytics")
40+
compose_to_csv("preset/classical-ml", "classical_ml")
41+
compose_to_csv("preset/deep-learning", "deep_learning")
42+
compose_to_csv("preset/inference-optimization", "inference_optimization")
4343
compose_to_csv("workflows/charts/huggingface-llm", "genai")
4444

4545

preset/classical-ml/.actions.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"PYTHON_VERSION": ["3.9", "3.10"],
33
"experimental": [true],
4-
"RELEASE": ["2024.1.0"],
54
"runner_label": ["PVC"]
65
}

preset/classical-ml/Dockerfile

+14-14
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ RUN wget --progress=dot:giga --no-check-certificate https://github.com/conda-for
6767
conda config --add channels intel && \
6868
conda init --all && \
6969
conda install -y \
70-
jupyterlab \
71-
notebook \
72-
jupyterhub \
73-
jupyter-server-proxy \
70+
'jupyterlab>=4.1.8' \
71+
'notebook>=7.1.3' \
72+
'jupyterhub>=4.1.5' \
73+
'jupyter-server-proxy>=4.1.2' \
7474
'mako>=1.2.2' \
7575
'pyjwt>=2.4.0' \
7676
'cryptography>=42.0.5' \
@@ -99,15 +99,15 @@ RUN conda create -yn classical-ml -c ${INTEL_CHANNEL} -c conda-forge \
9999
scikit-learn-intelex==${SKLEARNEX_VERSION} \
100100
xgboost=${XGBOOST_VERSION} \
101101
modin-ray=${MODIN_VERSION} \
102-
python-dotenv \
103-
tqdm \
104-
matplotlib-base \
105-
dataset_librarian \
106-
threadpoolctl \
107-
ipython \
108-
ipykernel \
109-
kernda \
110-
protobuf=4.24 \
102+
'python-dotenv>=1.0.1' \
103+
'tqdm>=4.66.2' \
104+
'matplotlib-base>=3.4.3' \
105+
'dataset_librarian>=1.0.4' \
106+
'threadpoolctl>=3.3.0' \
107+
'ipython>=8.18.1' \
108+
'ipykernel>=6.29.3' \
109+
'kernda>=0.3.0' \
110+
'protobuf>=4.24' \
111111
'pillow>=10.2.0' \
112112
'tornado>=6.3.3' && \
113113
conda clean -y --all
@@ -116,7 +116,7 @@ RUN conda create -yn classical-ml -c ${INTEL_CHANNEL} -c conda-forge \
116116

117117
# PyPI packages
118118
RUN conda run -n classical-ml python -m pip install --no-deps --no-cache-dir \
119-
cloud-data-connector
119+
'cloud-data-connector==1.0.3'
120120

121121

122122
ENV PYTHONSTARTUP=~/.patch_sklearn.py

preset/classical-ml/docker-compose.yaml

+49-1
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,59 @@ services:
3737
https_proxy: ${https_proxy}
3838
no_proxy: ''
3939
context: .
40+
labels:
41+
docs: classical_ml
42+
org.opencontainers.image.title: "Intel® AI Tools Selector Preset Containers - Classical ML"
43+
org.opencontainers.base.name: "ubuntu:22.04"
44+
org.opencontainers.image.name: "intel/classical-ml"
45+
org.opencontainers.image.version: 2024.1.0-py${PYTHON_VERSION:-3.10}
46+
dependency.python: ${PYTHON_VERSION:-3.10}
47+
dependency.python.pip: requirements.txt
48+
dependency.apt.bzip2: true
49+
dependency.apt.ca-certificates: true
50+
dependency.apt.diffutils: true
51+
dependency.apt.gcc: true
52+
dependency.apt.git: true
53+
dependency.apt.gzip: true
54+
dependency.apt.make: true
55+
dependency.apt.patch: true
56+
dependency.apt.rsync: true
57+
dependency.apt.unzip: true
58+
dependency.apt.wget: true
59+
dependency.apt.xz-utils: true
60+
dependency.conda.jupyterlab: '>=4.1.8'
61+
dependency.conda.notebook: '>=7.1.3'
62+
dependency.conda.jupyterhub: '>=4.1.5'
63+
dependency.conda.jupyter-server-proxy: '>=4.1.2'
64+
dependency.conda.mako: '>=1.2.2'
65+
dependency.conda.pyjwt: '>=2.4.0'
66+
dependency.conda.cryptography: '>=42.0.5'
67+
dependency.conda.nodejs: '>=20.12.2'
68+
dependency.conda.aiohttp: '>=3.9.4'
69+
dependency.conda.idna: '>=3.7'
70+
dependency.conda.oauthlib: '>=3.2.2'
71+
dependency.conda.dpnp: '>=0.14.0'
72+
dependency.conda.numpy: '>=1.26.4'
73+
dependency.conda.python: "=${PYTHON_VERSION:-3.10}"
74+
dependency.conda.scikit-learn-intelex: '>=2024.2.0'
75+
dependency.conda.xgboost: '>=2.0.3'
76+
dependency.conda.modin-ray: '>=0.26.1'
77+
dependency.conda.python-dotenv: '>=1.0.1'
78+
dependency.conda.tqdm: '>=4.66.2'
79+
dependency.conda.matplotlib-base: '>=3.4.3'
80+
dependency.conda.dataset_librarian: '>=1.0.4'
81+
dependency.conda.threadpoolctl: '>=3.3.0'
82+
dependency.conda.ipython: '>=8.18.1'
83+
dependency.conda.ipykernel: '>=6.29.3'
84+
dependency.conda.kernda: '>=0.3.0'
85+
dependency.conda.protobuf: '>=4.24'
86+
dependency.conda.pillow: '>=10.2.0'
87+
dependency.conda.tornado: '>=6.3.3'
4088
target: classical-ml-jupyter
4189
command: |
4290
bash -c "conda run -n classical-ml python -c 'import sklearn; import xgboost; print(\"SciKit:\", sklearn.__version__, \" XGBoost:\",xgboost.__version__)' && \
4391
conda run -n classical-ml python -c 'import modin.pandas as pd, modin.config as cfg; cfg.Engine.put(\"Ray\"); df = pd.DataFrame([1]);print(df+1)'"
44-
image: ${REGISTRY}/${REPO}:b-${GITHUB_RUN_NUMBER:-0}-classical-ml-${IDP_VERSION:-2024.1.0}-py${PYTHON_VERSION:-3.10}
92+
image: ${REGISTRY}/${REPO}:b-${GITHUB_RUN_NUMBER:-0}-classical-ml-2024.1.0-py${PYTHON_VERSION:-3.10}
4593
environment:
4694
http_proxy: ${http_proxy}
4795
https_proxy: ${https_proxy}

preset/classical-ml/requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cloud-data-connector==1.0.3

preset/data-analytics/.actions.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"PYTHON_VERSION": ["3.9", "3.10"],
33
"experimental": [true],
4-
"RELEASE": ["2024.1.0"],
54
"runner_label": ["PVC"]
65
}

preset/data-analytics/Dockerfile

+15-15
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,16 @@ RUN wget --progress=dot:giga --no-check-certificate "https://github.com/conda-fo
6868
conda config --add channels intel && \
6969
conda init --all && \
7070
conda install -y \
71-
jupyterlab \
72-
notebook \
73-
jupyterhub \
74-
jupyter-server-proxy \
71+
'jupyterlab>=4.1.8' \
72+
'notebook>=7.1.3' \
73+
'jupyterhub>=4.1.5' \
74+
'jupyter-server-proxy>=4.1.2' \
7575
'mako>=1.2.2' \
7676
'pyjwt>=2.4.0' \
7777
'cryptography>=42.0.5' \
78+
'nodejs>=20.12.2' \
7879
'idna>=3.7' \
7980
'tqdm>=4.66.2' \
80-
'nodejs>=20.12.2' \
8181
&& \
8282
jupyter labextension disable "@jupyterlab/apputils-extension:announcements" && \
8383
conda clean -y --all
@@ -95,22 +95,22 @@ RUN conda create -yn data-analytics -c "${INTEL_CHANNEL}" -c conda-forge \
9595
numpy="${NUMPY_VERSION}" \
9696
python="${PYTHON_VERSION}" \
9797
modin-ray="${MODIN_VERSION}" \
98-
python-dotenv \
99-
tqdm \
100-
matplotlib-base \
101-
dataset_librarian \
102-
threadpoolctl \
103-
ipython \
104-
ipykernel \
105-
kernda \
106-
protobuf=4.24 \
98+
'python-dotenv>=1.0.1' \
99+
'tqdm>=4.66.2' \
100+
'matplotlib-base>=3.4.3' \
101+
'dataset_librarian>=1.0.4' \
102+
'threadpoolctl>=3.3.0' \
103+
'ipython>=8.18.1' \
104+
'ipykernel>=6.29.3' \
105+
'kernda>=0.3.0' \
106+
'protobuf>=4.24.4' \
107107
'pillow>=10.2.0' \
108108
'idna>=3.7' \
109109
'tornado>=6.3.3' && \
110110
conda clean -y --all
111111

112112
RUN conda run -n data-analytics python -m pip install --no-deps --no-cache-dir \
113-
cloud-data-connector
113+
'cloud-data-connector==1.0.3'
114114

115115
FROM data-analytics-python as data-analytics-jupyter
116116

preset/data-analytics/docker-compose.yaml

+46-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
version: '3'
1919
services:
20-
classical-ml:
20+
data-analytics:
2121
build:
2222
args:
2323
BASE_IMAGE: ${BASE_IMAGE:-ubuntu}
@@ -35,10 +35,54 @@ services:
3535
https_proxy: ${https_proxy}
3636
no_proxy: ''
3737
context: .
38+
labels:
39+
docs: data_analytics
40+
org.opencontainers.image.title: "Intel® AI Tools Selector Preset Containers - Data Analytics"
41+
org.opencontainers.base.name: "ubuntu:22.04"
42+
org.opencontainers.image.name: "intel/data-analytics"
43+
org.opencontainers.image.version: 2024.1.0-py${PYTHON_VERSION:-3.10}
44+
dependency.python: ${PYTHON_VERSION:-3.10}
45+
dependency.python.pip: requirements.txt
46+
dependency.apt.bzip2: true
47+
dependency.apt.ca-certificates: true
48+
dependency.apt.diffutils: true
49+
dependency.apt.gcc: true
50+
dependency.apt.git: true
51+
dependency.apt.gzip: true
52+
dependency.apt.make: true
53+
dependency.apt.patch: true
54+
dependency.apt.rsync: true
55+
dependency.apt.unzip: true
56+
dependency.apt.wget: true
57+
dependency.apt.xz-utils: true
58+
dependency.conda.jupyterlab: '>=4.1.8'
59+
dependency.conda.notebook: '>=7.1.3'
60+
dependency.conda.jupyterhub: '>=4.1.5'
61+
dependency.conda.jupyter-server-proxy: '>=4.1.2'
62+
dependency.conda.mako: '>=1.2.2'
63+
dependency.conda.pyjwt: '>=2.4.0'
64+
dependency.conda.cryptography: '>=42.0.5'
65+
dependency.conda.nodejs: '>=20.12.2'
66+
dependency.conda.idna: '>=3.7'
67+
dependency.conda.tqdm: '>=4.66.2'
68+
dependency.conda.dpnp: '>=0.14.0'
69+
dependency.conda.numpy: '>=1.26.4'
70+
dependency.conda.python: "=${PYTHON_VERSION:-3.10}"
71+
dependency.conda.modin-ray: '>=0.26.1'
72+
dependency.conda.python-dotenv: '>=1.0.1'
73+
dependency.conda.matplotlib-base: '>=3.4.3'
74+
dependency.conda.dataset_librarian: '>=1.0.4'
75+
dependency.conda.threadpoolctl: '>=3.3.0'
76+
dependency.conda.ipython: '>=8.18.1'
77+
dependency.conda.ipykernel: '>=6.29.3'
78+
dependency.conda.kernda: '>=0.3.0'
79+
dependency.conda.protobuf: '>=4.24.4'
80+
dependency.conda.pillow: '>=10.2.0'
81+
dependency.conda.tornado: '>=6.3.3'
3882
target: data-analytics-jupyter
3983
command: >
4084
bash -c "conda run -n data-analytics python -c 'import modin.pandas as pd, modin.config as cfg; cfg.Engine.put(\"Ray\"); df = pd.DataFrame([1]);print(df+1)'"
41-
image: ${REGISTRY}/${REPO}:b-${GITHUB_RUN_NUMBER:-0}-data-analytics-${IDP_VERSION:-2024.1.0}-py${PYTHON_VERSION:-3.10}
85+
image: ${REGISTRY}/${REPO}:b-${GITHUB_RUN_NUMBER:-0}-data-analytics-2024.1.0-py${PYTHON_VERSION:-3.10}
4286
environment:
4387
http_proxy: ${http_proxy}
4488
https_proxy: ${https_proxy}
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cloud-data-connector==1.0.3

preset/deep-learning/.actions.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"PYTHON_VERSION": ["3.9", "3.10"],
33
"experimental": [true],
4-
"RELEASE": ["2024.1.0"],
54
"runner_label": ["PVC"]
65
}

0 commit comments

Comments
 (0)