running updated pre-commit plugins

This commit is contained in:
Dan Saunders
2025-03-20 10:30:18 -04:00
committed by Wing Lian
parent aaa4571826
commit 21bac7ce1a
130 changed files with 420 additions and 291 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