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

执行main.py的时候报"OSError: [WinError 126] 找不到指定的模块。 Error loading "D:\environment\pythton310\lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies." #130

Open
sf9ehf9fe opened this issue Aug 23, 2024 · 1 comment

Comments

@sf9ehf9fe
Copy link

所有相关的依赖都下载完了,配置文件也配置好了,但是启动的时候就报“OSError: [WinError 126] 找不到指定的模块。 Error loading "D:\environment\pythton310\lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.”

@LifeRainSunshine
Copy link

我也遇到了同样的问题 重新安装PyTorch解决了 安装适用于你cuda版本对应的PyTorch
我是cu118 参考如下 也可使用国内镜像 下载会快一些
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

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

2 participants