Open kindlychung opened 5 years ago
Looks like it depends on https://github.com/pytorch/pytorch
Really? I thought pytorch depends on aten.
So there's this line https://github.com/zdevito/ATen/blob/e5dd10dad89d870e922daf7cb1ceda1b8c30e9ca/aten/src/ATen/DeviceGuard.h#L4
#include <c10/Device.h>
which I think comes from here? https://github.com/pytorch/pytorch/blob/master/c10/Device.h
maybe the way we should interpret this is: c10 is an independent library that happens to reside in the pyTorch repository.
A closer look at the CMakeLists.txt might be valuable: https://github.com/pytorch/pytorch/blob/master/c10/CMakeLists.txt
There is also an "aten" inside the pytorch repo:
https://github.com/pytorch/pytorch/tree/master/aten
Do you know if these are different?
The aten in Pytorch does not build on its own https://github.com/pytorch/pytorch/issues/12452
I have added c10 from Pytorch https://github.com/LoopPerfect/buckaroo-recipes/commit/66df7e3e28296dd891e01c5aa85574cac86835df
https://github.com/zdevito/ATen