Skip to content

[BUG]examples/dsa_sparse_finetune/indexer_topk_reducesum.py Run Error #1671

@changdong1687

Description

@changdong1687

Required prerequisites

What version of TileLang are you using?

0.1.7.post2+cuda.gitd6eb5d3d

System information

sys.version and sys.platform 3.12.0 | packaged by Anaconda, Inc. | (main, Oct 2 2023, 17:29:18) [GCC 11.2.0] linux
tilelang version: 0.1.7.post2+cuda.git2d8d3676
torch version: 2.9.0+cu128

Problem description

when run example below(examples/dsa_sparse_finetune/indexer_topk_reducesum.py), it errors:

ValueError: Cannot use and / or / not operator to Expr, hint: use tvm.tir.all / tvm.tir.any instead
Image

Reproducible example code

The Python snippets:

python examples/dsa_sparse_finetune/indexer_topk_reducesum.py 

Traceback

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions