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 Hanab27ddc6a3b1
diff --git a/unsloth/models/rl.py b/unsloth/models/rl.py
index da73ec49f64..29773d0a8e4 100644
--- a/unsloth/models/rl.py
+++ b/unsloth/models/rl.py
@@ -128,6 +128,8 @@ class Unsloth{RLConfig_name}({RLConfig_name}):
):
{RLConfig_extra_args}
super().__init__({RLConfig_call_args}{RLConfig_kwargs})
+ self.vllm_sampling_params = vllm_sampling_params
+ self.unsloth_num_chunks = unsloth_num_chunks
pass
{RLTrainer_extras}