I am having a package with its own cmake. I am trying to link the libraries of libtorch with it.
But after successful cmake, following error occured
Error: macro "Error" passed 4 arguments, but takes just 1
AT_ASSERT(impl == nullptr || impl->type() == device.type());
^
I am having a package with its own cmake. I am trying to link the libraries of libtorch with it. But after successful cmake, following error occured Error: macro "Error" passed 4 arguments, but takes just 1 AT_ASSERT(impl == nullptr || impl->type() == device.type()); ^