You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Device is not set in PyG's graph store, causing an error to be thrown. Currently, the workaround is to either patch the PyG installation or force the edge index to be non-contiguous.
RuntimeError: Attempted to set the storage of a tensor on device "cpu" to a storage on different device "cuda:0". This is no longer allowed; the devices must match.
Current:
out = torch.empty(0, dtype=src.dtype)
Fixed:
out = torch.empty(0, dtype=src.dtype, device=src.device)
The text was updated successfully, but these errors were encountered:
Device is not set in PyG's graph store, causing an error to be thrown. Currently, the workaround is to either patch the PyG installation or force the edge index to be non-contiguous.
Current:
Fixed:
The text was updated successfully, but these errors were encountered: