Peft lotfq (#1222)

* loftq support for lora

* fix loftq check

* update readme for loftq

* readability cleanup

* use peft main for loftq fixes, remove unnecessary special tokens

* remove unused test from older deprecation
This commit is contained in:
Wing Lian
2024-01-28 18:50:08 -05:00
committed by GitHub
parent 18f811978c
commit 4cb7900a56
9 changed files with 97 additions and 30 deletions

View File

@@ -32,16 +32,6 @@ class ValidationTest(BaseValidation):
Test the validation module
"""
def test_load_4bit_deprecate(self):
cfg = DictDefault(
{
"load_4bit": True,
}
)
with pytest.raises(ValueError):
validate_config(cfg)
def test_batch_size_unused_warning(self):
cfg = DictDefault(
{