Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

arange.start_out: bad shape data #5

@nunoplopes

Description

@nunoplopes
$ python benchmarks/inference-huggingface/sentiment-analysis.py --torchy
...
%21 = <Long> arange.start_out 0, 5, 1, %21 #refs=2 #output

The reason for missing shape information is because the out tensor always has 'shape=[0]` regardless of the real output shape.
Need to confirm whether this arange.out is being dispatched from arange.

For inplace ops, we can't change the shape information ahead of executing the op as we change the tensor itself. Maybe for "out" tensors is ok?

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