From 4f7651c11c5667cf36f5dc582eb46692b857f3da Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Thu, 18 Dec 2025 09:27:46 -0800 Subject: [PATCH] FunctionGemma --- pyproject.toml | 4 ++-- unsloth/models/_utils.py | 2 +- unsloth/models/mapper.py | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cb3f8f3fa4..84d6d86d93 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,7 @@ huggingfacenotorch = [ ] huggingface = [ "unsloth[huggingfacenotorch]", - "unsloth_zoo>=2025.12.5", + "unsloth_zoo>=2025.12.6", "torchvision", "unsloth[triton]", ] @@ -523,7 +523,7 @@ colab-ampere-torch220 = [ "flash-attn>=2.6.3 ; ('linux' in sys_platform)", ] colab-new = [ - "unsloth_zoo>=2025.12.5", + "unsloth_zoo>=2025.12.6", "packaging", "tyro", "transformers>=4.51.3,!=4.52.0,!=4.52.1,!=4.52.2,!=4.52.3,!=4.53.0,!=4.54.0,!=4.55.0,!=4.55.1,!=4.57.0,<=4.57.3", diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py index 6f6d693b4f..17d0ab9631 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.12.6" +__version__ = "2025.12.7" __all__ = [ "SUPPORTS_BFLOAT16", diff --git a/unsloth/models/mapper.py b/unsloth/models/mapper.py index 7a90c6b358..e7296291f1 100644 --- a/unsloth/models/mapper.py +++ b/unsloth/models/mapper.py @@ -1251,6 +1251,11 @@ __INT_TO_FLOAT_MAPPER = \ "unsloth/gpt-oss-safeguard-120b", "openai/gpt-oss-safeguard-120b", ), + "unsloth/functiongemma-270m-it-unsloth-bnb-4bit" : ( + "unsloth/functiongemma-270m-it", + "google/functiongemma-270m-it", + "unsloth/functiongemma-270m-it-unsloth-bnb-4bit", + ), } INT_TO_FLOAT_MAPPER = {}