mirror of
https://github.com/deepseek-ai/DeepInfer.git
synced 2026-10-28 23:07:09 +08:00
Add bilingual issue and PR templates
English first, Chinese at the end in a collapsed <details> block. The PR template lists the tests/neuron suite commands. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
760e3cadc0
commit
5d5cbf2985
34
.github/ISSUE_TEMPLATE/task.md
vendored
Normal file
34
.github/ISSUE_TEMPLATE/task.md
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
---
|
||||
name: Task
|
||||
about: A self-contained task for the Neuron (Trainium) port
|
||||
title: "[area] "
|
||||
labels: ''
|
||||
assignees: ''
|
||||
---
|
||||
|
||||
**Context.** What is observed today (symptom, measurement, file/function involved).
|
||||
|
||||
**Task.** What to change, and where.
|
||||
|
||||
**Done when.** The concrete check that closes the issue (test command, numbers).
|
||||
|
||||
**Pointers.** Relevant files, issues (#N), docs, prior art.
|
||||
|
||||
---
|
||||
Branch: `neuron`. Design notes: [`deepinfer/neuron_ops/NEURON_PORT.md`](https://github.com/whn09/DeepInfer/blob/neuron/deepinfer/neuron_ops/NEURON_PORT.md). Test suite: `tests/neuron/setup_trn2.sh`, `tests/neuron/run_all.sh` (CPU mode: `DEEPINFER_NEURON_DEVICE=cpu`). Comment here to claim this task.
|
||||
|
||||
<details>
|
||||
<summary>中文</summary>
|
||||
|
||||
**背景。** 目前观察到的情况(现象、测量结果、涉及的文件/函数)。
|
||||
|
||||
**任务。** 要改什么、改在哪里。
|
||||
|
||||
**完成标准。** 关闭该 issue 的具体检查方式(测试命令、数值)。
|
||||
|
||||
**线索。** 相关文件、issue(#N)、文档、已有参考实现。
|
||||
|
||||
---
|
||||
分支:`neuron`。设计说明:[`deepinfer/neuron_ops/NEURON_PORT.md`](https://github.com/whn09/DeepInfer/blob/neuron/deepinfer/neuron_ops/NEURON_PORT.md)。测试套件:`tests/neuron/setup_trn2.sh`、`tests/neuron/run_all.sh`(CPU 模式:`DEEPINFER_NEURON_DEVICE=cpu`)。在此留言即可认领该任务。
|
||||
|
||||
</details>
|
||||
34
.github/pull_request_template.md
vendored
Normal file
34
.github/pull_request_template.md
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
## Summary
|
||||
What this PR does and why.
|
||||
|
||||
## Changes
|
||||
-
|
||||
|
||||
## Testing
|
||||
- [ ] `bash tests/neuron/run_all.sh cpu` (host only)
|
||||
- [ ] `CORES=<range> bash tests/neuron/run_all.sh device` (if you have free NeuronCores; state the range used)
|
||||
|
||||
Paste the relevant results (pass/fail, numbers vs golden).
|
||||
|
||||
## Related issues
|
||||
Closes #
|
||||
|
||||
<details>
|
||||
<summary>中文</summary>
|
||||
|
||||
## 概述
|
||||
本 PR 做了什么、为什么。
|
||||
|
||||
## 改动
|
||||
-
|
||||
|
||||
## 测试
|
||||
- `bash tests/neuron/run_all.sh cpu`(仅 host)
|
||||
- `CORES=<range> bash tests/neuron/run_all.sh device`(如有空闲 NeuronCore;注明所用范围)
|
||||
|
||||
贴出相关结果(通过/失败、与 golden 对比的数值)。
|
||||
|
||||
## 相关 issue
|
||||
Closes #
|
||||
|
||||
</details>
|
||||
Loading…
x
Reference in New Issue
Block a user