This commit is contained in:
Wei Fu 2025-05-25 16:37:06 +08:00 committed by GitHub
parent 070a1216ce
commit 919b2872a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 35 additions and 0 deletions

35
.github/ISSUE_TEMPLATE/refactor.md vendored Normal file
View File

@ -0,0 +1,35 @@
---
name: Refactor
about: Propose an API change
title: "[Refactor]"
labels: ''
assignees: ''
---
## Checklist
- [ ] Ive verified this refactor maintains backward compatibility with all user-facing APIs.
- [ ] For large-scale refactors, Ive prepared a phased implementation plan.
## Current Limitations
Describe existing design flaws or technical debt:
**Example:**
"`realhf/base/topology.py` currently only supports 3D parallelism for dense models, which limits extensibility for context parallelism or expert parallelism."
## Proposed Refactor
Explain the improvement and its benefits:
**Example:**
"Adopt Megatron-Cores parallel state management instead of thecustom topology implementation. This would reduce maintenance overhead and improve support for emerging parallelism techniques"
## Alternatives Considered
Briefly summarize and compare other potential approaches (if applicable).
## Additional Context
Add references, screenshots, or related discussions.