Fine-tuning with Reinforcement Learning with Human Feedback (RLHF) is essential for aligning large language models (LLMs). However, RLHF often encounters significant memory challenges. This study is the first to examine memory usage in the RLHF context, exploring various memory management strategies and unveiling the reasons behind excessive memory consumption. Additionally, we introduce a simple yet effective approach that substantially reduces the memory required for RLHF fine-tuning.
Paper
References (21)
06GPT-4 Technical ReportOpenAI Josh Achiam, Steven Adler, S. Agarwal et al.2023 · 26k citations In Library
Scroll for more · 9 remaining