Skip to content

Commit 8115fbf

Browse files
committed
Remove prototype RNNT Loss from release (#1280)
Remove doc and prototype python folder. Use BUILD_TRANSDUCER=0.
1 parent fa71c5e commit 8115fbf

File tree

9 files changed

+4
-475
lines changed

9 files changed

+4
-475
lines changed

.circleci/torchscript_bc_test/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ build_master() {
6767
printf "* Installing torchaudio\n"
6868
cd "${_root_dir}" || exit 1
6969
git submodule update --init --recursive
70-
BUILD_TRANSDUCER=1 BUILD_SOX=1 python setup.py clean install
70+
BUILD_TRANSDUCER=0 BUILD_SOX=1 python setup.py clean install
7171
}

.circleci/unittest/linux/scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ conda install -y -c "pytorch-${UPLOAD_CHANNEL}" pytorch ${cudatoolkit}
3939
# 2. Install torchaudio
4040
printf "* Installing torchaudio\n"
4141
git submodule update --init --recursive
42-
BUILD_TRANSDUCER=1 BUILD_SOX=1 python setup.py install
42+
BUILD_TRANSDUCER=0 BUILD_SOX=1 python setup.py install
4343

4444
# 3. Install Test tools
4545
printf "* Installing test tools\n"

docs/source/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ The :mod:`torchaudio` package consists of I/O, popular datasets and common audio
3939
compliance.kaldi
4040
kaldi_io
4141
utils
42-
transducer
4342

4443

4544
.. toctree::

docs/source/transducer.rst

Lines changed: 0 additions & 23 deletions
This file was deleted.

packaging/build_wheel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ if [[ "$OSTYPE" == "msys" ]]; then
1515
python_tag="$(echo "cp$PYTHON_VERSION" | tr -d '.')"
1616
python setup.py bdist_wheel --plat-name win_amd64 --python-tag $python_tag
1717
else
18-
BUILD_TRANSDUCER=1 BUILD_SOX=1 python setup.py bdist_wheel
18+
BUILD_TRANSDUCER=0 BUILD_SOX=1 python setup.py bdist_wheel
1919
fi

packaging/torchaudio/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env bash
22
set -ex
33

4-
BUILD_TRANSDUCER=1 BUILD_SOX=1 python setup.py install --single-version-externally-managed --record=record.txt
4+
BUILD_TRANSDUCER=0 BUILD_SOX=1 python setup.py install --single-version-externally-managed --record=record.txt

test/torchaudio_unittest/transducer_test.py

Lines changed: 0 additions & 285 deletions
This file was deleted.

torchaudio/prototype/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)