# ImplicitFunc error with Ray tune

**URL:** <https://discuss.ray.io/t/implicitfunc-error-with-ray-tune/203>\
**Category:** Ray Tune\
**Created:** [December 11, 2020, 3:49pm UTC](https://discuss.ray.io/t/implicitfunc-error-with-ray-tune/203 "2020-12-11T15:49:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![meechos](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/meechos/32/127_2.png) [@meechos](https://discuss.ray.io/u/meechos)\
**Post date:** [December 11, 2020, 3:49pm UTC](https://discuss.ray.io/t/implicitfunc-error-with-ray-tune/203/1 "2020-12-11T15:49:04Z")

</div>

I have been getting this error during training with pbt. Not sure what the errorlog relates to so any support would be great.

```auto
Traceback (most recent call last):
  File "/home/cdsw/.local/lib/python3.6/site-packages/ray/tune/trial_runner.py", line 726$
    result = self.trial_executor.fetch_result(trial)
  File "/home/cdsw/.local/lib/python3.6/site-packages/ray/tune/ray_trial_executor.py", li$
    result = ray.get(trial_future[0], timeout=DEFAULT_GET_TIMEOUT)
  File "/home/cdsw/.local/lib/python3.6/site-packages/ray/worker.py", line 1452, in get
    raise value.as_instanceof_cause()
ray.exceptions.RayTaskError(TuneError): ^[[36mray::ImplicitFunc.train()^[[39m (pid=310, i$
  File "python/ray/_raylet.pyx", line 482, in ray._raylet.execute_task
  File "python/ray/_raylet.pyx", line 436, in ray._raylet.execute_task.function_executor
  File "/home/cdsw/.local/lib/python3.6/site-packages/ray/tune/trainable.py", line 336, i$
    result = self.step()
  File "/home/cdsw/.local/lib/python3.6/site-packages/ray/tune/function_runner.py", line $
    self._report_thread_runner_error(block=True)
  File "/home/cdsw/.local/lib/python3.6/site-packages/ray/tune/function_runner.py", line $
    .format(err_tb_str)))
ray.tune.error.TuneError: Trial raised an exception. Traceback:
^[[36mray::ImplicitFunc.train()^[[39m (pid=310, ip=100.66.192.4)
  File "/home/cdsw/.local/lib/python3.6/site-packages/ray/tune/function_runner.py", line $
    self._entrypoint()
  File "/home/cdsw/.local/lib/python3.6/site-packages/ray/tune/function_runner.py", line $

```

---

<div class="post-metadata">

**Author:** ![amogkam](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/amogkam/32/17_2.png) [@amogkam](https://discuss.ray.io/u/amogkam)\
**Post date:** [December 11, 2020, 5:34pm UTC](https://discuss.ray.io/t/implicitfunc-error-with-ray-tune/203/2 "2020-12-11T17:34:50Z")

</div>

Hey @meechos, it looks like there’s some error being raised in your training function that you are passing into tune.run. Do you have the full console output? I believe there should be a more descriptive error message being printed out before this stack trace you posted.
