Jump to content

PyTorch 2.1 on Windows 7?


DM7412

Recommended Posts

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


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

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... :unsure:

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 by DM7412
Link to comment
Share on other sites

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

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...