Skip to content

Compilation errors on master, Ubuntu 17.10, CUDA 9, GCC 6.4 / GCC 5.4.1 #5136

@vadimkantorov

Description

@vadimkantorov

Probably similar to #3963 and #3807, but this time in ATen_generated_TensorCompare.cu.o and with more errors.

The machine is clean, no previous versions of PyTorch are present. Full log in attachment:
log.txt

Main error types are:

.../pytorch/torch/lib/build/aten/src/ATen/ATen/Functions.h:1635:61:   required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
       return __and_<is_convertible<_UElements&&, _Elements>...>::value;

.../pytorch/torch/lib/build/aten/src/ATen/ATen/Functions.h:1635:61:   required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
       return  __and_<__not_<is_same<tuple<_Elements...>,

Something is wrong about using tuple

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