-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Closed
Labels
high prioritymodule: boolean tensortriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
I'm getting the error [title] with the latest nightly build. I was doing
torch.ones(n, m, dtype=torch.uint8).triu_() to get an upper-triangular mask, but now I'm getting a deprecation warning about using tensors other than booleans in torch.masked_scatter, so I changed the above to
torch.ones(n, m, dtype=torch.bool).triu_()which now fails with RuntimeError: "triu" not implemented for 'Bool'. Is this known and/or WIP?
saareliad and zhanchey
Metadata
Metadata
Assignees
Labels
high prioritymodule: boolean tensortriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module