Skip to content
Open
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
6 changes: 3 additions & 3 deletions src/lightning/fabric/accelerators/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ def register(
override: bool = False,
**init_params: Any,
) -> Callable:
"""Registers a accelerator mapped to a name and with required metadata.
"""Registers an accelerator mapped to a name and with required metadata.

Args:
name : the name that identifies a accelerator, e.g. "gpu"
name : the name that identifies an accelerator, e.g. "gpu"
accelerator : accelerator class
description : accelerator description
override : overrides the registered accelerator, if True
Expand Down Expand Up @@ -89,7 +89,7 @@ def get(self, name: str, default: Optional[Any] = None) -> Any:
"""Calls the registered accelerator with the required parameters and returns the accelerator object.

Args:
name (str): the name that identifies a accelerator, e.g. "gpu"
name (str): the name that identifies an accelerator, e.g. "gpu"

"""
if name in self:
Expand Down