TransformerEngine
TransformerEngine copied to clipboard
Expose `rotary_base` as an arg instead of hardcoding
Description
Expose rotary_base as an arg instead of hardcoding to 10000
Fixes # (issue) https://github.com/NVIDIA/TransformerEngine/issues/849
Type of change
- [ ] Documentation change (change only to the documentation, either a fix or a new content)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Infra/Build change
- [x] Code refractor
/te-ci pytorch