Skip to content

UnaryRed SUM over a store slice aborts with "Incompatible accessor" in inline execution #1059

Description

@sbahirnv

Running a cn.sum reduction over a sliced store inside an inline PyTask aborts with a reduction
accessor assertion. The same code path is fine in normal (non-inline) execution. It looks like the
reduction accessor built for an inline-mapped store ends up with an accessor kind/layout that the
reduction path does not accept.

This affects at least lstm_backward.py example with cn.sum(dHin[t, :, word_size:], 0) aborts with a reduction-accessor assertion:

 accessors.inl:5007 ... Assertion 'false && "Incompatible accessor"'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions