A collection of niche / personally useful PyTorch optimizers with modified code.
Python
28
51 commits
updated Aug 23, 2026
A collection of niche / personally useful PyTorch optimizers with modified code.
OCGOpt (Recommended / Preferred)
input_norm parameter may be set to default in the future. It normalizes the RMS per-channel (or per row if rows > columns), and can perhaps lead to further stability.TALON
lowpass_grad, separate_frequencies, and highfreq_mult. highfreq_mult is tied to separate_frequencies. If you want to utilize lowpass_grad, initially start with a value of 1.0, then increase it if its not strong enough. For separate_frequencies, initially start with a value of 0.1 and adjust as needed (radius ratio from 0 in the FFT domain, of which frequencies are to be considered low frequency).FCompass
FishMonger
diff_amp may cause issues in niche scenarios, but it is enabled by default as it can greatly help getting to the optimal minima when there's large amounts of noise.clip may be able to be seen as a multiplier, which defaults to 1.0. Setting this above 1 may amplify the gradient as a result. I haven't tested much outside of the default.FARMSCrop / FARMSCropV2
FMARSCrop / FMARSCrop_ExMachina / FMARSCropV2
moment_centralization as a hyperparameter! Subtracts the mean of the momentum before adding it to the gradient for the full step. Default of 1.0.diff_mult is not necessary to achieve convergence onto a very noisy minima, though is recommended if you have the VRAM available, as it improves the robustness against noise.cautious is True (default: True). You can try raising your LR by 1.5x compared to FMARSCrop / AdamW if enabled.eps_floor (default: None). When eps_floor is set to 0, this will automatically round to 1e-38.237 followers · starred Jan 2025
A collection of niche / personally useful PyTorch optimizers with modified code.
Python
28
51 commits
updated Aug 23, 2026
A collection of niche / personally useful PyTorch optimizers with modified code.
OCGOpt (Recommended / Preferred)
input_norm parameter may be set to default in the future. It normalizes the RMS per-channel (or per row if rows > columns), and can perhaps lead to further stability.TALON
lowpass_grad, separate_frequencies, and highfreq_mult. highfreq_mult is tied to separate_frequencies. If you want to utilize lowpass_grad, initially start with a value of 1.0, then increase it if its not strong enough. For separate_frequencies, initially start with a value of 0.1 and adjust as needed (radius ratio from 0 in the FFT domain, of which frequencies are to be considered low frequency).FCompass
FishMonger
diff_amp may cause issues in niche scenarios, but it is enabled by default as it can greatly help getting to the optimal minima when there's large amounts of noise.clip may be able to be seen as a multiplier, which defaults to 1.0. Setting this above 1 may amplify the gradient as a result. I haven't tested much outside of the default.FARMSCrop / FARMSCropV2
FMARSCrop / FMARSCrop_ExMachina / FMARSCropV2
moment_centralization as a hyperparameter! Subtracts the mean of the momentum before adding it to the gradient for the full step. Default of 1.0.diff_mult is not necessary to achieve convergence onto a very noisy minima, though is recommended if you have the VRAM available, as it improves the robustness against noise.cautious is True (default: True). You can try raising your LR by 1.5x compared to FMARSCrop / AdamW if enabled.eps_floor (default: None). When eps_floor is set to 0, this will automatically round to 1e-38.237 followers · starred Jan 2025