unsloth incompatible with latest transformers
This commit is contained in:
@@ -3,8 +3,6 @@ import unittest
|
|||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from axolotl.monkeypatch.unsloth_ import check_self_attn_is_patchable
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skip(
|
@pytest.mark.skip(
|
||||||
reason="Unsloth integration will be broken going into latest transformers"
|
reason="Unsloth integration will be broken going into latest transformers"
|
||||||
@@ -13,6 +11,8 @@ class TestUnslothIntegration(unittest.TestCase):
|
|||||||
"""Unsloth monkeypatch integration tests."""
|
"""Unsloth monkeypatch integration tests."""
|
||||||
|
|
||||||
def test_is_self_attn_patchable(self):
|
def test_is_self_attn_patchable(self):
|
||||||
|
from axolotl.monkeypatch.unsloth_ import check_self_attn_is_patchable
|
||||||
|
|
||||||
# ensures the current version of transformers has loss code that matches our patching code
|
# ensures the current version of transformers has loss code that matches our patching code
|
||||||
self.assertTrue(
|
self.assertTrue(
|
||||||
check_self_attn_is_patchable(),
|
check_self_attn_is_patchable(),
|
||||||
|
|||||||
Reference in New Issue
Block a user