Files
HuggingFace_transformer/docs/source
Gilad Turok 3e8106d253 Docs: fix GaLore optimizer code example (#32249)
Docs: fix GaLore optimizer example

Fix incorrect usage of GaLore optimizer in Transformers trainer code example.

The GaLore optimizer uses low-rank gradient updates to reduce memory usage. GaLore is quite popular and is implemented by the authors in [https://github.com/jiaweizzhao/GaLore](https://github.com/jiaweizzhao/GaLore). A few months ago GaLore was added to the HuggingFace Transformers library in https://github.com/huggingface/transformers/pull/29588.

Documentation of the Trainer module includes a few code examples of how to use GaLore. However, the `optim_targe_modules` argument to the `TrainingArguments` function is incorrect, as discussed in https://github.com/huggingface/transformers/pull/29588#issuecomment-2006289512. This pull request fixes this issue.
2024-07-30 09:19:24 +02:00
..
2024-06-26 21:59:08 +01:00
2024-07-24 17:36:32 +01:00
2024-04-16 11:58:55 +02:00
2024-07-24 17:36:32 +01:00
2024-04-23 16:06:20 +01:00
2024-06-12 11:33:00 +01:00
2023-11-08 08:35:20 -05:00