diff --git a/_typos.toml b/_typos.toml index e4e7287fb..955c6cb79 100644 --- a/_typos.toml +++ b/_typos.toml @@ -4,8 +4,10 @@ extend-ignore-re = [ "@Ther-nul", # valid Github user ] - -[default.extend-identifiers] +extend-ignore-identifiers-re = [ + ".*arange.*", + ".*ARANGE.*", +] [type.py.extend-words] "BA" = "BA" # used as a commented-out variable in tests diff --git a/bitsandbytes/functional.py b/bitsandbytes/functional.py index 34b3c0293..7503ad73c 100644 --- a/bitsandbytes/functional.py +++ b/bitsandbytes/functional.py @@ -1864,7 +1864,7 @@ def percentile_clipping(grad: Tensor, gnorm_vec: Tensor, step: int, percentile: gnorm_vec: torch.Tensor Vector of gradient norms. 100 elements expected. step: int - The current optimiation steps (number of past gradient norms). + The current optimization steps (number of past gradient norms). """ prev_device = pre_call(grad.device) diff --git a/csrc/kernels.cu b/csrc/kernels.cu index be7779de1..867390f2c 100644 --- a/csrc/kernels.cu +++ b/csrc/kernels.cu @@ -2661,7 +2661,7 @@ template