Hi,
The torch.utils.ffi module that was a temporary thing has been removed and replaced by a proper solution that is cpp extensions: doc 2 and tuto.
This is used by the pytorch-lighthead library that you are using.
So the library will need to be updated to support pytorch 1.0. In the meantime I’m afraid you will have to keep using 0.4 version