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

Tried to instantiate class '__path__._path', but it does not exist! Ensure that it is registered via torch::class_ #214

Open
hanco1 opened this issue Oct 29, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@hanco1
Copy link

hanco1 commented Oct 29, 2024

想问问raise error: Examining the path of torch.classes raised: Tried to instantiate class 'path._path', but it does not exist! Ensure that it is registered via torch::class_可能由于什么导致的啊

@Huanshere
Copy link
Owner

检查 python 版本和 torch 版本,尝试使用 v1.7 安装

@Huanshere Huanshere added the bug Something isn't working label Oct 30, 2024
@hanco1
Copy link
Author

hanco1 commented Oct 30, 2024

检查 python 版本和 torch 版本,尝试使用 v1.7 安装

torch1.7的话cuda版本建议多少啊 目前安装的12.6是不是不太兼容

@Huanshere
Copy link
Owner

请严格按照文档安装,必须 python3.10.0+torch2.0.0,这是 whisperX 的严格要求

@Huanshere
Copy link
Owner

v1.7 指的是 videolingo 的 不是 torch 哦~

@Kitdit
Copy link

Kitdit commented Nov 28, 2024

I am facing same error, what is the solution?

@Huanshere
Copy link
Owner

I am facing same error, what is the solution?

Hi, please check if you're using python=3.10.0 environment and installing torch=2.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants