Skip to content

torch.stft calls need to be updated to set the return_complex kwarg #1095

@mruberry

Description

@mruberry

torch.stft (https://pytorch.org/docs/master/generated/torch.stft.html?highlight=stft#torch.stft) has deprecated not setting the return_complex kwarg, and we want to make passing return_complex required before the PyTorch 1.8 release. To avoid torchaudio breaking with PyTorch nightlies or PyTorch 1.8 it needs to update its torch.stft calls to pass the return_complex argument.

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