You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: python/README.md
+28
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
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
4
5
+
Intel® Distribution for Python* is also available for Intel® dGPUs, that includes the latest driver packages and Intel® OneAPI runtime libraries that enables Machine Learning frameworks leverage the XPU device plugin.
6
+
5
7
## Images
6
8
7
9
The images below include variations for only the core packages in the [Intel® Distribution for Python*] installation, or all of the packages.
@@ -10,6 +12,7 @@ The images below include variations for only the core packages in the [Intel® D
10
12
| ---------------------- | ---------- |
11
13
|`3.10-full`, `latest`|`2024.2.0`|
12
14
|`3.10-core`|`2024.2.0`|
15
+
|`3.10-xpu-idp`|`2024.2.1`|
13
16
14
17
## Run a Performance Sample
15
18
@@ -38,6 +41,19 @@ pip install numpy
38
41
python /tests/perf_sample.py
39
42
```
40
43
44
+
### Run a Sanity test using the XPU variant
45
+
46
+
Use the following command to check the availability of Intel dGPU devices on your system and the presence of Intel® OneAPI runtime libraries.
47
+
48
+
```bash
49
+
# Use the working directory from the first command
50
+
docker run --rm -it \
51
+
-v $PWD/tests:/tests \
52
+
--device /dev/dri \
53
+
intel/python:3.10-xpu-idp \
54
+
bash /tests/xpu_base_layers_test.sh
55
+
```
56
+
41
57
## Build from Source (Advanced)
42
58
43
59
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:
@@ -48,12 +64,21 @@ docker compose build idp
48
64
docker compose run idp
49
65
```
50
66
67
+
To build the xpu variant of the image, run the following commands:
68
+
69
+
```bash
70
+
cd python
71
+
docker compose build xpu
72
+
docker compose run xpu
73
+
```
74
+
51
75
You can find the list of services below for each container in the group:
0 commit comments