Based on the provided log it seems the error is:
`unresolved external symbol ""float __cdecl pow(float,int)"`

which points towards this older issue 11, which should have been already solved in newer PyTorch versions.
In case you need to use PyTorch 1.7.0 you could apply the proposed fixes mentioned in the issue or you could alternatively just update to the latest stable or nightly release.