Pular para o conteúdo
Kitbay
Skill

add-uint-support

NOASSERTIONAtualizado em 11 de nov. de 2026105.390Estrelas no GitHub

A contributor skill in the PyTorch repository for letting existing operator kernels accept 16, 32 and 64-bit unsigned integer tensors.

O que a skill ensina

A contributor skill in the PyTorch repository for letting existing operator kernels accept 16, 32 and 64-bit unsigned integer tensors. The agent checks that the file already uses the newer AT_DISPATCH_V2 macros, converting it first with the companion at-dispatch-v2 skill if not, then either adds the unsigned type group to each dispatch call or swaps the integral group for the version that includes unsigned types. It updates every dispatch site in the file, CPU and CUDA alike, leaves floating-point-only operators alone, skips files that already have unsigned support, and shows the user the diff. Testing is left to the user, and it notes that some operators make no sense for unsigned types.

O que faz

Não informado na documentação