Skip to content

Commit ad5816f

Browse files
authored
Remove rir extension. (#4124)
1 parent 3b0e7a6 commit ad5816f

File tree

17 files changed

+0
-941
lines changed

17 files changed

+0
-941
lines changed

.github/scripts/unittest-linux/run_test.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ if [[ "${CUDA_TESTS_ONLY}" = "1" ]]; then
2222
args+=('-k' 'cuda or gpu')
2323
fi
2424

25-
(
26-
cd build/temp*/test/cpp
27-
ctest
28-
)
29-
3025
(
3126
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CTC_DECODER=true
3227
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_MOD_unidecode=true

.github/workflows/unittest-linux-cpu.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,6 @@ jobs:
7272
python -m pip install . -v --no-build-isolation
7373
echo "::endgroup::"
7474
75-
echo "::group::Run TorchAudio C tests"
76-
(cd build/temp*/test/cpp && ./wall_collision)
77-
echo "::endgroup::"
78-
7975
echo "::group::Run TorchAudio tests"
8076
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CTC_DECODER=true
8177
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_MOD_unidecode=true

.github/workflows/unittest-macos-cpu.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@ jobs:
7070
python -m pip install . -v --no-build-isolation
7171
echo "::endgroup::"
7272
73-
echo "::group::Run TorchAudio C tests"
74-
(cd build/temp*/test/cpp && ./wall_collision)
75-
echo "::endgroup::"
76-
7773
echo "::group::Run TorchAudio tests"
7874
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_APPLY_CMVN_SLIDING=true
7975
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_FBANK_FEATS=true

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ endif()
5252

5353

5454
# Options
55-
option(BUILD_RIR "Enable RIR simulation" ON)
5655
option(BUILD_RNNT "Enable RNN transducer" ON)
5756
option(BUILD_ALIGN "Enable forced alignment" ON)
5857
option(BUILD_CUDA_CTC_DECODER "Build CUCTC decoder" OFF)
@@ -170,6 +169,3 @@ if (BUILD_CUDA_CTC_DECODER)
170169
endif()
171170
add_subdirectory(src/libtorchaudio/cuctc)
172171
endif()
173-
if (BUILD_CPP_TEST)
174-
add_subdirectory(test/cpp)
175-
endif()

src/libtorchaudio/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ if(BUILD_RNNT)
3434
endif()
3535
endif()
3636

37-
if(BUILD_RIR)
38-
list(APPEND sources rir/rir.cpp rir/ray_tracing.cpp)
39-
list(APPEND compile_definitions INCLUDE_RIR)
40-
endif()
41-
4237
if(BUILD_ALIGN)
4338
list(
4439
APPEND

src/libtorchaudio/pybind/pybind.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ namespace torchaudio {
55
namespace {
66

77
PYBIND11_MODULE(_torchaudio, m) {
8-
m.def("is_rir_available", &is_rir_available, "");
98
m.def("is_align_available", &is_align_available, "");
109
m.def("cuda_version", &cuda_version, "");
1110
}

0 commit comments

Comments
 (0)