PyTorch-Encoding icon indicating copy to clipboard operation
PyTorch-Encoding copied to clipboard

lib compile failed

Open jesenzhang opened this issue 1 year ago • 2 comments

ubuntu 20.04 + pytorch2.0.1 installed torch-coding 1.2.1 from pip install when run a script in scripts folder ,raise an error incluing this message "gpu/lib_ssd.cu:22:10: fatal error: THC/THCNumerics.cuh: No such file or directory 22 | #include <THC/THCNumerics.cuh> ectify_cuda.cu(114) error: identifier "ScalarConvert" is undefined rectify_cuda.cu(114): error: type name is not allowed"

jesenzhang avatar Jul 18 '23 06:07 jesenzhang

I have the same proplem, how did you deal with it?

fpgboy avatar Jan 25 '24 08:01 fpgboy

I have the same proplem, how did you deal with it? Sorry,I have already forgotten about this matter.

jesenzhang avatar Jan 26 '24 09:01 jesenzhang