help: fatal error C1001: An internal error occurred in the compiler

code

at::Tensor
mask =at::empty({boxes_num},boxes.options().dtype(at::kLong).device(at::kCPU));
uint64_t* mask_flat = (uint64_t*) mask.data<int64_t>();
at::Tensor mask_cpu = mask.toBackend(at::Backend::CPU);//fatal error C1001: 编译器中发生内部错误。

compile error

When I add line 3-‘at::Tensor mask_cpu = mask.toBackend(at::Backend::CPU);’, link.exe
generates this error.
fatal error C1001: An internal error occurred in the compiler
link!InvokeCompilerPassW()+0x9f6a
link!InvokeCompilerPassW()+0x9eef
link!InvokeCompilerPassW()+0x9b81

cause

is it mabe thant NCCL not support in Windows?

No, apprently NCCL is not the reason. We exclude NCCL by default. Could you please tell me what are you trying to do and something about your environment?

Thanks a lot. I sovle it .