Skip to content

RuntimeError caused by batchnorm #86790

@CaoE

Description

@CaoE

🐛 Describe the bug

The model TTS will crash due to the issue: when input of BN is not contiguous and the data type of input is different with that of parameters, BN will raise error RuntimeError: !needs_dynamic_casting<func_t>::check(iter) INTERNAL ASSERT FAILED at "xxx/pytorch/aten/src/ATen/native/cpu/Loops.h":311, please report a bug to PyTorch.

Versions

PyTorch master and PyTorch 1.13
python 3.8.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: norms and normalizationtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions