Zum Inhalt springen
Kitbay
Skill

add-uint-support

NOASSERTIONAktualisiert am 11. Nov. 2026105.390GitHub-Sterne

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

Was der Skill vermittelt

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.

Funktionen

In der Dokumentation nicht angegeben