File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
neural_compressor/compression/pruner Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 8383 )$
8484
8585 - repo : https://github.com/PyCQA/docformatter
86- rev : 06907d0
86+ rev : v1.7.7
8787 hooks :
8888 - id : docformatter
8989 args : [
@@ -118,7 +118,7 @@ repos:
118118 - id : blacken-docs
119119 args : [--line-length=120, --skip-errors]
120120 additional_dependencies :
121- - black==24.10 .0
121+ - black==25.1 .0
122122 exclude : |
123123 (?x)^(
124124 examples/.+|
@@ -146,7 +146,7 @@ repos:
146146 )$
147147
148148 - repo : https://github.com/astral-sh/ruff-pre-commit
149- rev : v0.11.4
149+ rev : v0.12.2
150150 hooks :
151151 - id : ruff
152152 args : [--fix, --exit-non-zero-on-fix, --no-cache]
Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ The following section exemplifies how to use hooks in user pass-in training func
335335 ```
336336 [ ** Stable Option** ] Insert Hook functions in your codes.
337337 ``` python
338- """ All you need is to insert following API functions to your codes:
338+ """ All you need is to insert following API functions to your codes:
339339 on_train_begin() # Setup pruners
340340 on_step_begin() # Prune weights
341341 on_before_optimizer_step() # Do weight regularization
Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ The following section exemplifies how to use hooks in user pass-in training func
336336 ```
337337 [ ** Stable Option** ] Insert Hook functions in your codes.
338338 ``` python
339- """ All you need is to insert following API functions to your codes:
339+ """ All you need is to insert following API functions to your codes:
340340 on_train_begin() # Setup pruners
341341 on_step_begin() # Prune weights
342342 on_before_optimizer_step() # Do weight regularization
You can’t perform that action at this time.
0 commit comments