Skip to content

pair_nequip compilation #21

Answered by Linux-cpp-lisp
atulcthakur asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @atulcthakur ,

I've been meaning to add an option to do that, but in the meantime something this simple will do:

model = torch.load("mydeployed-float64.pth")
model = model.to(torch.float32)
torch.save("mydeployed-float32.pth")

Out of curiosity, was there a specific need that made you choose to use float64?

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by atulcthakur
Comment options

You must be logged in to vote
1 reply
@Linux-cpp-lisp
Comment options

Comment options

You must be logged in to vote
1 reply
@Linux-cpp-lisp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants