Skip to content

Commit 176dd02

Browse files
macszbmyrcha
authored andcommitted
Update DyNAS-T to 1.6 (#1292)
Signed-off-by: Maciej Szankin <maciej.szankin@intel.com> Signed-off-by: bmyrcha <bartosz.myrcha@intel.com>
1 parent 7288ed2 commit 176dd02

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.azure-pipelines/scripts/ut/env_setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pip install horovod
8484
if [[ $(echo "${test_case}" | grep -c "others") != 0 ]];then
8585
pip install tf_slim xgboost accelerate==0.21.0
8686
elif [[ $(echo "${test_case}" | grep -c "nas") != 0 ]]; then
87-
pip install dynast==1.5.1
87+
pip install dynast==1.6.0rc1
8888
elif [[ $(echo "${test_case}" | grep -c "tf pruning") != 0 ]]; then
8989
pip install tensorflow-addons
9090
fi

.azure-pipelines/scripts/ut/run_basic_api.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
python -c "import neural_compressor as nc;print(nc.version.__version__)"
3-
test_case="run basic quantization/benchmark/export/mixed_precision/distillation/scheduler"
3+
test_case="run basic quantization/benchmark/export/mixed_precision/distillation/scheduler/nas"
44
echo "${test_case}"
55

66
echo "specify fwk version..."
@@ -17,7 +17,7 @@ find ./export* -name "test*.py" | sed 's,\.\/,coverage run --source='"${lpot_pat
1717
find ./mixed_precision* -name "test*.py" | sed 's,\.\/,coverage run --source='"${lpot_path}"' --append ,g' | sed 's/$/ --verbose/'>> run.sh
1818
find ./distillation -name "test*.py" | sed 's,\.\/,coverage run --source='"${lpot_path}"' --append ,g' | sed 's/$/ --verbose/'>> run.sh
1919
find ./scheduler -name "test*.py" | sed 's,\.\/,coverage run --source='"${lpot_path}"' --append ,g' | sed 's/$/ --verbose/'>> run.sh
20-
# find ./nas -name "test*.py" | sed 's,\.\/,coverage run --source='"${lpot_path}"' --append ,g' | sed 's/$/ --verbose/'>> run.sh
20+
find ./nas -name "test*.py" | sed 's,\.\/,coverage run --source='"${lpot_path}"' --append ,g' | sed 's/$/ --verbose/'>> run.sh
2121

2222
LOG_DIR=/neural-compressor/log_dir
2323
mkdir -p ${LOG_DIR}

.azure-pipelines/scripts/ut/run_basic_others.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ sed -i '/ distillation\//d' run.sh
2626
sed -i '/ scheduler\//d' run.sh
2727
sed -i '/ nas\//d' run.sh
2828

29-
#echo "copy model for dynas..."
30-
#mkdir -p .torch/ofa_nets || true
31-
#cp -r /tf_dataset/ut-localfile/ofa_mbv3_d234_e346_k357_w1.2 .torch/ofa_nets || true
29+
echo "copy model for dynas..."
30+
mkdir -p .torch/ofa_nets || true
31+
cp -r /tf_dataset/ut-localfile/ofa_mbv3_d234_e346_k357_w1.2 .torch/ofa_nets || true
3232

3333
LOG_DIR=/neural-compressor/log_dir
3434
mkdir -p ${LOG_DIR}

test/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--find-links https://download.pytorch.org/whl/torch_stable.html
22
accelerate==0.21.0
3-
dynast==1.5.1
3+
dynast==1.6.0rc1
44
horovod
55
intel-extension-for-pytorch
66
intel-tensorflow>=2.12.0

0 commit comments

Comments
 (0)