Skip to content

PTQ-Level Efficiency, QAT-Level Accuracy | 训练后量化的效率,量化感知训练的精度

[pre-commit.ci] pre-commit autoupdate (#868)

pre-commit-ci[bot]f2b9aefc9257
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 1922e00b6..c17b5d9ca 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -4,7 +4,7 @@ ci:
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v5.0.0
+ rev: v6.0.0
hooks:
- id: check-json
- id: check-yaml
@@ -29,19 +29,19 @@ repos:
--skip-license-insertion-comment=Copyright,
]
- - repo: https://github.com/psf/black.git
- rev: 25.1.0
+ - repo: https://github.com/psf/black-pre-commit-mirror
+ rev: 25.9.0
hooks:
- id: black
files: (.*\.py)$
- repo: https://github.com/asottile/blacken-docs
- rev: 1.19.1
+ rev: 1.20.0
hooks:
- id: blacken-docs
args: [--line-length=120, --skip-errors]
additional_dependencies:
- - black==25.1.0
+ - black==25.9.0
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
@@ -52,17 +52,17 @@ repos:
- tomli
- repo: https://github.com/crate-ci/typos
- rev: v1.36.2
+ rev: v1.38.1
hooks:
- id: typos
- repo: https://github.com/pycqa/isort
- rev: 6.0.1
+ rev: 6.1.0
hooks:
- id: isort
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.12.5
+ rev: v0.14.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --no-cache]