Skip to content

Commit 4fed7f6

Browse files
committed
Bump crate-ci/typos from 1.19.0 to 1.21.0, fix typos, and updated _typos.toml (Close kohya-ss#1307)
1 parent dcf0eeb commit 4fed7f6

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/typos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
- uses: actions/checkout@v4
1919

2020
- name: typos-action
21-
uses: crate-ci/typos@v1.16.26
21+
uses: crate-ci/typos@v1.21.0

_typos.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Instruction: https://github.com/marketplace/actions/typos-action#getting-started
33

44
[default.extend-identifiers]
5+
ddPn08="ddPn08"
56

67
[default.extend-words]
78
NIN="NIN"
@@ -27,6 +28,7 @@ rik="rik"
2728
koo="koo"
2829
yos="yos"
2930
wn="wn"
31+
hime="hime"
3032

3133

3234
[files]

library/ipex/attention.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# pylint: disable=protected-access, missing-function-docstring, line-too-long
77

8-
# ARC GPUs can't allocate more than 4GB to a single block so we slice the attetion layers
8+
# ARC GPUs can't allocate more than 4GB to a single block so we slice the attention layers
99

1010
sdpa_slice_trigger_rate = float(os.environ.get('IPEX_SDPA_SLICE_TRIGGER_RATE', 4))
1111
attention_slice_rate = float(os.environ.get('IPEX_ATTENTION_SLICE_RATE', 4))

library/train_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2889,7 +2889,7 @@ def add_training_arguments(parser: argparse.ArgumentParser, support_dreambooth:
28892889
)
28902890
parser.add_argument("--seed", type=int, default=None, help="random seed for training / 学習時の乱数のseed")
28912891
parser.add_argument(
2892-
"--gradient_checkpointing", action="store_true", help="enable gradient checkpointing / grandient checkpointingを有効にする"
2892+
"--gradient_checkpointing", action="store_true", help="enable gradient checkpointing / gradient checkpointingを有効にする"
28932893
)
28942894
parser.add_argument(
28952895
"--gradient_accumulation_steps",

0 commit comments

Comments
 (0)