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/IntelPyTorch_GettingStarted/README.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# `PyTorch HelloWorld` Sample
2
-
PyTorch* is a very popular framework for deep learning. Intel and Facebook* collaborate to boost PyTorch* CPU Performance for years. The official PyTorch has been optimized using oneAPI Deep Neural Network Library (oneDNN) primitives by default. This sample demonstrates how to train a PyTorch model and shows how Intel-optimized PyTorch* enables Intel® Deep Neural Network Library (Intel® DNNL) calls by default.
2
+
PyTorch* is a very popular framework for deep learning. Intel and Facebook* collaborate to boost PyTorch* CPU Performance for years. The official PyTorch has been optimized using oneAPI Deep Neural Network Library (oneDNN) primitives by default. This sample demonstrates how to train a PyTorch model and shows how Intel-optimized PyTorch* enables Intel® Deep Neural Network Library (Intel® DNNL) calls by default.
3
3
4
4
| Optimized for | Description
5
5
|:--- |:---
@@ -15,7 +15,7 @@ This sample code shows how to get started with Intel Optimization for PyTorch. I
15
15
Intel-optimized PyTorch* is available as part of Intel® AI Analytics Toolkit. For more information on the optimizations as well as performance data, see this blog post http://software.intel.com/en-us/articles/intel-and-facebook-collaborate-to-boost-pytorch-cpu-performance.
16
16
17
17
## Key implementation details
18
-
This Hello World sample code is implemented for CPU using the Python language.
18
+
This Hello World sample code is implemented for CPU using the Python language.
19
19
20
20
*Please***export the environment variable `DNNL_VERBOSE=1`***to display the deep learning primitives trace during execution.*
21
21
@@ -59,10 +59,10 @@ Third party program Licenses can be found here: [third-party-programs.txt](https
59
59
```
60
60
conda activate user_pytorch
61
61
```
62
-
62
+
63
63
4. Navigate to the directory with the TensorFlow sample:
64
64
```
65
-
cd ~/oneAPI-samples/AI-and-Analytics/Getting-StartedSamples/IntelPyTorch_GettingStarted
65
+
cd ~/oneAPI-samples/AI-and-Analytics/Getting-Started-Samples/IntelPyTorch_GettingStarted
66
66
```
67
67
68
68
5. Run the Python script
@@ -81,7 +81,7 @@ Third party program Licenses can be found here: [third-party-programs.txt](https
81
81
Please find more information about the mkldnn log [here](https://oneapi-src.github.io/oneDNN/dev_guide_verbose.html).
82
82
83
83
## Example of Output
84
-
With successful execution, it will print out `[CODE_SAMPLE_COMPLETED_SUCCESSFULLY]` in the terminal.
84
+
With successful execution, it will print out `[CODE_SAMPLE_COMPLETED_SUCCESSFULLY]` in the terminal.
85
85
86
86
87
87
## Running The Sample In DevCloud (Optional)
@@ -92,7 +92,7 @@ Please refer to [using samples in DevCloud](https://github.com/intel-ai-tce/oneA
92
92
93
93
1. Navigate to the directory with the TensorFlow sample:
94
94
```
95
-
cd ~/oneAPI-samples/AI-and-Analytics/Getting-StartedSamples/IntelPyTorch_GettingStarted
95
+
cd ~/oneAPI-samples/AI-and-Analytics/Getting-Started-Samples/IntelPyTorch_GettingStarted
96
96
```
97
97
2. submit this "IntelPyTorch_GettingStarted" workload on the selected node with the run script.
0 commit comments