Skip to content

Abort tensor mult for some sets of tensors #81

@SpaceyLake

Description

@SpaceyLake

TBLIS seems to abort with the message "internal::are_compatible(oldlengths, oldstrides[i], lengths, *strides[i])" when running tblis_tensor_mult for some sets of tensors. Below is an example of such a tensor set. The data is structured as label, len, stride.

A:
a 1 -1

B:
b 3 1
c 2 3
a 1 6

C:
b 3 -1
c 2 -3

The abort doesn't occur if either the strides for C are positive or the strides for B and C are negative. The sign of the strides for A doesn't seem to be relevant. The abort only seems to occur for some sets of tensors.

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