Skip to content

Pytorch version causes compiling warnings #2

@huangdi95

Description

@huangdi95

Hi, thanks for your nice work!

I've met some warnings when compiling with torch>=1.3.0. It seems that these warnings do not prevent my code from execution, but how can I solve this problem?

cuda-cudnn 10.1-7.6.5
torch 1.3.0
gcc 7.5.0
Makefile changed to c++14

The warnings are shown as below:

anaconda3/lib/python3.6/site-packages/torch/include/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity
anaconda3/lib/python3.6/site-packages/torch/include/c10/core/TensorTypeSet.h(44): warning: integer conversion resulted in a change of sign
anaconda3/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(97): warning: attribute "__visibility__" does not apply here

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions