Skip to content

Commit 7ef8c69

Browse files
committed
Remove some torio references
1 parent 11560ef commit 7ef8c69

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

cmake/TorchAudioHelper.cmake

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,6 @@ function(torchaudio_library name source include_dirs link_libraries compile_defs
4141
)
4242
endfunction()
4343

44-
function(torio_library name source include_dirs link_libraries compile_defs)
45-
_library(
46-
torio/lib
47-
"${name}"
48-
"${source}"
49-
"${include_dirs}"
50-
"${link_libraries}"
51-
"${compile_defs}"
52-
)
53-
endfunction()
54-
5544
if (BUILD_TORCHAUDIO_PYTHON_EXTENSION)
5645
# See https://github.com/pytorch/pytorch/issues/38122
5746
find_library(TORCH_PYTHON_LIBRARY torch_python PATHS "${TORCH_INSTALL_PREFIX}/lib")
@@ -103,16 +92,6 @@ if (BUILD_TORCHAUDIO_PYTHON_EXTENSION)
10392
"${definitions}"
10493
)
10594
endfunction()
106-
function(torio_extension name sources include_dirs libraries definitions)
107-
_extension(
108-
torio/lib
109-
"${name}"
110-
"${sources}"
111-
"${include_dirs}"
112-
"${libraries}"
113-
"${definitions}"
114-
)
115-
endfunction()
11695
endif()
11796

11897

test/torchaudio_unittest/common_utils/case_utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
import torch
1212
import torchaudio
13-
import torio
1413
from torch.testing._internal.common_utils import TestCase as PytorchTestCase
1514
from torchaudio._internal.module_utils import eval_env, is_module_available
1615
from torchaudio.utils.ffmpeg_utils import get_video_decoders, get_video_encoders
@@ -108,8 +107,6 @@ class TorchaudioTestCase(TestBaseMixin, PytorchTestCase):
108107
pass
109108

110109

111-
_IS_FFMPEG_AVAILABLE = torio._extension.lazy_import_ffmpeg_ext().is_available()
112-
_IS_SOX_AVAILABLE = torchaudio._extension.lazy_import_sox_ext().is_available()
113110
_IS_CTC_DECODER_AVAILABLE = None
114111
_IS_CUDA_CTC_DECODER_AVAILABLE = None
115112

0 commit comments

Comments
 (0)