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.

Update synthetic.py

Daniel Hana075028f005f
diff --git a/unsloth/dataprep/synthetic.py b/unsloth/dataprep/synthetic.py
index a49a312a9dc..5aa92295972 100644
--- a/unsloth/dataprep/synthetic.py
+++ b/unsloth/dataprep/synthetic.py
@@ -157,7 +157,7 @@ class SyntheticDataKit:
pass
pass
- def destroy_vllm(self):
+ def cleanup(self):
if not hasattr(self, "vllm_process"): return
vllm_process = self.vllm_process
@@ -187,8 +187,8 @@ class SyntheticDataKit:
pass
def __enter__(self): return self
- def __exit__(self, *exc): self.destroy_vllm()
- def __del__(self): self.destroy_vllm()
+ def __exit__(self, *exc): self.cleanup()
+ def __del__(self): self.cleanup()
def truncate(self, filename = None):
# Truncates by summary and max generation