Skip to content

[CUDA] indexing on large tensor causes invalid configuration argument #164048

@Isalia20

Description

@Isalia20

🐛 Describe the bug

Reproducer:

import torch

mask = torch.randint(0, 20, (4, 87, 1056, 736), device="cuda")
to_apply = torch.tensor([True, False, False, True], device="cuda")
mask[to_apply]

Versions

build on main from today

cc @ptrblck @msaroufim @eqy @jerryzh168

Metadata

Metadata

Assignees

Labels

module: cudaRelated to torch.cuda, and CUDA support in general

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions