adding pre-commit auto-update GH action and bumping plugin versions (#2428)

* adding pre-commit auto-update GH action and bumping plugin versions

* running updated pre-commit plugins

* sorry to revert, but pylint complained

* Update .pre-commit-config.yaml

Co-authored-by: Wing Lian <wing.lian@gmail.com>

---------

Co-authored-by: Dan Saunders <dan@axolotl.ai>
Co-authored-by: Wing Lian <wing.lian@gmail.com>
This commit is contained in:
Dan Saunders
2025-03-21 11:02:43 -04:00
committed by GitHub
parent 187227d837
commit c907ac173e
132 changed files with 479 additions and 301 deletions

View File

@@ -1,6 +1,7 @@
"""
e2e tests for kd trainer support in Axolotl
"""
from pathlib import Path
import pytest

View File

@@ -1,4 +1,5 @@
"""Tests for GEGLU activation function Triton kernels."""
# pylint: disable=duplicate-code
import torch

View File

@@ -1,4 +1,5 @@
"""Tests for LoRA custom autograd."""
# pylint: disable=invalid-name,redefined-outer-name
import pytest

View File

@@ -1,4 +1,5 @@
"""Tests for quantization utility functions."""
# pylint: disable=invalid-name
import torch

View File

@@ -1,4 +1,5 @@
"""Tests for SwiGLU activation function Triton kernels."""
# pylint: disable=duplicate-code
import torch

View File

@@ -1,6 +1,7 @@
"""
E2E tests for multigpu eval
"""
import logging
import os
from pathlib import Path

View File

@@ -1,6 +1,7 @@
"""
GRPO test suite
"""
import random
from pathlib import Path

View File

@@ -1,4 +1,5 @@
"""Integration tests for LoRA activation and attention kernels."""
# pylint: disable=redefined-outer-name
import pytest

View File

@@ -1,6 +1,7 @@
"""
test cases to make sure the plugin args are loaded from the config file
"""
from pathlib import Path
import yaml

View File

@@ -1,4 +1,5 @@
"""Test module for checking whether the integration of Unsloth with Hugging Face Transformers is working as expected."""
import unittest
import pytest

View File

@@ -1,6 +1,7 @@
"""
e2e tests for unsloth qlora
"""
import logging
import os

View File

@@ -1,6 +1,7 @@
"""
test module to import various submodules that have historically broken due to dependency issues
"""
import unittest

View File

@@ -1,6 +1,7 @@
"""
helper utils for tests
"""
import os
import shutil
import tempfile