diff --git a/unsloth/dataprep/synthetic.py b/unsloth/dataprep/synthetic.py index 0e164813df..eaf75b591e 100644 --- a/unsloth/dataprep/synthetic.py +++ b/unsloth/dataprep/synthetic.py @@ -162,7 +162,7 @@ class SyntheticDataKit: pass def destroy_vllm(self): - if not hasattr(self, vllm_process): return + if not hasattr(self, "vllm_process"): return vllm_process = self.vllm_process print("Attempting to terminate the VLLM server gracefully...")