Skip to content

Index put runtime error #1702

Open
Open
@xytintel

Description

@xytintel

🐛 Describe the bug

pytest -vs ./test/xpu/test_indexing_xpu.py -k test_index_put_deterministic_with_optional_tensors_xpu

RuntimeError: linearIndex.numel() * sliceSize * nElemBefore == expandedValue.numel() INTERNAL ASSERT FAILED at "/home/sdp/xyt/pytorch/third_party/torch-xpu-ops/src/ATen/native/xpu/sycl/Indexing.cpp":683, please report a bug to PyTorch. number of flattened indices did not match number of elements in the value tensor: 8 vs 32

Versions

2.8

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions