Toolverse
All skills

add-uint-support

by 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 operators, kernels, or when user mentions enabling unsigned types, barebones unsigned types, or uint support.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
pytorch
Category
Data Science
Views
79

About this skill

Add unsigned integer (uint) type support to PyTorch operators by updating AT_DISPATCH macros. Use when adding support for uint16, uint32, uint64 types to operators, kernels, or when user mentions enabling unsigned types, barebones unsigned types, or uint support.

How to use

  1. Zidentyfikuj operator lub kernel, do którego chcesz dodać obsługę typów unsigned integer (uint16, uint32, uint64). Sprawdź, czy plik zawiera makra AT_DISPATCH.

  2. Jeśli plik używa starego AT_DISPATCH (bez V2), najpierw skonwertuj go do AT_DISPATCH_V2, ponieważ skill pracuje z wersją V2 makr.

  3. Zlokalizuj istniejące makro AT_DISPATCH_V2 w kodzie operatora. Zwykle wygląda ono jak: AT_DISPATCH_V2(dtype, "op", AT_WRAP(& { kernel(); }), AT_EXPAND(AT_ALL_TYPES)).

  4. Rozszerz makro o obsługę typów unsigned, dodając AT_EXPAND(AT_BAREBONES_UNSIGNED_TYPES) jako dodatkowy argument, lub zastąp AT_ALL_TYPES na AT_INTEGRAL_TYPES_V2, jeśli pracujesz z typami całkowitymi.

  5. Weryfikuj, że dodane typy (kUInt16, kUInt32, kUInt64) są obsługiwane przez kernel. Upewnij się, że implementacja kernela nie zawiera założeń specyficznych dla typów ze znakiem.

  6. Przetestuj zmiany, aby potwierdzić, że operator poprawnie obsługuje nowe typy unsigned integer w różnych scenariuszach użycia.

Related skills

skill-installer

by openai

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

Data Science
23118

prompt-optimizer

by solatis

Optimize system prompts for Claude Code agents using proven prompt engineering patterns. Use when users request prompt improvement, optimization, or refinement for agent workflows, tool instructions, or system behaviors.

Data Science
15109

docx

by anthropics

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content,

Data Science
39142

openrouter

by rawveg

OpenRouter API - Unified access to 400+ AI models through one API

Data Science
17138

nano-banana-pro

by garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., \

Data Science
535772

pdf

by anthropics

Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.

Data Science
31144