Do you get this error while installing PyTorch?
Could you post the stack trace after the @ symbol?
The error is thrown by gperftools as far as I know, so apparently the notebook doesn’t like some allocations.