From 10e96929185d010d241eaaf9174e21012e072dd1 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Thu, 1 May 2025 06:38:08 -0700 Subject: [PATCH] Update synthetic.py --- unsloth/dataprep/synthetic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unsloth/dataprep/synthetic.py b/unsloth/dataprep/synthetic.py index 47bbf860e0..cb79b89dc1 100644 --- a/unsloth/dataprep/synthetic.py +++ b/unsloth/dataprep/synthetic.py @@ -86,10 +86,10 @@ class SyntheticDataKit: for key, value in engine_args.items(): flag = key.replace("_", "-") which = str(value).replace("torch.", "") - if which == "true": + if which == "True": # Ignore --enforce-eager True subprocess_commands += ["--" + flag,] - elif which == "false": + elif which == "False": # Ignore flag pass else: