Skip to content

Fix typos: "reparametrization" → "reparameterization" and "recommed" → "recommend" #20892

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lightning/fabric/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ def _check_strategy_and_fallback(self) -> None:
if strategy_flag in _DDP_FORK_ALIASES and "fork" not in torch.multiprocessing.get_all_start_methods():
raise ValueError(
f"You selected `Fabric(strategy='{strategy_flag}')` but process forking is not supported on this"
f" platform. We recommed `Fabric(strategy='ddp_spawn')` instead."
f" platform. We recommend `Fabric(strategy='ddp_spawn')` instead."
)
if (
strategy_flag in _FSDP_ALIASES or type(self._strategy_flag) is FSDPStrategy
Expand Down
2 changes: 1 addition & 1 deletion src/lightning/pytorch/callbacks/pruning.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def __init__(
- ``bool``. Always apply it or not.
- ``Callable[[epoch], bool]``. For dynamic values. Will be called every epoch.

make_pruning_permanent: Whether to remove all reparametrization pre-hooks and apply masks
make_pruning_permanent: Whether to remove all reparameterization pre-hooks and apply masks
when training ends or the model is saved.

use_lottery_ticket_hypothesis: See `The lottery ticket hypothesis <https://arxiv.org/abs/1803.03635>`_:
Expand Down
Loading