Skip to content

silero usage of torch.stft #283

Closed
Closed
@vmoens

Description

@vmoens

It seems that silero uses the torch.stft function in a way that will be deprecated in the next pytorch release.

Previously, the following usage was permitted

torch.stft(tensor, num, num, num, num, bool, bool, *other)

but now a string representing the padding mode must be included

torch.stft(tensor, num, num, num, num, bool, str, bool, *other)

Link to the old function signature

Link to the new function signature

Link to the broken CI log

PR presumably responsible of the BC breaking change

Perhaps @peterbell10 can comment on this?

@snakers4 do you think it's something that can be fixed? Because the source code is not shared it's hard for us to debug this properly.

cc @NicolasHug

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions