authorName: default experimentName: example_mnist trialConcurrency: 1 maxExecDuration: 1h maxTrialNum: 10 #choice: local, remote, pai trainingServicePlatform: remote searchSpacePath: search_space.json #choice: true, false useAnnotation: false tuner: #choice: TPE, Random, Anneal, Evolution, BatchTuner, MetisTuner #SMAC (SMAC should be installed through nnictl) builtinTunerName: TPE classArgs: #choice: maximize, minimize optimize_mode: maximize trial: command: python3 mnist.py codeDir: . gpuNum: 0 #machineList can be empty if the platform is local machineList: - ip: ${replace_to_your_remote_machine_ip} username: ${replace_to_your_remote_machine_username} sshKeyPath: ${replace_to_your_remote_machine_sshKeyPath} # Pre-command will be executed before the remote machine executes other commands. # Below is an example of specifying python environment. # If you want to execute multiple commands, please use "&&" to connect them. # preCommand: source ${replace_to_absolute_path_recommended_here}/bin/activate # preCommand: source ${replace_to_conda_path}/bin/activate ${replace_to_conda_env_name} preCommand: export PATH=${replace_to_python_environment_path_in_your_remote_machine}:$PATH