Skip to content

Macro error while installing Libtorch with cmake of a different package #5

Open
@sangeeta-yadav-iisc

Description

@sangeeta-yadav-iisc

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());
^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions