Torch error The specified module could not be found.

I am trying to install torch with cuda support specifically torch==2.4.0+cu124 although i get error

Traceback (most recent call last):
  File "C:\Users\\sftprog.py", line 6, in <module>
    import torch
    ^^^^^^^^^^^^
  File "C:\Users\venv\Lib\site-packages\torch\__init__.py", line 148, in <module>
    raise err
OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\\venv\Lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies

I tried installing normal version of torch and recreating venv adn installing again but to no avail,I am not sure what i am doing wrong

This is a known issue described here and the nightly binary as well as 2.4.1RC builds should already fix it.