Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'ProxifyHostFile' object has no attribute 'evict' #861

Closed
pentschev opened this issue Feb 17, 2022 · 1 comment · Fixed by #862
Closed

AttributeError: 'ProxifyHostFile' object has no attribute 'evict' #861

pentschev opened this issue Feb 17, 2022 · 1 comment · Fixed by #862
Assignees

Comments

@pentschev
Copy link
Member

After changes introduced by dask/distributed#5543, dask_cuda/tests/test_proxify_host_file.py::test_worker_force_spill_to_disk is now failing:

___________________________________________ test_worker_force_spill_to_disk ____________________________________________

args = (), kwargs = {}, loop = <tornado.platform.asyncio.AsyncIOLoop object at 0x7f7314ba0580>
injected_func = functools.partial(<function test_worker_force_spill_to_disk at 0x7f7314b723a0>)
cor = functools.partial(<function test_worker_force_spill_to_disk at 0x7f7314b723a0>)

    def test_func(*args, **kwargs):
        with clean() as loop:
            injected_func = functools.partial(func, *args, **kwargs)
            if iscoroutinefunction(func):
                cor = injected_func
            else:
                cor = gen.coroutine(injected_func)

>           loop.run_sync(cor, timeout=timeout)

../distributed/distributed/utils_test.py:808:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../miniconda3/envs/rn-220217/lib/python3.8/site-packages/tornado/ioloop.py:530: in run_sync
    return future_cell[0].result()
dask_cuda/tests/test_proxify_host_file.py:404: in test_worker_force_spill_to_disk
    await client.submit(f)
../distributed/distributed/client.py:287: in _result
    raise exc.with_traceback(tb)
dask_cuda/tests/test_proxify_host_file.py:399: in f
    await w.memory_monitor()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

>   weight = self.data.evict()
E   AttributeError: 'ProxifyHostFile' object has no attribute 'evict'

../distributed/distributed/worker.py:3752: AttributeError

@shwina do you have the time and will to look at this? Otherwise I'll do so.

@shwina
Copy link
Contributor

shwina commented Feb 17, 2022

Thanks, @pentschev! Happy to look into this one.

@pentschev pentschev mentioned this issue Feb 21, 2022
3 tasks
madsbk added a commit to madsbk/dask-cuda that referenced this issue Feb 22, 2022
@rapids-bot rapids-bot bot closed this as completed in #862 Feb 22, 2022
rapids-bot bot pushed a commit that referenced this issue Feb 22, 2022
Closes #861

Authors:
  - Mads R. B. Kristensen (https://github.com/madsbk)

Approvers:
  - Peter Andreas Entschev (https://github.com/pentschev)

URL: #862
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants