I an tring to build environments based on cuda11.8, however, during compilation, there is a cuda environment fault
"""
OBBDetection/mmdet/ops/nms/src/cuda/nms_kernel.cu:6:10: fatal error: THC/THC.h: No such file or directory
6 | #include <THC/THC.h>
| ^~~~~~~~~~~
compilation terminated.
"""
Is there a solution except degrading cuda version and reinstalling everything? Thank you!