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
Update synthetic.py
Daniel Han6a65ee478cd7
diff --git a/unsloth/dataprep/synthetic.py b/unsloth/dataprep/synthetic.pyindex a2c2e0cf074..45805bbfb8a 100644--- a/unsloth/dataprep/synthetic.py+++ b/unsloth/dataprep/synthetic.py@@ -81,6 +81,13 @@ class SyntheticDataKit:print(engine_args)if "dtype" in engine_args:dtype_val = engine_args["dtype"]+ dtype_mapping = {+ torch.float16 : "float16",+ torch.bfloat16 : "bfloat16",+ torch.float32 : "float32",+ }+ if dtype_val in dtype_mapping:+ dtype_val = dtype_mapping[dtype_val]# Convert torch.bfloat16, torch.float16, etc. to valid CLI stringif hasattr(dtype_val, "name"):engine_args["dtype"] = dtype_val.name