Unverified Commit 05c8c985 authored by SparkSnail's avatar SparkSnail Committed by GitHub
Browse files

quick fix version check (#866)

parent f370e171
......@@ -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
......
......@@ -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':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment