Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:1! #483

Open
alikeayal opened this issue Oct 21, 2024 · 0 comments

Comments

@alikeayal
Copy link

alikeayal commented Oct 21, 2024

Use MultKAN.py and raise this Error.

I check the debug, The variable x is on CUDA: 1, while variables such as subnode_stcale are on CUDA: 0.

daccea9edfc9d9f2c52c87b8f8adb62
77729d11acc4ced48d5ae1533c9b99e
aeed1cb1f993324c4ac13cb85db55c8

I just updated pykan today, starting from version 0.0.5.
I was planning to try using KAN on multiple GPUs, but unexpectedly encountered this issue.
I hope someone can help me solve this problem. Thank you! @KindXiaoming

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

No branches or pull requests

1 participant