Skip to content

ExecuTorch execution failed for any.dimsΒ #13489

@manuelcandales

Description

@manuelcandales

πŸ•΅οΈβ€β™‚οΈ Detected with FACTO

πŸ› Describe the bug

FACTO Generated meta_tuple: ['ArgType.Tensor torch.int32 (2, 6)', 'ArgType.DimListOpt []', 'ArgType.Bool False']

error:

[tensor_impl.cpp:83] Attempted to change the tensor rank which is immutable: old=0, new=2
[op_any.cpp:70] Check failed (resize_tensor(out, in.sizes()) == Error::Ok): 
[method.cpp:1338] KernelCall failed at instruction 0:0 in operator aten::any.dims_out: 0x12
[method.cpp:1344] arg 0 with type id 1
[method.cpp:1344] arg 1 with type id 8
[method.cpp:1344] arg 2 with type id 5
[method.cpp:1344] arg 3 with type id 1
[method.cpp:1344] arg 4 with type id 1

Versions

nightly

cc @larryliu0820

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: kernelsIssues related to kernel libraries and utilities, and code under kernels/triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions