mega.pytorch
mega.pytorch copied to clipboard
error: identifier "AT_CHECK" is undefined
I had an error during installation:

I'm not sure where the Macro came from , how to fix it?
Thanks
I have solved this problem after switching pytorch to version 1.3. Can the program only run in version 1.3?
replace AT_CHECK with TORCH_CHECK
#ifndef AT_CHECK
#define AT_CHECK TORCH_CHECK
#endif