Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Fix RuntimeError not caught when torchcodec fails to load (#3987)
Daniel Han7b42acae9411
diff --git a/unsloth/import_fixes.py b/unsloth/import_fixes.pyindex 4fbab6a94c6..3def7e7e8b4 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