Skip to content

Commit a6562b4

Browse files
authored
Docs: Fix typo in pruning callback (#19979)
1 parent a40affb commit a6562b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightning/pytorch/callbacks/pruning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def __init__(
205205
raise MisconfigurationException(
206206
f"`pruning_fn` is expected to be a str in {list(_PYTORCH_PRUNING_FUNCTIONS.keys())}"
207207
f" or a PyTorch `BasePruningMethod`. Found: {pruning_fn}."
208-
" HINT: if passing a `BasePruningMethod`, pass the the class, not an instance"
208+
" HINT: if passing a `BasePruningMethod`, pass the class, not an instance"
209209
)
210210

211211
# need to ignore typing here since pytorch base class does not define the PRUNING_TYPE attribute

0 commit comments

Comments
 (0)