Skip to content

启动的时候pad一直报错,这个问题怎么解决? #2701

@chenlei528884440

Description

@chenlei528884440

[W shape_analysis.cpp:841] failed PropagateTensorShapeOnNode with schema:
aten::pad(Tensor self, int[] pad, str mode="constant", float? value=None) -> (Tensor)
%input.987 : Float(*, *, *, requires_grad=0, device=cuda:0) = aten::pad(%input.985, %5760, %5761, %5762), scope: __module.model.encoders/__module.model.encoders.48/__module.model.encoders.48.self_attn/__module.model.encoders.48.self_attn.pad_fn # /usr/local/lib/python3.8/dist-packages/torch/nn/modules/padding.py:23:0

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions