We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a40affb commit a6562b4Copy full SHA for a6562b4
src/lightning/pytorch/callbacks/pruning.py
@@ -205,7 +205,7 @@ def __init__(
205
raise MisconfigurationException(
206
f"`pruning_fn` is expected to be a str in {list(_PYTORCH_PRUNING_FUNCTIONS.keys())}"
207
f" or a PyTorch `BasePruningMethod`. Found: {pruning_fn}."
208
- " HINT: if passing a `BasePruningMethod`, pass the the class, not an instance"
+ " HINT: if passing a `BasePruningMethod`, pass the class, not an instance"
209
)
210
211
# need to ignore typing here since pytorch base class does not define the PRUNING_TYPE attribute
0 commit comments