You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug][Relax] torch.max(x, dim) on a bool tensor fails at runtime: "Unsupported input dtype: bool" #20942
Could I work on the bool max-dim failure? I’d look at the topk lowering and CPU dtype handling, with regression tests for values and indices, negative dimensions, and keepdim.
AI disclosure: this allocation request was drafted and posted with AI assistance; I would do the implementation and submit the PR myself.
Activity
GoyalIshaan commentedon Nov 9, 2026
Could I work on the bool max-dim failure? I’d look at the topk lowering and CPU dtype handling, with regression tests for values and indices, negative dimensions, and keepdim.
AI disclosure: this allocation request was drafted and posted with AI assistance; I would do the implementation and submit the PR myself.