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.

Risky loader baseline: record the float8 training precision fallback (#16428)

Daniel Han674b2435644c
diff --git a/scripts/risky_loaders_baseline.json b/scripts/risky_loaders_baseline.json
index 004d287fd24..563ebfa2f23 100644
--- a/scripts/risky_loaders_baseline.json
+++ b/scripts/risky_loaders_baseline.json
@@ -650,6 +650,14 @@
"count": 1,
"reason": "Falls back to the auto class unless the caller passed trust_remote_code; revision pinned to the config commit hash."
},
+ {
+ "file": "unsloth/models/float8_training.py",
+ "rule": "dynamic-import",
+ "sink": "spec_from_file_location",
+ "digest": "2e91eef0396304a9",
+ "count": 1,
+ "reason": "Fallback when this file is loaded on its own: loads unsloth/precision/__init__.py from the sibling directory of the shipped package, a fixed path, never a user-supplied one."
+ },
{
"file": "unsloth/models/fsdp2_save.py",
"rule": "unsafe-deserialize",