While building a CUDA extension on Windows, I am getting the following errors in the “module.h” header of PyTorch code. Any idea about the cause/fix?
Thanks.
PathToCondaEnv/lib/site-packages/torch/include\torch/csrc/jit/api/module.h(474): error: member “torch::jit::detail::ModulePolicy::all_slots” may not be initialized
PathToCondaEnv/lib/site-packages/torch/include\torch/csrc/jit/api/module.h(487): error: member “torch::jit::detail::ParameterPolicy::all_slots” may not be initialized
PathToCondaEnv/lib/site-packages/torch/include\torch/csrc/jit/api/module.h(501): error: member “torch::jit::detail::BufferPolicy::all_slots” may not be initialized
PathToCondaEnv/lib/site-packages/torch/include\torch/csrc/jit/api/module.h(514): error: member “torch::jit::detail::AttributePolicy::all_slots” may not be initialized