I don’t know and I can heartily recommend taking a newer GCC over older PyTorch. (You could try with 0.4 and then go backwards, I doubt that 1.0 would work. But really, you’d be doing yourself a favour by using newer PyTorch – and everyone around here, too, in case you have questions).
Best regards
Thomas