Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ repos:
]

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.5.1
rev: 26.10.0
hooks:
- id: black
files: (.*\.py)$
Expand All @@ -52,7 +52,7 @@ repos:
- black==26.5.1

- repo: https://github.com/codespell-project/codespell
rev: v2.4.2
rev: v2.4.3
hooks:
- id: codespell
args: [-w]
Expand All @@ -61,26 +61,26 @@ repos:
- tomli

- repo: https://github.com/crate-ci/typos
rev: v1.48.0
rev: typos-dict-v0.14.2
hooks:
- id: typos
exclude: ^auto_round/export/export_to_gguf/conversion/.*\.py$

- repo: https://github.com/pycqa/isort
rev: 8.0.1
rev: 9.0.2
hooks:
- id: isort
exclude: ^auto_round/export/export_to_gguf/conversion/.*\.py$

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.20
rev: v0.16.10
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --no-cache]
exclude: ^auto_round/export/export_to_gguf/conversion/.*\.py$

- repo: https://github.com/tcort/markdown-link-check
rev: v3.14.2
rev: v3.15.0
hooks:
- id: markdown-link-check
args: [-q, -c .azure-pipelines/scripts/codeScan/markdown-link-check/markdown-link-check.json]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
)
from . import sagev1 as _dense_sagev1
from . import sagev1_pvi8 as _dense_sagev1_pvi8
from . import (
sdpa,
)
from . import sdpa


def _get_xpu_sparse_kernel_backend() -> str:
Expand Down
10 changes: 2 additions & 8 deletions test/unit/common/algorithms/test_rotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,9 @@
from auto_round.algorithms.transforms.hadamard.inplace.hooks import (
deterministic_hadamard_matrix as inplace_det_hadamard,
)
from auto_round.algorithms.transforms.hadamard.inplace.hooks import (
get_hadK,
get_or_create_random_hadamard,
)
from auto_round.algorithms.transforms.hadamard.inplace.hooks import get_hadK, get_or_create_random_hadamard
from auto_round.algorithms.transforms.hadamard.inplace.hooks import is_pow2 as inplace_is_pow2
from auto_round.algorithms.transforms.hadamard.inplace.hooks import (
matmul_hadU,
matmul_hadUt,
)
from auto_round.algorithms.transforms.hadamard.inplace.hooks import matmul_hadU, matmul_hadUt
from auto_round.algorithms.transforms.hadamard.inplace.hooks import random_hadamard_matrix as inplace_rand_hadamard
from auto_round.algorithms.transforms.hadamard.inplace.model_config import (
MAPPING_REGISTRY,
Expand Down
Loading