Repository navigation
feat: add collect-env environment report tool + issue templates (bug, feature request) #4007
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
b51e622
2f8b0c3
4e77e03
33ebdfd
edd2607
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| name: 🐛 Bug Report | ||
| description: > | ||
| Report something broken, wrong, or slower than it used to be — correctness | ||
| issues, crashes, build/install failures, or performance regressions. For new | ||
| capabilities or speedups, use 🚀 Kernel / Feature Request instead. | ||
| labels: ["bug"] | ||
| body: | ||
| - type: checkboxes | ||
| id: presubmit | ||
| attributes: | ||
| label: Before submitting | ||
| options: | ||
| - label: I have searched existing issues and did not find a solution or an existing report. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. for future, i believe it's common practice that a bot flags dup issues and "threatens" to close if not justifying against the duplication. e.g. claude code repo
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agreed — a dedup bot that flags likely duplicates and auto-closes unless the reporter justifies (like anthropics/claude-code) is a good follow-up. Out of scope here; this checkbox is the manual placeholder until then. |
||
| required: true | ||
| - type: textarea | ||
| id: environment | ||
| attributes: | ||
| label: Environment | ||
| description: > | ||
| Run `python -m flashinfer.collect_env` (or `flashinfer collect-env`) | ||
| in the exact environment (same venv/container) where the bug | ||
| reproduces and paste the full output below. If `import flashinfer` itself is broken, download the | ||
| standalone script and run it with plain Python: | ||
| `curl -OL https://raw.githubusercontent.com/flashinfer-ai/flashinfer/main/flashinfer/collect_env.py && python collect_env.py`. | ||
| The report includes which cuDNN/cuBLAS/CUDA libraries are *actually | ||
| loaded* vs merely installed — this resolves most "works on my machine" | ||
| divergence, so please don't trim it. | ||
| value: | | ||
| <details> | ||
| <summary>Output of python -m flashinfer.collect_env</summary> | ||
|
|
||
| ```text | ||
| PASTE OUTPUT HERE | ||
| ``` | ||
|
|
||
| </details> | ||
|
coderabbitai[bot] marked this conversation as resolved.
Resolved
|
||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: description | ||
| attributes: | ||
| label: Bug description | ||
| description: What happened, and what did you expect to happen instead? | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we can separate this into two fields
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done in 33ebdfd — split a dedicated optional "Error messages / logs" textarea (render: text) out of the reproduction field, following the claude-code structure. The repro field now asks only for the script. |
||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: reproduce | ||
| attributes: | ||
| label: Minimal reproduction | ||
| description: > | ||
| Smallest self-contained script that reproduces the issue — a short | ||
| standalone Python script is far more actionable than a full | ||
| `vllm serve ...` invocation. Include exact shapes/dtypes and the | ||
| backend selected (fa2/fa3/cudnn/trtllm/cutlass/...). If the failure | ||
| involves JIT compilation, re-run with `FLASHINFER_JIT_VERBOSE=1` and | ||
| attach the log. | ||
| render: python | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: extra | ||
| attributes: | ||
| label: Additional context | ||
| description: Stack traces, logs, related issues, workarounds you tried. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,186 @@ | ||
| name: 🚀 Kernel / Feature Request | ||
| description: > | ||
| Request a kernel, hardware enablement, framework integration, API, or | ||
| performance improvement. For something broken, wrong, or slower than it | ||
| used to be, use 🐛 Bug Report instead. | ||
| title: "[Feature]: " | ||
| labels: ["feature request"] | ||
| body: | ||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| Thanks for helping us understand the request and its impact. Please use | ||
| public, non-confidential information. **Only the first four fields are | ||
| required** — the optional fields below them help the team scope and | ||
| prioritize faster, so fill in what you can. | ||
|
|
||
| - type: checkboxes | ||
| id: presubmit | ||
| attributes: | ||
| label: Before submitting | ||
| options: | ||
| - label: I have searched existing issues and this request has not been filed yet. | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: problem | ||
| attributes: | ||
| label: Problem | ||
| description: > | ||
| Describe the problem and what is blocked or inefficient today. If you | ||
| have a trace/profile or a minimal script that demonstrates it, link or | ||
| attach it here. | ||
| placeholder: | | ||
| Today, users cannot... | ||
| The current behavior is... | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: requested-outcome | ||
| attributes: | ||
| label: Requested outcome | ||
| description: > | ||
| Describe the capability or behavior you want. Focus on the outcome | ||
| rather than prescribing an implementation. | ||
| placeholder: | | ||
| Add support for... | ||
| The public API or framework should be able to... | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: dropdown | ||
| id: hardware | ||
| attributes: | ||
| label: Target hardware | ||
| description: Select every confirmed target. | ||
| multiple: true | ||
| options: | ||
| - SM80 / SM86 (A100, A30, RTX 30-series) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. SM87 Orin? (avoid getting filed into unknown)
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added in edd2607 — folded into the Ampere row: |
||
| - SM89 (L4, L40S, RTX 40-series) | ||
| - SM90 (H100, H200, H20) | ||
| - SM100 (B200, GB200) | ||
| - SM103 (B300, GB300) | ||
| - SM120 (RTX PRO 6000, RTX 50-series) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. SM110 Thor? (avoid getting filed into unknown)
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added in edd2607 as |
||
| - SM121 (GB10 — DGX Spark, RTX Spark) | ||
| - Future architecture | ||
| - Hardware-independent | ||
| - Other or unknown | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: dropdown | ||
| id: inference-engine | ||
| attributes: | ||
| label: Inference engine | ||
| description: Select every engine or integration path this applies to. | ||
| multiple: true | ||
| options: | ||
| - vLLM | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. for future, this info can be used to auto-label stuff with a git action
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agreed — that's part of why these are dropdowns rather than free text: the selections render machine-parseably in the issue body, so a labeler action can map hardware/engine choices to labels. Good follow-up once the templates land. |
||
| - SGLang | ||
| - TRT-LLM | ||
| - PyTorch native | ||
| - Custom / other | ||
| - Not applicable | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| --- | ||
| **Everything below is optional** — the more you fill in, the faster the | ||
| team can act on the request. | ||
|
|
||
| - type: input | ||
| id: models | ||
| attributes: | ||
| label: Affected model or model family | ||
| description: > | ||
| Exact checkpoint or family with a public link, if the request is | ||
| model-driven. | ||
| placeholder: "Example: Qwen3.5-397B-A17B-NVFP4 - https://huggingface.co/..." | ||
| validations: | ||
| required: false | ||
|
|
||
| - type: textarea | ||
| id: workload | ||
| attributes: | ||
| label: Workload and configuration | ||
| description: > | ||
| The single most useful section for kernel/performance requests — enough | ||
| detail to identify the operator path and representative shapes. For the | ||
| environment line, paste the output of `python -m flashinfer.collect_env`. | ||
| value: | | ||
| - Data type and quantization: | ||
| - Batch size or request concurrency: | ||
| - Sequence lengths or token counts: | ||
| - Parallelism: TP / EP / DP / PP / disaggregated | ||
| - Relevant shapes: heads, head dimension, hidden size, experts, top-k, page size, or other | ||
| - Environment: output of `python -m flashinfer.collect_env` | ||
| validations: | ||
| required: false | ||
|
|
||
| - type: textarea | ||
| id: alternatives | ||
| attributes: | ||
| label: Current workaround | ||
| description: > | ||
| The workaround, fallback, or alternative currently used and its | ||
| limitations. | ||
| placeholder: "Example: We currently use Marlin, but it is slower for these shapes and requires an extra repack." | ||
| validations: | ||
| required: false | ||
|
|
||
| - type: dropdown | ||
| id: impact-type | ||
| attributes: | ||
| label: Impact | ||
| description: Select all outcomes that apply. | ||
| multiple: true | ||
| options: | ||
| - Missing model or hardware support | ||
| - Production deployment blocker | ||
| - Correctness or numerical-quality risk | ||
| - Crash, hang, or reliability risk | ||
| - Throughput | ||
| - Latency | ||
| - Memory capacity or bandwidth | ||
| - Startup, compilation, or autotuning time | ||
| - API usability or integration complexity | ||
| - Testing, maintainability, or documentation | ||
| - Other | ||
| validations: | ||
| required: false | ||
|
|
||
| - type: textarea | ||
| id: acceptance-criteria | ||
| attributes: | ||
| label: Acceptance criteria | ||
| description: > | ||
| How maintainers can verify completion — measurable thresholds for | ||
| performance requests, correctness tests for new functionality. | ||
| placeholder: | | ||
| - Passes ... correctness tests across ... shapes and dtypes. | ||
| - Achieves at least ... with no more than ... regression elsewhere. | ||
| validations: | ||
| required: false | ||
|
|
||
| - type: textarea | ||
| id: scope-and-dependencies | ||
| attributes: | ||
| label: Related work, dependencies, or suggested scope | ||
| description: > | ||
| Related issues/PRs, upstream dependencies, prerequisite kernels/APIs, | ||
| or an implementation outline. | ||
| validations: | ||
| required: false | ||
|
|
||
| - type: input | ||
| id: timing | ||
| attributes: | ||
| label: Timing or release need | ||
| description: A concrete external milestone or required release, only if one exists. | ||
| placeholder: "Example: Needed for v0.7.x or public launch on 2026-10-15" | ||
| validations: | ||
| required: false | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are the emojis in the "name" necessary? i don't get it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ecosystem convention — vLLM (bug, feature) and PyTorch (bug, feature) use this exact 🐛/🚀 pair in their template names (SGLang too, with 🐞). They help visual scanning in the template chooser, so keeping them.