From 02c19d97f9f2f42f66b7832fa514b796c561ca77 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Thu, 20 Feb 2025 04:47:12 -0800 Subject: [PATCH] bug fix --- unsloth/models/_utils.py | 2 +- unsloth/models/rl.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py index 52b3710916..382024512d 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.2.13" +__version__ = "2025.2.14" __all__ = [ "SUPPORTS_BFLOAT16", diff --git a/unsloth/models/rl.py b/unsloth/models/rl.py index f6b3fdbf32..8f346073bf 100644 --- a/unsloth/models/rl.py +++ b/unsloth/models/rl.py @@ -137,7 +137,6 @@ class Unsloth{RLConfig_name}({RLConfig_name}): ): {RLConfig_extra_args} super().__init__({RLConfig_call_args}{RLConfig_kwargs}) - assert(hasattr(vllm_sampling_params, '_set_kwargs')) self.vllm_sampling_params = vllm_sampling_params self.unsloth_num_chunks = unsloth_num_chunks pass