Skip to content

dlopen failed to find runtime library on RTX5080 #489

@tong1wu

Description

@tong1wu

Description:
In order to support RTX5080. I've tried to download torch 2.7.0.dev20250310+cu128 and torch-scatter 2.1.2+pt27cu128.

torch_scatter-2.1.2+pt27cu128-cp310-cp310-win_amd64.whl

torch-2.7.0.dev20250310+cu128-cp310-cp310-win_amd64.whl

When I ran python -c "import torch_scatter; print('Success!')" there was an error

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\Tong\miniconda3\envs\scatter\lib\site-packages\torch_scatter\__init__.py", line 16, in <module>
    torch.ops.load_library(spec.origin)
  File "C:\Users\Tong\miniconda3\envs\scatter\lib\site-packages\torch\_ops.py", line 1392, in load_library
    ctypes.CDLL(path)
  File "C:\Users\Tong\miniconda3\envs\scatter\lib\ctypes\__init__.py", line 374, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 127] The specified procedure could not be found

It looks like torch-scatter is not compatible with torch version somehow. But I'm sure that the versions are matched.

Environment:
GPU: RTX5080
OS: Win11 x64
PyTorch version: 2.7.0
CUDA version: 12.8
Python: 3.10.0

The installed packages starting from a clean conda environment are as follows:

# packages in environment at C:\Users\Tong\miniconda3\envs\scatter:
#
# Name                    Version                   Build  Channel
bzip2                     1.0.8                h2466b09_7    conda-forge
ca-certificates           2025.4.26            h4c7d964_0    conda-forge
filelock                  3.18.0                   pypi_0    pypi
fsspec                    2025.5.1                 pypi_0    pypi
jinja2                    3.1.6                    pypi_0    pypi
libffi                    3.4.6                h537db12_1    conda-forge
liblzma                   5.8.1                h2466b09_1    conda-forge
liblzma-devel             5.8.1                h2466b09_1    conda-forge
libsqlite                 3.50.0               h67fdade_0    conda-forge
libzlib                   1.3.1                h2466b09_2    conda-forge
markupsafe                3.0.2                    pypi_0    pypi
mpmath                    1.3.0                    pypi_0    pypi
networkx                  3.4.2                    pypi_0    pypi
numpy                     2.2.6                    pypi_0    pypi
openssl                   3.5.0                ha4e3fda_1    conda-forge
pip                       25.1.1             pyh8b19718_0    conda-forge
python                    3.10.0          hcf16a7b_3_cpython    conda-forge
setuptools                80.9.0             pyhff2d567_0    conda-forge
sqlite                    3.50.0               h2466b09_0    conda-forge
sympy                     1.14.0                   pypi_0    pypi
tk                        8.6.13               h2c6b04d_2    conda-forge
torch                     2.7.0.dev20250310+cu128          pypi_0    pypi
torch-scatter             2.1.2+pt27cu128          pypi_0    pypi
typing-extensions         4.14.0                   pypi_0    pypi
tzdata                    2025b                h78e105d_0    conda-forge
ucrt                      10.0.22621.0         h57928b3_1    conda-forge
vc                        14.3                h2b53caa_26    conda-forge
vc14_runtime              14.42.34438         hfd919c2_26    conda-forge
vs2015_runtime            14.42.34438         h7142326_26    conda-forge
wheel                     0.45.1             pyhd8ed1ab_1    conda-forge
xz                        5.8.1                h208afaa_1    conda-forge
xz-tools                  5.8.1                h2466b09_1    conda-forge

Can anyone give me a hint about what's going on? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions