[FEATURE]: Improve the bug report issue template and add a regression template
Describe the feature
Problem
The bug report form only requires a free-text description. The environment is an optional free-text box, and the reproduction script is a dropdown that asks whether the reporter is willing to share one, so a report can be submitted without any version, hardware or reproduction information. In a review of the currently open issues, about a third did not contain enough information to tell whether the problem still exists on main, and triage had to start by asking for versions.
There is also no form for regressions, i.e. a workload that got slower, used more memory, lost accuracy or stopped working after updating ColossalAI or a dependency. With PyTorch 2.13 and Transformers 5 support recently landed, such reports are expected, and they need the versions and metrics before and after the update to be actionable.
Finally, the existing wording assumes NVIDIA GPUs and CUDA, which does not fit reports from other accelerators such as Ascend NPUs.
Proposed solution
- Bug report form:
- Required: a minimal reproduction (or a description of the config if code cannot be shared), the ColossalAI version or commit, the PyTorch version, and the accelerator model with the number of devices and nodes.
- Optional, as separate fields: error logs, Transformers version, accelerator software versions (CUDA / NCCL, torch_npu / CANN / HCCL, ROCm / RCCL), Booster plugin, parallel configuration, and the output of
colossalai check -i. - These replace the optional "Environment" box and the "willing to share a script" dropdown.
- New regression form (
[REGRESSION]:, labelledregression): type of regression, versions and metrics before and after, reproduction, and hardware. - Blank issues, the contact links and the documentation, feature request and proposal forms are unchanged.
Validation
The YAML of both forms is checked by a parser. The rendered forms will be shown in the associated PR.