Closed Bloeci closed 9 months ago
Thanks for the question.
The fix is easy, you just need to specify the device in Protein.
chroma = Chroma()
protein = Protein('1GFP', device='cuda')
protein = chroma.design(protein)
protein.to("1GFP-redesign.cif")
close this due to inactivity. Feel free to reopen.
When i run one of the minimal examples
I get an error that some tensors are not on the same devices:
When I try to fix that putting everything on the GPU for this particular line, the error occur on another line (next shown below):
That looks to me that a lot of other tensors also would show the same problem and that it is not an easy way to fix, because the device type don't seemed to be share across all classes :(