Skip to content

Commit 3c766c5

Browse files
author
Tyler Titsworth
authored
r0.3.3 (#4)
2 parents b8db4a1 + 3afd26c commit 3c766c5

17 files changed

+242
-244
lines changed

.github/pull_request_template.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<!-- Explain how the changes have been tested, including the testing environment and any relevant test cases. -->
1616

1717
- [ ] I have tested any changes in container groups locally with `/test-runner/test_runner.py` with all existing tests passing, and I have added new tests where necessary.
18-
- [ ] Automated Validation (Do not edit, check to begin Validation)
19-
20-
command: /test-group group_dir: my-container-group, runner_label: test-runner
18+
19+
### Automated Testing
20+
21+
Leave a PR comment in the following format: `/test-group group_dir: <my-container-group>, runner_label: <my-runner-label>` to run automated tests.

.github/workflows/bandit.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
pull_request_review:
44
types: [submitted]
55

6+
permissions: read-all
7+
68
jobs:
79
scan-bandit:
810
if: github.event.review.state == 'approved'

.github/workflows/checkbox-trigger.yml

-101
This file was deleted.

.github/workflows/container-pipeline-tester.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: Container Pipeline Tester
2+
3+
permissions: read-all
4+
25
on:
36
workflow_dispatch:
47
inputs:
@@ -89,7 +92,7 @@ jobs:
8992
- uses: actions/checkout@v4
9093
- name: Get Recipes
9194
id: recipes
92-
run: echo "RECIPES=$(find ${{ inputs.group_dir }} -type f -name 'tests.yaml' -exec dirname {} \; | awk -F/ '{print $NF}' | jq -R -s -c 'split("\n")[:-1]')" >> $GITHUB_OUTPUT
95+
run: echo "RECIPES=$(find ${{ inputs.group_dir }} -type f -name 'tests.yaml' -exec dirname {} \; | jq -R -s -c 'split("\n")[:-1]')" >> $GITHUB_OUTPUT
9396
test-containers:
9497
needs: [ setup-test ]
9598
if: ${{ needs.setup-test.outputs.recipes != '[]' }}
@@ -111,5 +114,5 @@ jobs:
111114
with:
112115
mlops_repo: ${{ vars.MLOPS_REPO }}
113116
registry: ${{ vars.REGISTRY }}
114-
test_dir: ${{ inputs.group_dir }}/${{ matrix.recipe }}
117+
test_dir: ${{ matrix.recipe }}
115118
token: ${{ github.token }}

.github/workflows/dockerfile-builder.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: Dockerfile Builder
2+
3+
permissions: read-all
4+
25
on:
36
workflow_dispatch:
47

.github/workflows/review-trigger.yml

+16
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@ name: Review Pipeline Validation
33
on:
44
pull_request_review:
55
types: [submitted, edited]
6+
7+
permissions:
8+
actions: read
9+
checks: read
10+
contents: read
11+
deployments: read
12+
discussions: read
13+
id-token: write
14+
issues: read
15+
packages: read
16+
pages: read
17+
pull-requests: write
18+
repository-projects: read
19+
security-events: read
20+
statuses: read
21+
622
jobs:
723
check-review:
824
runs-on: [ k8-runners ]

.github/workflows/serving-mkl-build.yaml

-94
This file was deleted.

.github/workflows/unit-test.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
branches:
55
- develop
66

7+
permissions: read-all
8+
79
jobs:
810
unit-test:
911
runs-on: [ test-runner ]

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Intel® AI Containers
2+
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/8270/badge)](https://www.bestpractices.dev/projects/8270)
23

34
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.
45

File renamed without changes.
+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Unless required by applicable law or agreed to in writing, software
2+
# distributed under the License is distributed on an "AS IS" BASIS,
3+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4+
# See the License for the specific language governing permissions and
5+
# limitations under the License.
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Licensed under the Apache License, Version 2.0 (the "License");
10+
# you may not use this file except in compliance with the License.
11+
# You may obtain a copy of the License at
12+
#
13+
# Copyright (c) 2023 Intel Corporation
14+
#
15+
# -*- coding: utf-8 -*-
16+
#
17+
18+
version: '3'
19+
services:
20+
classical-ml:
21+
build:
22+
args:
23+
BASE_IMAGE: ${BASE_IMAGE:-ubuntu}
24+
BASE_TAG: ${BASE_TAG:-22.04}
25+
DAAL4PY_VERSION: ${DAAL4PY_VERSION:-2024.0.1}
26+
DEVICE: ${DEVICE:-flex}
27+
DPCPP_VER: ${DPCPP_VER:-2024.0.0-49819}
28+
LEVEL_ZERO_DEV_VER: 1.14.0-744~22.04
29+
LEVEL_ZERO_GPU_VER: 1.3.27191.42-775~22.04
30+
LEVEL_ZERO_VER: 1.14.0-744~22.04
31+
ICD_VER: 23.35.27191.42-775~22.04
32+
IDP_VERSION: ${IDP_VERSION:-2024.0.0}
33+
INTEL_CHANNEL: ${INTEL_CHANNEL:-intel}
34+
MINICONDA_VERSION: ${MINICONDA_VERSION:-latest-Linux-x86_64}
35+
MKL_VER: ${MKL_VER:-2024.0.0-49656}
36+
MODIN_VERSION: ${MODIN_VERSION:-0.24.1}
37+
PYTHON_VERSION: ${PYTHON_VERSION:-3.10}
38+
SCIKIT_VERSION: ${SCIKIT_VERSION:-2024.0.1}
39+
XGBOOST_VERSION: ${XGBOOST_VERSION:-1.7.3}
40+
http_proxy: ${http_proxy}
41+
https_proxy: ${https_proxy}
42+
no_proxy: ''
43+
context: .
44+
target: classical-ml-jupyter
45+
command: |
46+
bash -c "conda run -n classical-ml python -c 'import sklearn; import xgboost; print(\"SciKit:\", sklearn.__version__, \" XGBoost:\",xgboost.__version__)' && \
47+
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)'"
48+
image: ${REGISTRY}/aiops/mlops-ci:b-${GITHUB_RUN_NUMBER:-0}-classical-ml-${IDP_VERSION:-2024.0.0}-py${PYTHON_VERSION:-3.10}
49+
devices:
50+
- /dev/dri:/dev/dri
51+
environment:
52+
http_proxy: ${http_proxy}
53+
https_proxy: ${https_proxy}
54+
network_mode: host
55+
shm_size: 12GB
56+
volumes:
57+
- /dev/dri/by-path:/dev/dri/by-path

preset/data-analytics/.actions.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"PYTHON_VERSION": ["3.9", "3.10"],
3+
"experimental": [true]
4+
}

0 commit comments

Comments
 (0)