Fix AT_CHECK deprecated since torch 1.5#361
Fix AT_CHECK deprecated since torch 1.5#361guigarfr wants to merge 1 commit intotianzhi0549:masterfrom
Conversation
|
Hi, thank you very much for your contribution, but after I replaced the changed files with your, the error still exists, can you take a look at my errors? warnings.warn(incompatible_device_warn.format(device_name, capability, " ".join(arch_list), device_name)) The above exception was the direct cause of the following exception: Traceback (most recent call last): Thank you very much! |
Fixes this issue
AT_CHECK is deprecated since torch 1.5, so i added this code for compatibility.