Skip to content

[PyTorch/NotImplementedError]: The following operators are not implemented: ['aten::bitwise_and'] #16005

@HanGuo97

Description

@HanGuo97

Steps to reproduce

import torch
def func(x1, x2):
    return torch.bitwise_and(x1, x2)

x1 = torch.tensor([True, True, False], device="cuda")
x2 = torch.tensor([False, True, False], device="cuda")
func(x1, x2) # --> runs
torch.compile(func, backend="tvm")(x1, x2) # --> not implemented error

Triage

Please refer to the list of label tags here to find the relevant tags and add them below in a bullet format (example below).

  • needs-triage

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triagePRs or issues that need to be investigated by maintainers to find the right assignees to address ittype: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions