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.

CI: record the lazy CLI command import in the risky-loader baseline (#15762)

Daniel Han21127b21bff3
diff --git a/scripts/risky_loaders_baseline.json b/scripts/risky_loaders_baseline.json
index b0788c10933..30775832da4 100644
--- a/scripts/risky_loaders_baseline.json
+++ b/scripts/risky_loaders_baseline.json
@@ -770,6 +770,14 @@
"count": 1,
"reason": "Iterates a fixed tuple of torch wrapper classes (DataParallel, FSDP, OptimizedModule)."
},
+ {
+ "file": "unsloth_cli/__init__.py",
+ "rule": "dynamic-import",
+ "sink": "import_module",
+ "digest": "59e72c01edb14c86",
+ "count": 1,
+ "reason": "Module-level __getattr__ for the lazily loaded command names: the module name comes only from the literal _LAZY_ATTRIBUTES table of unsloth_cli.commands.* modules, and an unknown name raises AttributeError before any import."
+ },
{
"file": "unsloth_cli/_studio_deps.py",
"rule": "dynamic-import",