diff --git a/unsloth/import_fixes.py b/unsloth/import_fixes.py index 4fbab6a94c..3def7e7e8b 100644 --- a/unsloth/import_fixes.py +++ b/unsloth/import_fixes.py @@ -1051,5 +1051,5 @@ def patch_torchcodec_audio_decoder(): from unsloth_zoo.dataset_utils import patch_torchcodec_audio_decoder as _patch _patch() - except (ImportError, AttributeError): + except (ImportError, AttributeError, RuntimeError): pass