Use THPVariable_Unpack in python_nccl (#56016)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/56016
Missed these because I don't build on CUDA
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Test Plan: Imported from OSS
Reviewed By: bdhirsh
Differential Revision: D27765124
Pulled By: ezyang
fbshipit-source-id: aa202f594659d53c903b88c9d4a4cbb0e1c0b40a