Solved by ptrblck in post #2 
              
              
                In 0.3 you would use Variable(torch.tensor(...), volatile=True) to avoid creating the computation graph. 
Let me know, if that works for you.