-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Add IT case: customized-tuners-demotuner #2859
Conversation
test/config/integration_tests.yml
Outdated
# nni customized-tuners test | ||
######################################################################### | ||
- name: customized-tuners-demotuner | ||
configFile: test/config/customized_tuners/demotuner-sklearn-classification.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing end of line.
- script: | | ||
cd examples/tuners/customized_tuner | ||
python3 setup.py develop | ||
nnictl package install ./ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please set PATH like PATH=$HOME/.local/bin:$PATH nnictl package install --name=SMAC
and add set -e
at beginning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, I will modify them.
@@ -29,6 +29,12 @@ jobs: | |||
PATH=$HOME/.local/bin:$PATH nnictl package install --name=BOHB | |||
displayName: 'Install dependencies for integration tests in PAI mode' | |||
|
|||
- script: | | |||
cd examples/tuners/customized_tuner |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
paiYarn is obsolete, please remove this change.
66a77f8
to
e205b06
Compare
- script: | | ||
set -e | ||
cd examples/tuners/customized_tuner | ||
python3 setup.py develop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check this error log: https://msrasrg.visualstudio.com/NNIOpenSource/_build/results?buildId=14256&view=logs&j=75aeeae9-dab9-55a1-b144-0ab48bfd0d00&t=3f120a8d-7233-5989-6cfa-cd23207edde0
It seems you need to add --user
here
e205b06
to
e68e69d
Compare
Add IT case to test user installed builtin tuner.