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 rl.py

Daniel Han6148ce8d465e
diff --git a/unsloth/models/rl.py b/unsloth/models/rl.py
index 231dbe77653..da73ec49f64 100644
--- a/unsloth/models/rl.py
+++ b/unsloth/models/rl.py
@@ -122,8 +122,8 @@ class Unsloth{RLConfig_name}({RLConfig_name}):
metadata = {{'help': 'Chunk size to reduce memory usage'}},
)
def __init__({RLConfig_arguments},
- vllm_sampling_params = vllm_sampling_params,
- unsloth_num_chunks = unsloth_num_chunks,
+ vllm_sampling_params = None,
+ unsloth_num_chunks = 1,
**kwargs,
):
{RLConfig_extra_args}