mirror of
https://github.com/wassname/ray.git
synced 2026-08-02 13:01:01 +08:00
[tune] Remove TF MNIST example + add TrialRunner hook to execut… (#5868)
* remove test * add trial runner * remvoerestore * Remove other mnist examples * tunetest * revert * v1 * Revert "v1" This reverts commit c8bddaf2db7a8270c43c02021cac0e75df15ed20. * Revert "revert" This reverts commit b58f56884a0c288d3a6f997d149ab4d496ddd7a3. * errors * format
This commit is contained in:
@@ -523,7 +523,7 @@ class RayTrialExecutor(TrialExecutor):
|
||||
else:
|
||||
return "? CPUs, ? GPUs"
|
||||
|
||||
def on_step_begin(self):
|
||||
def on_step_begin(self, trial_runner):
|
||||
"""Before step() called, update the available resources."""
|
||||
self._update_avail_resources()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user