ambiguous overload for TORCH_LIBRARY def
#126519
Labels
module: internals
Related to internal abstractions in c10 and ATen
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
馃悰 Describe the bug
The two overloads of
library.def
,are ambiguous when
tags
are used:Func&&
matches anything, so both options appear as viable overloads.The second overload should be SFINAEd away if
Func
is a vector of tags.Versions
PyTorch version: 2.3.0+cu121
cc @ezyang @bhosmer @smessmer @ljk53 @bdhirsh
The text was updated successfully, but these errors were encountered: