NeMo
NeMo copied to clipboard
Add fp8 support for SD/Update notebook paths
What does this PR do ?
Add FP8 support for SD training.
Collection: [multimodal/text_to_image/statble_diffusion]
Changelog
- Add config argument - use_te_fp8 to switch between fp16 and fp8 training
- Add transformer engine fp8 layers to Stable diffusion Unet
- Update a few legacy paths in notebook tutorial
Usage
unet_config:
use_te_fp8=True
Jenkins CI
To run Jenkins, a NeMo User with write access must comment jenkins on the PR.
Before your PR is "Ready for review"
Pre checks:
- [x ] Make sure you read and followed Contributor guidelines
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
PR Type:
- [x ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
Who can review?
Anyone in the community is free to review the PR once the checks have passed. Contributor guidelines contains specific people who can review PRs to various areas.
Additional Information
- Related to # (issue)