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
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
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: