Skip to content

RuntimeError: the operation has been invalidated when calling a kernel after a second one has been programmed onto the NPU #2

@etabeta1

Description

@etabeta1

As per title.

I assume that when the second kernel is programmed onto the npu (using NPU1Col1() as device) the first one gets overwritten so that when it's called something does not match and the error is thrown.

Tried using AIEDevice.npu1_1col but does not work ("Not Resolvable" something error). According to this file NPUXColY it's just a class with a resolve method that returns the corresponding npuX_Ycol.

Maybe related to Xilinx/mlir-aie#2302. According to a comment under that issue, this PR should fix the problem. According to another comment under the same issue, the fix has already been pushed bu I cannot test it until the toolchain on aupcloud.io is updated (currenttly is about one month old).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions