Skip to content

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.

Add missing import of inspect (#3778)

Strahinja Stamenkovica058885b8adc
diff --git a/unsloth/device_type.py b/unsloth/device_type.py
index 68038de6792..0f924bfdfdf 100644
--- a/unsloth/device_type.py
+++ b/unsloth/device_type.py
@@ -24,6 +24,7 @@ __all__ = [
import torch
import functools
+import inspect
from unsloth_zoo.utils import Version