The newly released Gefen optimizer is a drop-in replacement for AdamW that claims an 8x memory reduction with comparable quality. It can be easily added as it is already compatible with Transformers, and has the potential to democratize training to a significant degree if it works as well as is being claimed. It may be preferable to trial the Gefen-X fork by @thad0ctor as the original author is deleting issues and appears disinterested in fixing up the code for modern architectures.
The newly released Gefen optimizer is a drop-in replacement for AdamW that claims an 8x memory reduction with comparable quality. It can be easily added as it is already compatible with Transformers, and has the potential to democratize training to a significant degree if it works as well as is being claimed. It may be preferable to trial the Gefen-X fork by @thad0ctor as the original author is deleting issues and appears disinterested in fixing up the code for modern architectures.