* WIP conversion to use pydantic for config validation * wip, more fields, add capabilities * wip * update pydantic validation to match existing tests * tweak requirements * setup deprecated paams pydantic model * more validations * wrap up rest of the validations * flesh out the rest of the options from the readme into pydantic * fix model validators as class methods remember to return in validator missing return add missing relora attributes fix test for DictDefault change fix sys template for mistral from fastchat change in PR 2872 fix test for batch size warning * more missing attributes for cfg * updates from PR feedback * fix validation for datasets and pretrain datasets * fix test for lora check
52 lines
834 B
INI
52 lines
834 B
INI
[mypy]
|
|
plugins = pydantic.mypy
|
|
exclude = venv
|
|
|
|
[mypy-alpaca_lora_4bit.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-axolotl.monkeypatch.*]
|
|
ignore_errors = True
|
|
|
|
[mypy-axolotl.models.mixtral.*]
|
|
ignore_errors = True
|
|
|
|
[mypy-axolotl.models.phi.*]
|
|
ignore_errors = True
|
|
|
|
[mypy-flash_attn.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-huggingface_hub]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-transformers.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-peft]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-wandb]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-bitsandbytes]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-requests]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-datasets]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-fire]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-setuptools]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-addict]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-xformers.*]
|
|
ignore_missing_imports = True
|