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

RuntimeError: use_libuv was requested but PyTorch was build without libuv support #302

Open
clodiamery opened this issue Jan 17, 2025 · 0 comments

Comments

@clodiamery
Copy link

I am trying to train deep learning code on my laptop, I installed the following:

1- cuda 12.0 
2- pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

and the output for this code:

import torch

print( torch.cuda.is_available())
print( torch.cuda.device_count())
print(torch.version.cuda)
print("torch.__version ",torch.__version__)

Output:

True
1
12.1
torch.__version  2.5.1+cu121

When run my deep learning code, I have this error, how to solve please?

  File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\distributed\elastic\agent\server\api.py", line 500, in _rendezvous
    rdzv_info = spec.rdzv_handler.next_rendezvous()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\distributed\elastic\rendezvous\static_tcp_rendezvous.py", line 67, in next_rendezvous
    self._store = TCPStore(  # type: ignore[call-arg]
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: use_libuv was requested but PyTorch was build without libuv support
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

No branches or pull requests

1 participant