Skip to content

crash when using latest local llvm build. #80

@charithaintc

Description

@charithaintc
 python examples/xegpu/matmul.py --dump-kernel=initial
Traceback (most recent call last):
  File "/home/jovyan/lighthouse/examples/xegpu/matmul.py", line 22, in <module>
    from lighthouse.workload import benchmark, get_bench_wrapper_schedule
  File "/home/jovyan/lighthouse/lighthouse/workload/__init__.py", line 2, in <module>
    from .runner import (
  File "/home/jovyan/lighthouse/lighthouse/workload/runner.py", line 11, in <module>
    from lighthouse.schedule.pattern_schedule import pattern_rewrite_schedule
  File "/home/jovyan/lighthouse/lighthouse/schedule/pattern_schedule.py", line 6, in <module>
    @ext.register_dialect
     ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'mlir.dialects.ext' has no attribute 'register_dialect'

I am using latest llvm by setting the PYTHONPATH.

LLVM commit used: 538fcbc7e0e7efa4370125818a36bad7a8ee237e

sounds like an api mismatch?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions