Skip to content

Conversation

juntaowang99
Copy link

Hi, @minyoungg . Thanks for the great work. I'd like to point out one issue which may result in CUDA device issue.

Your install requirements are

install_requires=[
            "torch>=1.13.0",
            "string-color==1.2.3",
            "torchpq==0.3.0.1",
    ],

in setup.py.

However, in torchpq-0.3.0.1, there is a bug that they always create new tensors on cuda:0, it is a problem for those who have multiple devices. The author of torchpq fixed the bug since version 0.3.0.3 (see link).

So I suggest you update the install requirements in setup.py to

install_requires=[
            "torch>=1.13.0",
            "string-color>=1.2.3",
            "torchpq>=0.3.0.3",
    ],

Best,
Chris
:)

change package dependency
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

Successfully merging this pull request may close these issues.

1 participant