Skip to content

'Floating point exception' issue when dispersion=True in mace_mp #1464

@jycho5758

Description

@jycho5758

I'm trying to consider dispersion term when using mace_mp as below,

def ase_calc():
    calc = mace_mp(
        model="/home/jycho/AKMC_RUN/LYC_300K_test/mace-mp0.model",
        default_dtype="float64",
        dispersion=True,
        device="cuda",
    )
    return calc

However, it gives me the following error in the output file.

Floating point exception

I have been using the conda virtual environment with the following

mace-torch 0.3.15
torch 2.3.1
torch-dftd 0.5.3
torch-ema 0.3
torchaudio 2.3.1
torchmetrics 1.4.0.post0
torchvision 0.18.1

I was wondering whether there is an issue with torch-dftd library or torch version etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions