NeMo
KexuanShi's picture
Upload folder using huggingface_hub
88e6849 verified
|
Raw
History Blame Contribute Delete
445 Bytes

How to use ?

Add these flags to enable optimizer cpu offload in MCore.

--optimizer-cpu-offload
--optimizer-offload-fraction 1.0
--use-precision-aware-optimizer

Configuration Recommendations

Gradient copy from GPU to CPU, CPU optimizer step, and subsequent parameter copy from CPU to GPU can be time-consuming operations, and it is recommended to use the flag --overlap-cpu-optimizer-d2h-h2d to execute them concurrently.