mirror of
https://github.com/wassname/ray.git
synced 2026-07-09 02:10:13 +08:00
[Tune] Mlflow Integration (#12840)
Co-authored-by: Kai Fricke <krfricke@users.noreply.github.com> Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
This commit is contained in:
@@ -509,8 +509,9 @@ class FunctionRunner(Trainable):
|
||||
try:
|
||||
err_tb_str = self._error_queue.get(
|
||||
block=block, timeout=ERROR_FETCH_TIMEOUT)
|
||||
raise TuneError(("Trial raised an exception. Traceback:\n{}"
|
||||
.format(err_tb_str)))
|
||||
raise TuneError(
|
||||
("Trial raised an exception. Traceback:\n{}".format(err_tb_str)
|
||||
))
|
||||
except queue.Empty:
|
||||
pass
|
||||
|
||||
@@ -649,6 +650,10 @@ def with_parameters(fn, **kwargs):
|
||||
def _inner(config):
|
||||
inner(config, checkpoint_dir=None)
|
||||
|
||||
if hasattr(fn, "__mixins__"):
|
||||
_inner.__mixins__ = fn.__mixins__
|
||||
return _inner
|
||||
|
||||
if hasattr(fn, "__mixins__"):
|
||||
inner.__mixins__ = fn.__mixins__
|
||||
return inner
|
||||
|
||||
Reference in New Issue
Block a user