Skip to content

[rocm] F.embedding reports invalid configuration argument  #130806

@xw285cornell

Description

@xw285cornell

🐛 Describe the bug

F.embedding will crash with relatively large tensor input on the AMD GPU:

input = torch.randint(low=0, high=16032, size=[131072], device="cuda")
w = torch.randn([16032, 16384], device="cuda")
torch.nn.functional.embedding(input, w)

RuntimeError: HIP error: invalid configuration argument

Versions

top of tree

cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang

Metadata

Metadata

Assignees

Labels

module: rocmAMD GPU support for PytorchtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions