Error in running qpth of e2e-model-learning. AttributeError: module 'torch' has no attribute 'all'
parimuns opened this issue · comments
Hello Bamos
I am trying to run code of "locuslab/e2e-model-learning/power_sched" repository. I am using pytorch =0.3.1 and torchvision= 0.2 as required by that repository. But when I run that, I get an error related to qpth as shown below .
> /usr/local/lib/python3.6/dist-packages/qpth/qp.py(84)forward()
82 for i in range(nBatch):
83 e, _ = torch.eig(Q[i])
---> 84 if not torch.all(e[:,0] > 0):
85 raise RuntimeError('Q is not SPD.')'''