-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Add recently-idle environment scheduler in reuse mode #3375
Conversation
Merge master
add internal prefix for internal storage methods for clear usage. fix pylint errors minor fixes
rename methods of storageService move trial to a seperated file fix some bugs.
fix openPAI breaking changes
fix minor bugs
to router training service for better understanding.
merge master
trialService is used to support different submission types like AML.
merge master
TrialDispatcher is easier to understand it's purpose.
merge master
merge master
merge master
merge master
merge master
Merge master
merge master
merge master
merge master
merge master
merge master
merge master
merge master
merge master
merge master
please fix the lint |
@@ -30,7 +30,7 @@ export class GpuScheduler { | |||
|
|||
// private readonly machineExecutorMap: Set<TrialDetail>; | |||
private readonly log: Logger = getLogger(); | |||
private readonly policyName: SCHEDULE_POLICY_NAME = 'round-robin'; | |||
private readonly policyName: SCHEDULE_POLICY_NAME = 'recently-idle'; |
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.
is it possible that only apply this policy for aml training service?
if (selectedEnvironment === undefined) { | ||
return this.roundRobinSelect(qualifiedEnvironments, allEnvironments); | ||
} | ||
selectedEnvironment.latestTrialReleasedTime = -1; |
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.
BTW, one environment only runs one trial at a time?
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.
if it is, then policy looks good. if not, one environment can run two trials concurrently, then this policy becomes round robin
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.
It could run multiple trial at one environment, why it will become round-robin?
fixed. |
No description provided.