def __init__(
        self,
        params: Iterable[torch.Tensor],
    ):
        """Initialize NoOp optimizer.

        Args:
            params (Iterable[torch.Tensor]): Model parameters for the optimizer.
        """
        # LR schedulers expect param groups to have LR. Unused.
        defaults = {'lr': 0.0}
        super().__init__(params, defaults)
Initialize NoOp optimizer.

        Args:
            params (Iterable[torch.Tensor]): Model parameters for the optimizer.
        
llmfoundry/optim/no_op.py