Skip to content

Fix: data on both cuda:0 and cuda:1 when using --torch-device cuda:1#6243

Open
robinDLFM wants to merge 1 commit intoUnity-Technologies:developfrom
robinDLFM:fix-cuda-device
Open

Fix: data on both cuda:0 and cuda:1 when using --torch-device cuda:1#6243
robinDLFM wants to merge 1 commit intoUnity-Technologies:developfrom
robinDLFM:fix-cuda-device

Conversation

@robinDLFM
Copy link

@robinDLFM robinDLFM commented Sep 2, 2025

Proposed change(s)

Solves:
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:1 and cuda:0! (when checking argument for argument mat1 in method wrapper_CUDA_addmm)
when using --torch-device cuda:1

  • Bug fix
  • Code refactor

@CLAassistant
Copy link

CLAassistant commented Sep 2, 2025

CLA assistant check
All committers have signed the CLA.

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.

2 participants