Open Aidyn-A opened 4 months ago
Q: what would happen if I build this with pytorch prior without the linked pr merged?
Q: what would happen if I build this with pytorch prior without the linked pr merged?
It will fail because ShareableHandle
struct gets defined only in that PR :unamused:
Q: what would happen if I build this with pytorch prior without the linked pr merged?
I think we can guard against TORCH_VERSION (or similar macro) for 2.5. Torch 2.4 will be released soon and won't have this field.
This PR adds
shareIpcHandle
toNCCLAllocator
to satisfy its base class definitionCUDAAllocator
which has recently changed (https://github.com/pytorch/pytorch/pull/130888).cc @xwang233