Skip to content

Commit 83df5d7

Browse files
Clarify load and save behavior (#4089)
1 parent b60d685 commit 83df5d7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/source/torchaudio.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ torchaudio
88

99
- APIs deprecated in version 2.8 have been removed in 2.9.
1010
- The decoding and encoding capabilities of PyTorch for both audio and video
11-
have been consolidated into TorchCodec. For convenience, we provide
12-
:func:`~torchaudio.load_with_torchcodec` as a replacement for
13-
:func:`~torchaudio.load` and :func:`~torchaudio.save_with_torchcodec` as a
14-
replacement for :func:`~torchaudio.save`, but we recommend that you port
15-
your code to native torchcodec APIs.
11+
have been consolidated into TorchCodec. For convenience,
12+
:func:`~torchaudio.load` and :func:`~torchaudio.save` are now aliases to
13+
:func:`~torchaudio.load_with_torchcodec` and :func:`~torchaudio.save_with_torchcodec`
14+
respectively, which call the appropriate functions from TorchCodec.
15+
That said, we recommend that you port your code to native torchcodec APIs.
1616

1717
Please see https://github.com/pytorch/audio/issues/3902 for more information.
1818

0 commit comments

Comments
 (0)