跳转到主要内容

run-e2e

星标91
分支11
更新时间2026年7月13日 11:38

Run the AFD plugin's e2e test suite — the tests marked @pytest.mark.gpu or @pytest.mark.npu (40 tests: 20 GPU + 20 NPU) under tests/e2e in the afd-plugin repo. Invoke when the user wants to run these e2e/GPU/NPU tests and says things like "test all", "test accuracy limit 5", "test features", "test models", "跑 e2e 测试", "跑 gpu/npu 测试". Auto-detects the hardware backend (GPU vs NPU), validates the toolchain, provisions model/device paths, and runs pytest by marker. Do NOT invoke for unit tests, for test_runner.py, or for "test this function" style requests.

· 实时索引

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

想先保存到本地?可下载 RuleHub 当前索引到的 GitHub 仓库压缩包。

下载 Zip
文件资源管理器2 个文件
SKILL.mdreadonly
namerun-e2e
descriptionRun the AFD plugin's e2e test suite — the tests marked @pytest.mark.gpu or @pytest.mark.npu (40 tests: 20 GPU + 20 NPU) ...

run-e2e

Run the AFD plugin's e2e test suite — the tests marked @pytest.mark.gpu or @pytest.mark.npu (40 tests: 20 GPU + 20 NPU) under tests/e2e in the afd-plugin repo. Invoke when the user wants to run these e2e/GPU/NPU tests and says things like "test all", "test accuracy limit 5", "test features", "test models", "跑 e2e 测试", "跑 gpu/npu 测试". Auto-detects the hardware backend (GPU vs NPU), validates the toolchain, provisions model/device paths, and runs pytest by marker. Do NOT invoke for unit tests, for test_runner.py, or for "test this function" style requests.

When to use

Use this skill when the user needs help with tasks related to run e2e.

Guidelines

  • Follow repository conventions in vllm-project/afd-plugin
  • Prefer minimal, focused changes
  • Validate outputs before finishing