Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

AML config v2 #3552

Merged
merged 6 commits into from
Apr 21, 2021
Merged

AML config v2 #3552

merged 6 commits into from
Apr 21, 2021

Conversation

liuzhe-lz
Copy link
Contributor

No description provided.

@liuzhe-lz liuzhe-lz requested review from SparkSnail and J-shang April 21, 2021 03:30
amlEnvironment.useActiveGpu = this.amlClusterConfig.useActiveGpu;
amlEnvironment.maxTrialNumberPerGpu = this.amlClusterConfig.maxTrialNumPerGpu;
amlEnvironment.useActiveGpu = false;
amlEnvironment.maxTrialNumberPerGpu = 1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why hardcode to 1?

@@ -126,22 +101,24 @@ export class AMLEnvironmentService extends EnvironmentService {
amlEnvironment.command = `mv envs outputs/envs && cd outputs && ${amlEnvironment.command}`;
}
amlEnvironment.command = `import os\nos.system('${amlEnvironment.command}')`;
amlEnvironment.useActiveGpu = this.amlClusterConfig.useActiveGpu;
amlEnvironment.maxTrialNumberPerGpu = this.amlClusterConfig.maxTrialNumPerGpu;
amlEnvironment.useActiveGpu = false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does not support setting useActiveGpu?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need it? I thought this option does not make sense for AML.

@SparkSnail SparkSnail merged commit dc54f4a into microsoft:v2.2 Apr 21, 2021
@liuzhe-lz liuzhe-lz deleted the fixaml branch June 17, 2021 03:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants