Skip to content

Commit

Permalink
quick fix version check (microsoft#866)
Browse files Browse the repository at this point in the history
  • Loading branch information
SparkSnail authored Mar 18, 2019
1 parent f370e17 commit 05c8c98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/en_US/ExperimentConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ machineList:
* __debug__
* Description
NNI will check the version of nniManager process and the version of trialKeeper in remote, pai and kubernetes platform. If you want to disable version check, you could set debug be false.
NNI will check the version of nniManager process and the version of trialKeeper in remote, pai and kubernetes platform. If you want to disable version check, you could set debug be true.
* __maxTrialNum__
* Description
Expand Down
3 changes: 2 additions & 1 deletion tools/nni_cmd/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,9 @@ def set_experiment(experiment_config, mode, port, config_file_name):
request_data['tuner'] = experiment_config['tuner']
if 'assessor' in experiment_config:
request_data['assessor'] = experiment_config['assessor']
#debug mode should disable version check
if experiment_config.get('debug') is not None:
request_data['versionCheck'] = experiment_config.get('debug')
request_data['versionCheck'] = not experiment_config.get('debug')

request_data['clusterMetaData'] = []
if experiment_config['trainingServicePlatform'] == 'local':
Expand Down

0 comments on commit 05c8c98

Please sign in to comment.