Skip to content

Double precision #181

@RaulPPelaez

Description

@RaulPPelaez

TorchMD-Net does not really understand anything other than float32.
For production runs this is probably fine, but I believe it would be useful to be able to pass a dtype argument to TorchMD-Net and run the full model in double for testing/development purposes.
For instance, to check gradients using torch.autograd.gradcheck.

This amounts to adding a bunch of dtype=dtype here and there.
What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions