llvm / llvm/torch-mlir

Dtype checks failing with 'Subtraction, the `-` operator, with two bool tensors is not supported. Use the `^` or `logical_xor()` operator instead.'

Open
#3,552 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.9k
Forks
736
Avg merge
5d 22h
Merged PRs (30d)
15

Description

The dtype checks for some of the ops are failing with the following error:

'Subtraction, the `-` operator, with two bool tensors is not supported. Use the `^` or `logical_xor()` operator instead.'

Right now, the tests are disabled for the same in https://github.com/llvm/torch-mlir/pull/3548.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the dtype-check tests and the changes referenced in pull request 3548. Reproduce the failure involving subtraction of two bool tensors, identify which disabled checks are affected, and confirm that the checks pass without the unsupported operation error.

Written by the indexing model from the issue text.

Assessment

Tech stack
pytorch
Domain
compilers, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.