pytorch / cpuinfo

CPU INFOrmation library (x86/x86-64/ARM/ARM64, Linux/Windows/Android/macOS/iOS)
BSD 2-Clause "Simplified" License
1.01k stars 319 forks source link

clog in both cpuinfo and nnpack... #4

Closed jiapei100 closed 1 year ago

jiapei100 commented 6 years ago

If I install one package, I''ll fail the other with the following ERROR message:

Unpacking cpuinfo (20180706-6) ...
dpkg: error processing archive ....../cpuinfo/build/cpuinfo_20180706-6_amd64.deb (--install):
 trying to overwrite '/usr/local/include/clog.h', which is also in package nnpack 20180706-6
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:

Any suggestions?

Maratyszcza commented 6 years ago

NNPACK and cpuinfo are, generally, not expected to be installed through system packaging mechanisms, instead, they are designed to be imported via add_subdirectory in CMake and statically linked to projects using them, e.g. PyTorch.

jiapei100 commented 6 years ago

@Maratyszcza Should I install Caffe2 independently?

It seems Caffe2 is NOW integrated with PyTorch, should I build PyTorch directly? But, I'm using Ubuntu 18.04 with GCC 7.3.0, I failed to build current PyTorch...

Any other suggestions?

cdluminate commented 6 years ago

@jiapei100 May I ask where is that .deb package from? I'm going to package pytorch for Debian.

Maratyszcza commented 1 year ago

Fixed in #129