Which pytorch version do I need?

How about taking the middle road? Did you try 0.3.1? Got it from here.