From 9a19723c89664f76c2ae087cf87073a73bb5e463 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Thu, 13 Feb 2025 15:13:55 -0800 Subject: [PATCH 1/2] Update pyproject.toml --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5bdf3c4dc3..2a6e31dcae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,7 +50,7 @@ huggingface = [ "wheel>=0.42.0", "numpy", "accelerate>=0.34.1", - "trl>=0.7.9,!=0.9.0,!=0.9.1,!=0.9.2,!=0.9.3", + "trl>=0.7.9,!=0.9.0,!=0.9.1,!=0.9.2,!=0.9.3,<0.15.0", "peft>=0.7.1,!=0.11.0", "protobuf<4.0.0", "huggingface_hub", @@ -362,7 +362,7 @@ colab-new = [ ] colab-no-deps = [ "accelerate>=0.34.1", - "trl>=0.7.9,!=0.9.0,!=0.9.1,!=0.9.2,!=0.9.3", + "trl>=0.7.9,!=0.9.0,!=0.9.1,!=0.9.2,!=0.9.3,<0.15.0", "peft>=0.7.1", "xformers", "bitsandbytes>=0.46.1", From aaa29ff83fa7b668a4e2e71df9aa81f44dbd2b74 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Thu, 13 Feb 2025 15:14:17 -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 d668460eaa..f5d00eab22 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.7" +__version__ = "2025.2.8" __all__ = [ "SUPPORTS_BFLOAT16",