Skip to content

Conversation

@hubertlu-tw
Copy link

No description provided.

hubertlu-tw and others added 5 commits September 9, 2022 16:54
…IA#1446)

Checkpointing can fail since pickle doesn't support >4GB strings by default
* Optimize dist Adam kernels and implementation

Add option to directly use params instead of storing main params. Add option to store 16-bit param remainders and reconstruct fp32 main params out of bf16 params. Add option to choose between Adam and AdamW optimizer. Miscellaneous tweaks to simplify code and avoid GPU synchronization. Avoid calling NCCL collectives in side streams.

* Use FMAs for lerps in dist Adam kernels

Review suggestions from @crcrpar.
@hubertlu-tw hubertlu-tw self-assigned this Sep 9, 2022
@hubertlu-tw
Copy link
Author

jenkins: retest this please

2 similar comments
@hubertlu-tw
Copy link
Author

jenkins: retest this please

@hubertlu-tw
Copy link
Author

jenkins: retest this please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants