Skip to content

Conversation

@LoserCheems
Copy link
Collaborator

Introduce standardized templates for issues and pull requests to enhance reporting and diagnostics.

Introduces standardized issue and pull request templates to streamline bug reports, feature proposals, and performance diagnostics.

Relaxes validation in variable-length attention forward by dropping dtype/device checks for mask and bias, enabling optional inputs and avoiding unnecessary failures.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces standardized issue and pull request templates to improve bug reporting, feature requests, and PR submissions for the Flash-DMA project. Additionally, it removes unused mask and bias device validation checks from the attention implementation.

  • Adds comprehensive GitHub templates for different types of issues (bug reports, feature requests, performance issues) and PRs (bug fixes, feature support, performance optimizations)
  • Removes unnecessary device validation checks for mask and bias parameters in the flash attention code

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
.github/ISSUE_TEMPLATE/bug_report.yml Bug report template with environment info and reproduction steps
.github/ISSUE_TEMPLATE/feature_request.yml Feature request template with problem statement and implementation details
.github/ISSUE_TEMPLATE/performance_issue.yml Performance issue template with benchmarking and profiling sections
.github/PULL_REQUEST_TEMPLATE/bug_fix.yml Bug fix PR template with root cause analysis and testing requirements
.github/PULL_REQUEST_TEMPLATE/feature_support.yml Feature PR template with design context and API changes
.github/PULL_REQUEST_TEMPLATE/performance_optimization.yml Performance optimization PR template with benchmark evidence
csrc/flash_dmattn/flash_api.cpp Removes device validation checks for mask and bias parameters

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

- type: markdown
attributes:
value: |
Document the optimisation, methodology, and results so reviewers can validate gains and correctness.
Copy link

Copilot AI Oct 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'optimisation' to 'optimization' for American English consistency.

Copilot uses AI. Check for mistakes.
LoserCheems and others added 5 commits October 10, 2025 15:41
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@LoserCheems LoserCheems merged commit 291dbd5 into main Oct 10, 2025
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.

10 participants