Skip to content

Commit 09a3b07

Browse files
authored
Update run.sh for JAX example
1 parent 93771ad commit 09a3b07

File tree

1 file changed

+6
-3
lines changed
  • AI-and-Analytics/Getting-Started-Samples/IntelJAX_GettingStarted

1 file changed

+6
-3
lines changed
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
source /opt/intel/oneapi/setvars.sh
2-
source activate tensorflow
3-
python TensorFlow_HelloWorld.py
1+
source $HOME/intel/oneapi/intelpython/bin/activate
2+
conda activate jax
3+
git clone https://github.com/google/jax.git
4+
cd jax
5+
export PYTHONPATH=$PYTHONPATH:$(pwd)
6+
python examples/spmd_mnist_classifier_fromscratch.py

0 commit comments

Comments
 (0)