From d33a5b909c259356cfda6ef6d084349dbf5fedbd Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Mon, 1 Dec 2025 08:00:08 -0800 Subject: [PATCH 1/2] Update rl.py --- unsloth/models/rl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/unsloth/models/rl.py b/unsloth/models/rl.py index 0d795aa282..e1b40e64ed 100644 --- a/unsloth/models/rl.py +++ b/unsloth/models/rl.py @@ -369,6 +369,7 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"): ) return try: + RLConfig = eval(f"trl.trainer.{trainer_file}.{RLConfig_name}") except Exception as e: print( f"Unsloth: Could not load {RLConfig_name} from trl.trainer.{trainer_file}: {e}" From 53e6bd156886d6215504a4ba1531f4dc5d2117e6 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Mon, 1 Dec 2025 08:01:05 -0800 Subject: [PATCH 2/2] Update _utils.py --- unsloth/models/_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py index d3c4a8d730..ad48b28e26 100644 --- a/unsloth/models/_utils.py +++ b/unsloth/models/_utils.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "2025.11.5" +__version__ = "2025.11.6" __all__ = [ "SUPPORTS_BFLOAT16",