Skip to content

[torch_scatter 2.1.2] Torch-scatter.scatter_max make cuda illegal memory with large points number. #497

@Colorfu1

Description

@Colorfu1

I use scatter_max with 1800w+ points occur illegal CUDA memory.
It is Ok with 1500w+ points or with cpu operator.
torch 2.3.1+cu118
torch-scatter 2.1.2
usage:
new_feat, argmax = torch_scatter.scatter_max(feat, unq_inv, dim=0)
Illegal CUDA memory would happen in forward or backward stage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions