Skip to content

Conversation

@lljbash
Copy link
Member

@lljbash lljbash commented Mar 28, 2024

This happens when DIPU_DUMP_OP_ARGS is set to 3, and the tensor is copied from device to CPU before dumping the tensor.

This patch uses a function previously used in auto_compare (renamed to toCpuTensorWithoutDiopiCopy()) to avoid the infinite recursion.

This happens when DIPU_DUMP_OP_ARGS is set to 3, and the tensor is copied from device to CPU before dumping the tensor.

This patch uses a function previously used in auto_compare (renamed to `toCpuTensorWithoutDiopiCopy()`) to avoid the infinite recursion.
@lljbash lljbash added bug Something isn't working DIPU DIPU related labels Mar 28, 2024
@lljbash lljbash requested a review from jfxu-st March 28, 2024 11:42
@lljbash lljbash self-assigned this Mar 28, 2024
@lljbash lljbash force-pushed the llj/fix-infinite-copy-dumparg branch 2 times, most recently from 79e71b4 to 7fcec94 Compare March 28, 2024 11:59
@fandaoyi fandaoyi merged commit badbe46 into DeepLink-org:main Mar 29, 2024
@lljbash lljbash deleted the llj/fix-infinite-copy-dumparg branch March 29, 2024 02:53
xuq7410 pushed a commit to xuq7410/deeplink.framework that referenced this pull request May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working DIPU DIPU related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants