Skip to content

Bugs for GPU based ot.sinkhorn, and very slow speed for GPU based ot.sinkhorn2 #420

@HelloWorldLTY

Description

@HelloWorldLTY

Hi, I met a bug when I intend to use GPU to calculate sinkhorn OT:

RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1

Also I will meet this bug after running ot.sinkhorn2 for a while.

The errors come from my inside network codes, which is caused by choosing ot.sinkorn. If I choose ot.emd, then I will not meet such an error. Could you please help me? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions