mirror of
https://github.com/wassname/ray.git
synced 2026-09-12 12:51:15 +08:00
[tune] Cross-Framework Compatibility (#2646)
This commit is a first pass at restructuring the Trial execution logic to support running on multiple frameworks.
This commit is contained in:
@@ -185,7 +185,7 @@ class HyperBandScheduler(FIFOScheduler):
|
||||
raise Exception("Trial with unexpected status encountered")
|
||||
if bracket.continue_trial(t):
|
||||
if t.status == Trial.PAUSED:
|
||||
t.unpause()
|
||||
trial_runner.trial_executor.unpause_trial(t)
|
||||
elif t.status == Trial.RUNNING:
|
||||
action = TrialScheduler.CONTINUE
|
||||
return action
|
||||
|
||||
Reference in New Issue
Block a user