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: AI-and-Analytics/Getting-Started-Samples/Intel_Extension_For_TensorFlow_GettingStarted/README.md
+8-12
Original file line number
Diff line number
Diff line change
@@ -1,36 +1,33 @@
1
1
# Intel Extension for TensorFlow Getting Started Sample
2
-
This code sample will guide users how to run a tensorflow inference workload on both GPU and CPU by using oneAPI AI Analytics Toolkit and also analyze the GPU and CPU usage via oneDNN verbose logs
2
+
This code sample will guide users how to run a tensorflow inference workload on both GPU and CPU by using Intel® AI Tools and also analyze the GPU and CPU usage via oneDNN verbose logs
3
3
4
4
## Purpose
5
-
- Guide users how to use different conda environments in oneAPI AI Analytics Toolkit to run TensorFlow workloads on both CPU and GPU
5
+
- Guide users how to use different conda environments in Intel® AI Tools to run TensorFlow workloads on both CPU and GPU
6
6
- Guide users how to validate the GPU or CPU usages for TensorFlow workloads on Intel CPU or GPU
7
7
8
8
9
9
## Key implementation details
10
-
1. leverage the [resnet50 inference sample](https://github.com/intel/intel-extension-for-tensorflow/tree/main/examples/infer_resnet50) from intel-extension-for-tensorflow
10
+
1. leverage the [resnet50 inference sample](https://github.com/intel/intel-extension-for-tensorflow/tree/main/examples/infer_resnet50) from intel-extension-for-tensorflow
11
11
2. use the resnet50v1.5 pretrained model from TensorFlow Hub
12
12
3. infernece with images in intel caffe github
13
13
4. guide users how to use different conda environment to run on Intel CPU and GPU
14
14
5. analyze oneDNN verbose logs to validate GPU or CPU usage
15
15
16
-
## Running Samples on the Intel® DevCloud
17
-
If you are running this sample on the DevCloud, skip the Pre-requirements and go to the [Activate Conda Environment](#activate-conda) section.
18
-
19
16
## Pre-requirements (Local or Remote Host Installation)
20
17
21
-
TensorFlow* is ready for use once you finish the Intel® AI Analytics Toolkit (AI Kit) installation and have run the post installation script.
18
+
TensorFlow* is ready for use once you finish the Intel® AI Tools installation and have run the post installation script.
22
19
23
-
You can refer to the oneAPI [main page](https://software.intel.com/en-us/oneapi) for toolkit installation and the Toolkit [Intel® AI Analytics Toolkit Get Started Guide for Linux](https://software.intel.com/en-us/get-started-with-intel-oneapi-linux-get-started-with-the-intel-ai-analytics-toolkit) for post-installation steps and scripts.
20
+
TensorFlow* is ready for use once you finish the Intel AI Tools installation. You can refer to the oneAPI [product page](https://software.intel.com/en-us/oneapi) for tools installation and the *[Get Started with the Intel® AI Tools for Linux*](https://software.intel.com/en-us/get-started-with-intel-oneapi-linux-get-started-with-the-intel-ai-analytics-toolkit)* for post-installation steps and scripts.
24
21
25
22
## Environment Setup
26
23
This sample requires two additional pip packages: tensorflow_hub and ipykerenl.
27
24
Therefore users need to clone the tensorflow conda environment into users' home folder and install those additional packages accordingly.
28
25
Please follow bellow steps to setup GPU environment.
6. Register the kernel to Jupyter NB: ``` $~/.conda/envs/user-tensorflow-gpu/bin/python -m ipykernel install --user --name=user-tensorflow-gpu ```
36
33
@@ -40,9 +37,8 @@ In the end, you will have two new conda environments which are user-tensorflow-g
40
37
## How to Build and Run
41
38
42
39
You can run the Jupyter notebook with the sample code on your local
43
-
server or download the sample code from the notebook as a Python file and run it locally or on the Intel DevCloud.
40
+
server or download the sample code from the notebook as a Python file and run it locally.
44
41
45
-
**Note:** You can run this sample on the Intel DevCloud using the Dask and OmniSci engine backends for Modin. To learn how to set the engine backend for Intel Distribution of Modin, visit the [Intel® Distribution of Modin Getting Started Guide](https://www.intel.com/content/www/us/en/developer/articles/technical/intel-distribution-of-modin-getting-started-guide.html). The Ray backend cannot be used on Intel DevCloud at this time. Thank you for your patience.
46
42
47
43
### Run the Sample in Jupyter Notebook<aname="run-as-jupyter-notebook"></a>
0 commit comments