`torch.trace` raises `NotImplementedError` for `float16` input on CPU — no kernel registered for `Half`, no documented exclusion, NumPy handles it fine

May 22, 2026 · #184847
View on GitHub
Python Difficulty: Medium

Labels

module: cpu triaged module: half module: linear algebra bot-triaged
Ready to work on this? Walk through the full fork-to-PR workflow so your first contribution goes smoothly.

Sign in required

Authenticate to use favourites & bookmarks

5