P

Pytorch技能

add-uint-support
pytorch
Add unsigned integer (uint) type support to PyTorch operators by updating AT_DISPATCH macros. Use when adding support for uint16, uint32, uint64 types to…
official
add-uint-support
pytorch
為 PyTorch 運算子新增無號整數(uint)型別支援,透過更新 AT_DISPATCH 巨集。用於為 uint16、uint32、uint64 型別新增支援至…
official
aoti-debug
pytorch
調試 AOTInductor (AOTI) 錯誤與崩潰。用於遇到 AOTI 段錯誤、設備不匹配錯誤、常量加載失敗或運行時錯誤時…
official
aoti-debug
pytorch
Debug AOTInductor (AOTI) errors and crashes. Use when encountering AOTI segfaults, device mismatch errors, constant loading failures, or runtime errors from…
official
at-dispatch-v2
pytorch
Convert PyTorch AT_DISPATCH macros to AT_DISPATCH_V2 format in ATen C++ code. Use when porting AT_DISPATCH_ALL_TYPES_AND*, AT_DISPATCH_FLOATING_TYPES*, or…
official
at-dispatch-v2
pytorch
將 PyTorch 的 AT_DISPATCH 巨集轉換為 ATen C++ 程式碼中的 AT_DISPATCH_V2 格式。適用於移植 AT_DISPATCH_ALL_TYPES_AND*、AT_DISPATCH_FLOATING_TYPES* 或…
official
binary-size
pytorch
分析並減少 ExecuTorch 的二進位大小。適用於調查二進位大小、執行大小測試,或針對大小受限的部署最佳化執行環境。
official
building
pytorch
從原始碼建置 ExecuTorch — Python 套件、C++ 執行環境、執行器、交叉編譯及後端特定建置。在編譯任何內容時使用…
official
ci-metrics
pytorch
查詢 PyTorch CI、GitHub Actions、HUD、Grafana 以及基礎設施指標。當使用者詢問關於 CI 持續時間、任務失敗、佇列時間、工作流程趨勢等問題時使用。
official
cortex-m
pytorch
建置、測試或開發 Cortex-M (CMSIS-NN) 後端。在處理 backends/cortex_m/、執行 Cortex-M 測試或匯出 Cortex-M 模型時使用…
official
cuda-index-width
pytorch
Choose 32-bit vs 64-bit index math in PyTorch CUDA kernels. Use when fixing large-tensor indexing overflows, deciding whether to use int64_t,…
official
cuda-index-width
pytorch
在 PyTorch CUDA 核心中選擇 32 位元或 64 位元索引運算。用於修復大型張量索引溢位、決定是否使用 int64_t 等情況。
official
distributed-triage
pytorch
在 oncall:distributed 佇列中進行子分類,透過指派分散式模組標籤、轉發至子值班人員,並標記為已分類。適用於當問題具有…
official
docstring
pytorch
Write docstrings for PyTorch functions and methods following PyTorch conventions. Use when writing or updating docstrings in PyTorch code.
official
docstring
pytorch
為PyTorch函數和方法撰寫符合PyTorch慣例的文件字串。適用於在PyTorch程式碼中撰寫或更新文件字串時使用。
official
document-public-apis
pytorch
Document undocumented public APIs in PyTorch by removing functions from coverage_ignore_functions and coverage_ignore_classes in docs/source/conf.py, running…
official
document-public-apis
pytorch
透過從 docs/source/conf.py 中的 coverage_ignore_functions 和 coverage_ignore_classes 移除函式,並執行…來記錄 PyTorch 中未記錄的公開 API。
official
executorch-kb
pytorch
搜尋 ExecuTorch 部落知識庫,涵蓋 QNN、XNNPACK、Vulkan、CoreML、Arm 與 Cadence 後端、量化配方、匯出陷阱、執行時期…
official
export
pytorch
將 PyTorch 模型匯出為 .pte 格式以用於 ExecuTorch。適用於轉換模型、降級至邊緣端或產生 .pte 檔案時使用。
official
fix-issue
pytorch
Fix bugs reported in PyTorch GitHub issues by reproducing, root-causing, and implementing a fix in the local working tree. Use when the user asks to fix a…
official
fix-issue
pytorch
修復 PyTorch GitHub 問題中回報的錯誤,透過重現、找出根本原因,並在本地工作樹中實作修復。當使用者要求修復…時使用。
official
metal-kernel
pytorch
Write Metal/MPS kernels for PyTorch operators. Use when adding MPS device support to operators, implementing Metal shaders, or porting CUDA kernels to Apple…
official
metal-kernel
pytorch
為PyTorch運算元編寫Metal/MPS內核。用於為運算元添加MPS設備支援、實現Metal著色器,或將CUDA內核移植到Apple…
official
migrate-workflow-ec2-to-osdc
pytorch
Step-by-step playbook for migrating a pytorch/pytorch .github/workflows/*.yml from EC2 to OSDC (ARC) runners — covers both dial-up and 100% opt-in patterns,…
official
migrate-workflow-ec2-to-osdc
pytorch
逐步操作手冊,用於將 pytorch/pytorch 的 .github/workflows/*.yml 從 EC2 遷移至 OSDC (ARC) 執行器 — 涵蓋撥號與 100% 自願加入模式…
official
pr-review
pytorch
審查 PyTorch 的拉取請求,針對程式碼品質、測試覆蓋率、安全性及向後相容性。適用於審查 PR 時、被要求審查程式碼變更時…
official
pr-review
pytorch
Review PyTorch pull requests for code quality, test coverage, security, and backward compatibility. Use when reviewing PRs, when asked to review code changes,…
official
profile
pytorch
執行 ExecuTorch 模型。用於測量效能、分析運算子時間或除錯緩慢模型時使用。
official
pt2-bug-basher
pytorch
調試 PyTorch 2 編譯器堆疊故障,包括 Dynamo 圖中斷、Inductor 程式碼生成錯誤、AOTAutograd 崩潰以及準確度不匹配。當…時使用
official
pt2-bug-basher
pytorch
Debug PyTorch 2 compiler stack failures including Dynamo graph breaks, Inductor codegen errors, AOTAutograd crashes, and accuracy mismatches. Use when…
official
pyrefly-type-coverage
pytorch
Migrate a file to use stricter Pyrefly type checking with annotations required for all functions, classes, and attributes.
official
pyrefly-type-coverage
pytorch
將檔案遷移至使用更嚴格的 Pyrefly 型別檢查,並要求所有函式、類別與屬性都加上註釋。
official
qualcomm
pytorch
建置、測試或開發 QNN(Qualcomm AI Engine Direct)後端。在處理 backends/qualcomm/、建置 QNN(使用…
official
r2-outage-toggle
pytorch
在R2中斷期間,於manage_v2.py中停用或重新啟用Cloudflare R2(download-r2.pytorch.org)的使用。可切換R2的開啟/關閉,適用於夜間建置、正式版/穩定版…
official
r2-outage-toggle
pytorch
Disable or re-enable Cloudflare R2 (download-r2.pytorch.org) usage in manage_v2.py during R2 outages. Can toggle R2 off/on for nightly builds, prod/stable…
official
release-cherry-pick-missing-reverts
pytorch
找出已合併到 pytorch/pytorch 主分支但尚未納入發行分支(release/X.Y)的回退,因為被回退的提交已隨某個版本發布…
official
release-cherry-pick-missing-reverts
pytorch
Find reverts that landed on pytorch/pytorch main but are missing from a release branch (release/X.Y) because the reverted commit was already shipped in a…
official
release-create-tracker-issue
pytorch
根據發布公告生成(並可選擇打開)PyTorch 發布追蹤器 / cherry-pick 追蹤問題,例如…
official
release-create-tracker-issue
pytorch
Generate (and optionally open) a PyTorch release tracker / cherry-pick tracking issue from a release announcement, like…
official
release-create-validation-issue
pytorch
從 GitHub 里程碑中提取已開啟/已關閉的問題,並從版本追蹤問題中提取精選提交,以生成 PyTorch 版本驗證檢查清單問題。
official
release-create-validation-issue
pytorch
Generate a PyTorch release validation checklist issue by pulling open/closed issues from a GitHub milestone and cherry-picks from a release tracker issue.…
official
release-go-live-binary-build-matrix
pytorch
當 PyTorch 版本正式發佈時,更新 tools/scripts/generate_binary_build_matrix.py。將 CURRENT_STABLE_VERSION 推進至新的穩定版本,並提升…
official
release-go-live-binary-build-matrix
pytorch
Update tools/scripts/generate_binary_build_matrix.py when a PyTorch release goes live. Advances CURRENT_STABLE_VERSION to the new stable, promotes the…
official
release-update-docker-image-pin
pytorch
固定(或重新固定)pytorch/pytorch 中夜間/發布二進位構建工作流程所使用的 Linux manywheel 建置器 Docker 映像,至一個固定的 .ci/docker 建置。…
official
release-update-docker-image-pin
pytorch
Pin (or re-pin) the Linux manywheel builder docker images used by the nightly/release binary build workflows in pytorch/pytorch to a fixed .ci/docker build.…
official
scrub-issue
pytorch
Fetch, analyze, reproduce, and minimize GitHub issue reproductions. Use only when the user asks to check whether a GitHub issue reproduces, minimize a GitHub…
official
scrub-issue
pytorch
獲取、分析、重現並最小化 GitHub 問題重現步驟。當被要求檢查問題是否可重現、最小化重現步驟、分析錯誤報告或…時使用。
official
setup
pytorch
設定 ExecuTorch 開發環境。在安裝依賴項、設定 conda 環境或準備使用 ExecuTorch 進行開發時使用。
official
skill-writer
pytorch
為 Claude Code 建立結構化 Agent Skills 的指南,包含最佳實踐與驗證方法。涵蓋完整的 Skill 生命週期:範圍界定、檔案結構、YAML 前置資料驗證、內容組織與測試流程。強制執行嚴格的命名規則(小寫、連字號、最多 64 個字元)與描述要求(特定觸發條件、檔案類型、「什麼」與「何時」子句)。提供常見模式的範本,包括唯讀 Skills、基於腳本的 Skills,以及多檔案 Skills 搭配...
official
skill-writer
pytorch
Guide users through creating Agent Skills for Claude Code. Use when the user wants to create, write, author, or design a new Skill, or needs help with SKILL.md…
official
triaging-issues
pytorch
根據路由將GitHub問題分派給值班團隊、套用標籤,並關閉提問。適用於處理新的PyTorch問題,或當被要求對某個問題進行分類時…
official
triaging-issues
pytorch
Triages GitHub issues by routing to oncall teams, applying labels, and closing questions. Use when processing new PyTorch issues or when asked to triage an…
official
vllm-pytorch-ci-triage
pytorch
針對一個因 PyTorch 版本升級而失敗的 vLLM Buildkite CI 建置進行分類,透過與近期主分支的結果比對,區分新出現的回歸問題與既有的失敗。
official
vllm-pytorch-ci-triage
pytorch
Triage a failing vLLM Buildkite CI build for a PyTorch version-bump PR, isolate new regressions vs. pre-existing failures on main by comparing against recent…
official
wheel-size-analyzer
pytorch
分析 PyTorch nightly wheel 在指定日期範圍內的大小,使用 GitHub Actions artifacts API。適用於追蹤二進位檔案大小變化、識別 wheel 大小…
official
wheel-size-analyzer
pytorch
Analyze PyTorch nightly wheel sizes over a date range using GitHub Actions artifacts API. Use when tracking binary size changes, identifying wheel size…
official
zephyr
pytorch
為嵌入式開發板建置並配置 ExecuTorch 作為 Zephyr RTOS 模組。用於設定包含 ET 的 Zephyr 工作區、新增開發板支援(覆蓋層、…)
official