Merge pull request #55 from OpenAccess-AI-Collective/missing-validation-file

add missing file
This commit is contained in:
Wing Lian
2023-05-25 09:58:51 -04:00
committed by GitHub

View File

@@ -0,0 +1,10 @@
def validate_config(cfg):
if cfg.adapter == "qlora":
assert cfg.load_in_8bit is False
assert cfg.load_4bit is False
assert cfg.load_in_4bit is True
pass
# TODO
# MPT 7b
# https://github.com/facebookresearch/bitsandbytes/issues/25
# no 8bit adamw w bf16