Skip to content

Fixed Runtime Error in _normalize_loudness on Windows Torch 2.11.0+CU128#315

Open
SundayRX wants to merge 1 commit into
OpenBMB:mainfrom
SundayRX:main
Open

Fixed Runtime Error in _normalize_loudness on Windows Torch 2.11.0+CU128#315
SundayRX wants to merge 1 commit into
OpenBMB:mainfrom
SundayRX:main

Conversation

@SundayRX
Copy link
Copy Markdown

Resolved a compatibility issue with the _normalize_loudness function on Windows (Torch 2.11.0+CU128 RTX5070TI)

Resolved a compatibility issue with the _normalize_loudness function on Windows (Torch 2.11.0+CU128 RTX5070TI)
@a710128
Copy link
Copy Markdown
Contributor

a710128 commented May 26, 2026

Thanks for working on this compatibility fix.

Could you please share the full RuntimeError stack trace you encountered on Windows with Torch 2.11.0+CU128? That would help confirm whether the failure happens in torchaudio.load(), loudness calculation, saving, or another part of _normalize_loudness.

One concern with the current implementation is the broad except Exception around torchaudio.load(). It may also catch unrelated issues such as corrupted files, permission errors, or unsupported formats, then silently fall back to soundfile, which can make real problems harder to diagnose. It would be safer to catch the specific torchaudio/backend compatibility error if possible, or at least preserve/log the original exception context when falling back.

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants