add-uint-support 是做什麼的?
通過更新 AT_DISPATCH 巨集,為 PyTorch 運算子新增無符號整數 (uint) 類型支援。在需要為運算子、核心新增 uint16、uint32、uint64 類型支援,或使用者提及啟用無符號類型、精簡無符號類型或 uint 支援時使用。
通過更新 AT_DISPATCH 巨集,為 PyTorch 運算子新增無符號整數 (uint) 類型支援。在需要為運算子、核心新增 uint16、uint32、uint64 類型支援,或使用者提及啟用無符號類型、精簡無符號類型或 uint 支援時使用。
此技能旨在簡化在 PyTorch 中為運算子與核心新增無符號整數(uint16、uint32、uint64)類型支援的流程。其主要機制是修改 `AT_DISPATCH` 巨集,讓開發者能更輕鬆地在各種運算中啟用無符號類型,無需手動處理繁瑣的模板或型別分派。該技能適用於任何 PyTorch 開發環境,包括研究原型與生產級模型訓練,透過增加對無符號整數的支援,可提升運算效率並減少記憶體使用,尤其適合影像處理、嵌入式系統及低精度模型等領域。使用方式非常直接:開發者只需在運算子或核心程式碼中呼叫對應的巨集,並指定所需的 uint 類型即可。此外,該技能也支援精簡的無符號類型,僅需極少的樣板程式碼,讓開發者專注於演算法邏輯而非型別分派細節。
npx skills add https://github.com/pytorch/pytorch/tree/main/skills/add-uint-supportInstalled? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
通過更新 AT_DISPATCH 巨集,為 PyTorch 運算子新增無符號整數 (uint) 類型支援。在需要為運算子、核心新增 uint16、uint32、uint64 類型支援,或使用者提及啟用無符號類型、精簡無符號類型或 uint 支援時使用。
This repo contains 8 individual skills — each has its own dedicated page.
Debug AOTInductor (AOTI) errors and crashes. Use when encountering AOTI segfaults, device mismatch errors, constant loading failures, or runtime errors from aot_compile, aot_load, aoti_compile_and_package, or aoti_load_package.
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 other dispatch macros to the new v2 API. For ATen kernel files, CUDA kernels, and native operator implementations.
Write docstrings for PyTorch functions and methods following PyTorch conventions. Use when writing or updating docstrings in PyTorch code.
Write Metal/MPS kernels for PyTorch operators. Use when adding MPS device support to operators, implementing Metal shaders, or porting CUDA kernels to Apple Silicon. Covers native_functions.yaml dispatch, host-side operators, and Metal kernel implementation.
Review PyTorch pull requests for code quality, test coverage, security, and backward compatibility. Use when reviewing PRs, when asked to review code changes, or when the user mentions "review PR", "code review", or "check this PR".
Migrate a file to use stricter Pyrefly type checking with annotations required for all functions, classes, and attributes.
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 files, frontmatter, or skill structure.
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 issue.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.