-
Notifications
You must be signed in to change notification settings - Fork 3
/
run_ci_examples.sh
executable file
·19 lines (18 loc) · 1.04 KB
/
run_ci_examples.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
set -e
pushd examples || exit 1
ray stop || true
echo "================"
echo "Running examples"
echo "================"
echo "running basic_example.py" && python basic_example.py --num-cpus 8
# echo "running callbacks_example.py" && python callbacks_example.py --num-cpus 8 # broken with torch 1.11
echo "running checkpoint_example.py" && python checkpoint_example.py --num-cpus 8
echo "running classification_example.py" && python classification_example.py --num-cpus 8
echo "running datasets_example.py" && python datasets_example.py --num-cpus 8
echo "running datasets_pipeline_example.py" && python datasets_pipeline_example.py --num-cpus 8
echo "running prediction_example.py" && python prediction_example.py --num-cpus 8
echo "running readme_example.py" && python readme_example.py --num-cpus 8
echo "running readme_datasets_example.py" && python readme_datasets_example.py --num-cpus 8
echo "running skorch_datasets_example.py" && python skorch_datasets_example.py --num-cpus 8
echo "running tabnet_example.py" && python tabnet_example.py --num-cpus 8
popd