* fix: exclude nemotron_h from flex_attention NemotronHForCausalLM does not support flex_attention and raises: NotImplementedError: NemotronHForCausalLM does not support an attention implementation through torch's flex_attention. Add nemotron_h to the exclusion list alongside gpt_oss and mllama so Unsloth falls back to the default attention implementation. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| dataprep | ||
| kernels | ||
| models | ||
| registry | ||
| utils | ||
| __init__.py | ||
| _auto_install.py | ||
| chat_templates.py | ||
| device_type.py | ||
| import_fixes.py | ||
| ollama_template_mappers.py | ||
| save.py | ||
| tokenizer_utils.py | ||
| trainer.py | ||