Albert Zeyer

Results 863 comments of Albert Zeyer
trafficstars

Maybe as a workaround, try to install some other pynput version. What version do you have installed currently?

Related is also #1513. Can you post the full output?

Can you try to run on CPU only (`export DISABLE_CUDA=1`)? Can you try to run test_TFNativeOp.py?

> `python3 -m pytest test_TFNativeOp.py` also works I assume you tested that with `export DISABLE_CUDA=1`, i.e. only for CPU? Can you also try with CUDA?

Note, the main error is `error: name followed by "::" must be a class or namespace name` on `perftools`: ``` /home/nbeneitez/work/returnn/native_op_issue/work/i6_core/tools/git/CloneGitRepositoryJob.nH5B7CKRCU89/output/repository/returnn/native_op.cpp(240): error: name followed by "::" must be a class...

(For future reference for debugging: I think using `sys.settrace` would have been easier to find the place instead of such contextmanager and hacking around in the code. With `settrace` you...

This sounds like a problem that other PyTorch users will also have run into, or not? Did you search for corresponding PyTorch issues? Or if you don't find any, can...

I don't exactly understand your comment regarding `persistent_workers`. In case of `num_workers > 0`, we already set `persistent_workers=True`, so there was no problem In case of `num_workers == 0`, you...

Another workaround on RETURNN side would be to cache the iterator, and not recreate it always. But this might also be tricky to get right. I think we should first...

Ok, so also num_workers > 0 then. So maybe we also should set num_workers = 1 when the user does not specify otherwise?