DM7412 Posted September 7 Share Posted September 7 Hey all. Anyone ever got to use PyTorch 2.1 or above on Windows 7? Is it incompatible or is it just me? Version 2.0.1 and older worked, but I can't have version 2.1 or above working. It can't start because there are missing dependencies for c10_cuda.dll. According to Dependency Walker these missing dependencies were "API-MS-WIN..." dlls and functions missing from system dlls. I somehow got to fix the missing "API-MS-WIN..." dlls problem, but some functions are still missing from system dlls, for example "ResolveDelayLoadedAPI" is missing from kernel32.dll. Some people say that Dependency Walker should not be trusted though because it sometimes reports false positives instead of the real problem, so I am not even sure that these missing functions are really the problem. I've been trying for over a month. I installed all visual studio runtimes. I installed updates. I installed VxKex but I don't think it can help in this case. I installed nt61 updated kernel too. Nothing worked. I asked about it on PyTorch's forum. One of their devs told me that the only thing they changed was switching from VS2017 to VS2019 builds. I did install visual studio runtimes 2019 though. Can someone please help? Anybody ever tried? Any idea? ( As for why I need PyTorch 2.1, that is because I need to use the new version of Layer Diffuse, which only works with the new version of SD Forge, which needs PyTorch version 2.1 minimum. ) Link to comment Share on other sites More sharing options...
vinifera Posted September 8 Share Posted September 8 as far as i know, and someone correct me if i am wrong it also depends on what platform did devs compile the app if it was compiled lets say on windows 10, no way this will work on win 7 exactly bcoz of these non existing kernel? api calls if i am wrong then search for exact API-MS-WIN.... whatever it asks and i know there are sites that provide multiple versions from multiple os-es (8, 8.1, 10) so trial and error Link to comment Share on other sites More sharing options...
DM7412 Posted September 9 Author Share Posted September 9 (edited) On 9/8/2024 at 7:18 PM, vinifera said: if it was compiled lets say on windows 10, no way this will work on win 7 So I need to compile PyTorch by myself on Windows 7 for it to work on Windows 7? I don't have Visual Studio and I never did that... Or maybe I have the wrong version of some API-MS-WIN dlls, for Win10 instead of Win7, and that is why I have this problem. How can I check that? Edited September 9 by DM7412 Link to comment Share on other sites More sharing options...
vinifera Posted September 10 Share Posted September 10 you find online different versions (and architectures), and try for example (this is not ad) on dll-files.com they offer multiple versions and arch types for recompiling like i said i am not sure but i have such impression, would like to know if this is true or not Link to comment Share on other sites More sharing options...
DM7412 Posted September 19 Author Share Posted September 19 (edited) Fixed. If someone ever has the same problem: https://github.com/lllyasviel/stable-diffusion-webui-forge/issues/1765#issuecomment-2359619393 Edited September 19 by DM7412 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now