---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
Cell In[2], line 1
----> 1 from speechbrain.inference.diarization import Speech_Emotion_Diarization
      3 # Load the pre-trained model
      4 classifier = Speech_Emotion_Diarization.from_hparams(source="speechbrain/emotion-diarization-wavlm-large")

File ~/anaconda3/bin/speechbrain/speechbrain/__init__.py:6
      1 """ Comprehensive speech processing toolkit
      2 """
      4 import os
----> 6 from .core import Brain, Stage, create_experiment_directory, parse_arguments
      7 from .utils.importutils import deprecated_redirect, lazy_export_all
      9 with open(os.path.join(os.path.dirname(__file__), "version.txt")) as f:

File ~/anaconda3/bin/speechbrain/speechbrain/core.py:39
     36 from tqdm.contrib import tqdm
     38 import speechbrain as sb
---> 39 from speechbrain.dataio.dataloader import LoopedLoader, SaveableDataLoader
     40 from speechbrain.dataio.sampler import (
     41     DistributedSamplerWrapper,
     42     ReproducibleRandomSampler,
     43 )
     44 from speechbrain.utils.optimizers import rm_vector_weight_decay

File ~/anaconda3/bin/speechbrain/speechbrain/dataio/dataloader.py:46
     43 from torch.utils.data.dataloader import _BaseDataLoaderIter
     45 from speechbrain.dataio.batch import BatchsizeGuesser, PaddedBatch
---> 46 from speechbrain.dataio.dataset import DynamicItemDataset
     47 from speechbrain.dataio.sampler import (
     48     DistributedSamplerWrapper,
     49     ReproducibleRandomSampler,
     50 )
     51 from speechbrain.utils.checkpoints import (
     52     mark_as_loader,
     53     mark_as_saver,
     54     register_checkpoint_hooks,
     55 )

File ~/anaconda3/bin/speechbrain/speechbrain/dataio/dataset.py:16
     12 from types import MethodType
     14 from torch.utils.data import Dataset
---> 16 from speechbrain.dataio.dataio import load_data_csv, load_data_json
     17 from speechbrain.utils.data_pipeline import DataPipeline
     18 from speechbrain.utils.data_utils import batch_shuffle

File ~/anaconda3/bin/speechbrain/speechbrain/dataio/dataio.py:26
     24 import numpy as np
     25 import torch
---> 26 import torchaudio
     28 from speechbrain.utils.torch_audio_backend import check_torchaudio_backend
     30 check_torchaudio_backend()

File ~/anaconda3/envs/pytdml/lib/python3.10/site-packages/torchaudio/__init__.py:2
      1 # Initialize extension and backend first
----> 2 from . import _extension  # noqa  # usort: skip
      3 from ._backend import (  # noqa  # usort: skip
      4     AudioMetaData,
      5     get_audio_backend,
   (...)
     10     set_audio_backend,
     11 )
     13 from . import (  # noqa: F401
     14     compliance,
     15     datasets,
   (...)
     23     utils,
     24 )

File ~/anaconda3/envs/pytdml/lib/python3.10/site-packages/torchaudio/_extension/__init__.py:38
     36 _IS_ALIGN_AVAILABLE = False
     37 if _IS_TORCHAUDIO_EXT_AVAILABLE:
---> 38     _load_lib("libtorchaudio")
     40     import torchaudio.lib._torchaudio  # noqa
     42     _check_cuda_version()

File ~/anaconda3/envs/pytdml/lib/python3.10/site-packages/torchaudio/_extension/utils.py:60, in _load_lib(lib)
     58 if not path.exists():
     59     return False
---> 60 torch.ops.load_library(path)
     61 return True

File ~/anaconda3/envs/pytdml/lib/python3.10/site-packages/torch/_ops.py:933, in _Ops.load_library(self, path)
    928 path = _utils_internal.resolve_library_path(path)
    929 with dl_open_guard():
    930     # Import the shared library into the process, thus running its
    931     # static (global) initialization code in order to register custom
    932     # operators with the JIT.
--> 933     ctypes.CDLL(path)
    934 self.loaded_libraries.add(path)

File ~/anaconda3/envs/pytdml/lib/python3.10/ctypes/__init__.py:374, in CDLL.__init__(self, name, mode, handle, use_errno, use_last_error, winmode)
    371 self._FuncPtr = _FuncPtr
    373 if handle is None:
--> 374     self._handle = _dlopen(self._name, mode)
    375 else:
    376     self._handle = handle

OSError: /home/vishv/anaconda3/envs/pytdml/lib/python3.10/site-packages/torchaudio/lib/libtorchaudio.so: undefined symbol: _ZN3c104cuda14ExchangeDeviceEa