You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.") ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.
#52
Open
karlcao opened this issue
Nov 20, 2019
· 6 comments
1.find the following sentence: from torch.utils.ffi import create_extension
change it to : from torch.utils.cpp_extension import BuildExtension
2. find the following sentence: ffi = create_extension(…)
change it to: ffi = BuildExtension(…)
I follow the guidance, but pytorch1.0 do not support torch.utils.ffi. I can not run the code
The text was updated successfully, but these errors were encountered: