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

use_libuv was requested but PyTorch was build without libuv support #503

Open
zhaochenmeng opened this issue Dec 20, 2024 · 2 comments
Open

Comments

@zhaochenmeng
Copy link

When running sam2.1 training, the training code is: python training/train.py -c configs/train.yaml --use-cluster 0 --num-gpus 1, and the problem occurs hydra.errors.InstantiationException: Error in call to target ' training.trainer.Trainer':
RuntimeError('use_libuv was requested but PyTorch was build without libuv support')
full_key: trainer 。 What is libuv?
image

@sonurdogan
Copy link

I am having the same issue. Is there any update?

@chidebaifan
Copy link

hey i was facing similar issues and this seemed to work for me by downgrading PyTorch to version 2.3.x

Using pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu118

Hope this helps!

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

3 participants