Skip to content

Commit 1ba8c33

Browse files
authored
updated node and mode information in readme for Tensorflow get started (oneapi-src#517)
1 parent 3e09e56 commit 1ba8c33

File tree

1 file changed

+21
-2
lines changed
  • AI-and-Analytics/Getting-Started-Samples/IntelTensorFlow_GettingStarted

1 file changed

+21
-2
lines changed

AI-and-Analytics/Getting-Started-Samples/IntelTensorFlow_GettingStarted/README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,27 @@ Third party program Licenses can be found here: [third-party-programs.txt](https
4141

4242
## Build and Run the Sample
4343

44-
### Running Samples In DevCloud (Optional)
45-
If running a sample in the Intel DevCloud, please follow the below steps to build the python environment. Also, remember that you must specify the compute node (CPU, GPU, FPGA) and whether to run in batch or interactive mode. For more information, see the [Intel® oneAPI Base Toolkit Get Started Guide](https://devcloud.intel.com/oneapi/get-started/base-toolkit/)
44+
<!---Include the next paragraph ONLY if the sample runs in batch mode-->
45+
### Run in Batch Mode
46+
This sample runs in batch mode, so you must have a script for batch processing. Once you have a script set up, refer to the [Tensorflow Hello World](https://github.com/oneapi-src/oneAPI-samples/blob/master/AI-and-Analytics/Getting-Started-Samples/IntelTensorFlow_GettingStarted/README.md) instructions to run the sample.
47+
48+
<!---Include the next paragraph ONLY if the sample DOES NOT RUN in batch mode-->
49+
### Run in Interactive Mode
50+
This sample runs in interactive mode. Follow the directions in the README.md for the sample you want to run. If the sample can be run in interactive mode, the sample will have directions on how to run the sample in a Jupyter Notebook. An example can be found in the [Intel&reg; Modin Getting Started](https://github.com/oneapi-src/oneAPI-samples/tree/master/AI-and-Analytics/Getting-Started-Samples/IntelModin_GettingStarted) sample.
51+
52+
### Request a Compute Node
53+
In order to run on the DevCloud, you need to request a compute node using node properties such as: `gpu`, `xeon`, `fpga_compile`, `fpga_runtime` and others. For more information about the node properties, execute the `pbsnodes` command.
54+
This node information must be provided when submitting a job to run your sample in batch mode using the qsub command. When you see the qsub command in the Run section of the [Hello World instructions](https://devcloud.intel.com/oneapi/get_started/aiAnalyticsToolkitSamples/), change the command to fit the node you are using. Nodes which are in bold indicate they are compatible with this sample:
55+
56+
<!---Mark each compatible Node in BOLD-->
57+
| Node | Command |
58+
| ----------------- | ------------------------------------------------------- |
59+
| GPU | qsub -l nodes=1:gpu:ppn=2 -d . hello-world.sh |
60+
| CPU | qsub -l nodes=1:xeon:ppn=2 -d . hello-world.sh |
61+
| FPGA Compile Time | qsub -l nodes=1:fpga\_compile:ppn=2 -d . hello-world.sh |
62+
| FPGA Runtime | qsub -l nodes=1:fpga\_runtime:ppn=2 -d . hello-world.sh |
63+
64+
4665

4766
### Pre-requirement
4867

0 commit comments

Comments
 (0)