Skip to content

Commit ef5c102

Browse files
author
Tyler Titsworth
authored
Merge branch 'main' into tylertitsworth/tf-serving-chart
2 parents cc0c463 + 536e096 commit ef5c102

8 files changed

+45
-20
lines changed

.github/workflows/container-ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
- name: Cleanup
156156
if: always()
157157
run: docker rmi -f ${{ secrets.REGISTRY }}/${{ secrets.REPO }}:${{ matrix.container }}
158-
- uses: github/codeql-action/upload-sarif@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5
158+
- uses: github/codeql-action/upload-sarif@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6
159159
with:
160160
sarif_file: '${{ matrix.container }}-scan.sarif'
161161
category: '${{ matrix.container }}'

.github/workflows/docs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
egress-policy: audit
3838
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
39-
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
39+
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
4040
with:
4141
python-version: 3.8
4242
cache: pip

.github/workflows/scorecard.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ jobs:
4848
results_format: sarif
4949
repo_token: ${{ secrets.GITHUB_TOKEN }}
5050
publish_results: true
51-
- uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
51+
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
5252
with:
5353
name: SARIF file
5454
path: results.sarif
5555
retention-days: 5
56-
- uses: github/codeql-action/upload-sarif@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5
56+
- uses: github/codeql-action/upload-sarif@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6
5757
with:
5858
sarif_file: results.sarif

.github/workflows/security-report.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
sarifReportDir: ${{ github.workspace }}
3636
template: report
3737
token: ${{ secrets.GITHUB_TOKEN }}
38-
- uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
38+
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
3939
with:
4040
name: Security Report Summary
4141
path: ./*.pdf

.github/workflows/test-runner-ci.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
registry: ${{ secrets.REGISTRY }}
4646
username: ${{ secrets.REGISTRY_USER }}
4747
password: ${{ secrets.REGISTRY_TOKEN }}
48-
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
48+
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
4949
with:
5050
python-version: ${{ matrix.python }}
5151
- name: Install requirements
@@ -88,7 +88,7 @@ jobs:
8888
registry: ${{ secrets.REGISTRY }}
8989
username: ${{ secrets.REGISTRY_USER }}
9090
password: ${{ secrets.REGISTRY_TOKEN }}
91-
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
91+
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
9292
with:
9393
python-version: "3.8"
9494
- name: Test Container Group

classical-ml/jupyter-requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
jupyterlab==4.2.4
1+
jupyterlab==4.2.5
22
jupyterhub==5.1.0
3-
notebook==7.2.1
3+
notebook==7.2.2
44
jupyter-server-proxy>=4.1.2

docs/requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
mkdocs-callouts>=1.13.2
22
mkdocs-git-authors-plugin>=0.8.0
33
mkdocs-git-revision-date-localized-plugin>=1.2.5
4-
mkdocs-material==9.5.33
4+
mkdocs-material==9.5.34
55
mkdocs-table-reader-plugin>=2.1.0
6-
mkdocs==1.6.0
6+
mkdocs==1.6.1
77
pandas>=2.0.3
88
pymdown-extensions>=10.8.1
99
python_on_whales>=0.71.0

python/README.md

+34-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,44 @@
1-
# Intel® Distribution for Python
1+
# Intel® Distribution for Python*
22

3-
[Intel® Distribution for Python] enhances performance and can improve your program speed from 10 to 100 times faster. It is a Python distribution that includes the [Intel® Math Kernel Library] (oneMKL) and other Intel performance libraries to enable near-native performance through acceleration of core numerical and machine learning packages.
4-
5-
[Intel® Distribution for Python] is available as part of the [Intel® oneAPI Base Toolkit](https://software.intel.com/content/www/us/en/develop/tools/oneapi/base-toolkit.html).
3+
[Intel® Distribution for Python*] enhances performance and can improve your program speed from 10 to 100 times faster. It is a Python* distribution that includes the [Intel® Math Kernel Library] (oneMKL) and other Intel performance libraries to enable near-native performance through acceleration of core numerical and machine learning packages.
64

75
## Images
86

9-
The images below include variations for only the core packages in the [Intel® Distribution for Python] installation, or all of the packages.
7+
The images below include variations for only the core packages in the [Intel® Distribution for Python*] installation, or all of the packages.
108

119
| Tag(s) | IDP |
1210
| ---------------------- | ---------- |
1311
| `3.10-full`, `latest` | `2024.2.0` |
1412
| `3.10-core` | `2024.2.0` |
1513

16-
## Build from Source
14+
## Run a Performance Sample
15+
16+
To run a performance sample run the following commands:
17+
18+
```bash
19+
git clone https://github.com/intel/ai-containers
20+
cd ai-containers/python
21+
docker run --rm -it \
22+
-v $PWD/tests:/tests \
23+
intel/python:latest \
24+
python /tests/perf_sample.py
25+
```
26+
27+
### Compare the results against stock python
28+
29+
In the previous command, you should see a result at the bottom like: `Time Consuming: 0.03897857666015625`. We can compare this against `python:3.11-slim-bullseye`
30+
31+
```bash
32+
# Use the working directory from the above command
33+
docker run --rm -it \
34+
-v $PWD/tests:/tests \
35+
python:3.11-slim-bullseye \
36+
bash
37+
pip install numpy
38+
python /tests/perf_sample.py
39+
```
40+
41+
## Build from Source (Advanced)
1742

1843
To build the images from source, clone the [AI Containers](https://github.com/intel/ai-containers) repository, follow the main `README.md` file to setup your environment, and run the following command:
1944

@@ -27,8 +52,8 @@ You can find the list of services below for each container in the group:
2752

2853
| Service Name | Description |
2954
| ------------ | ------------------------------------------------------------------- |
30-
| `idp` | Base image with [Intel® Distribution for Python] |
31-
| `pip` | Equivalent python image without [Intel® Distribution for Python] |
55+
| `idp` | Base image with [Intel® Distribution for Python*] |
56+
| `pip` | Equivalent python image without [Intel® Distribution for Python*] |
3257

3358
## License
3459

@@ -40,5 +65,5 @@ It is the image user's responsibility to ensure that any use of The images below
4065

4166
<!--Below are links used in these document. They are not rendered: -->
4267

43-
[Intel® Distribution for Python]: https://www.intel.com/content/www/us/en/developer/tools/oneapi/distribution-for-python.html#gs.9bos9m
68+
[Intel® Distribution for Python*]: https://www.intel.com/content/www/us/en/developer/tools/oneapi/distribution-for-python.html#gs.9bos9m
4469
[Intel® Math Kernel Library]: https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl.html

0 commit comments

Comments
 (0)