Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: sending images to the vscode extension fails, if the tensor is n…
…ot local to the cpu (#63) Related-to: Safe-DS/DSL#954 (the PR requires this fix to work) Fixes the following error: `RuntimeError: Attempted to send CUDA tensor received from another process; this is not currently supported. Consider cloning before sending.` This error only occurs on systems that support graphics acceleration of tensor operations. On other systems, the tensor is local to the CPU by default and does not need to be converted. The conversion process is a noop, if the tensor is already local to the CPU. --------- Co-authored-by: megalinter-bot <[email protected]>
- Loading branch information