Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions sample_model_configurations/amd_configs/orbmol.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@
"orbmol:custom": None,
}

# The smoke-test's weights= leg borrows the first fetched family checkpoint
# (CHECKPOINTS order → orbmol-v1-conservative) and reloads its weights through
# setup_from_path, whose default arch is orbmol-v2. The v2 energy head has 257
# input columns (CoulombModule adds one) against v1's 256, so the default arch
# fails with a state_dict size mismatch (Frontier, 2026-08-24). Name the
# matching architecture for the leg; your own weights still take arch= per call.
VERIFY_KWARGS = {
"orbmol:custom": {"arch": "orbmol-v1-conservative"},
}


def _default_weights_url(load_fn) -> str:
"""The upstream URL baked into the loader's ``weights_path`` default."""
Expand Down
10 changes: 10 additions & 0 deletions sample_model_configurations/nvidia_configs/orbmol.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@
"orbmol:custom": None,
}

# The smoke-test's weights= leg borrows the first fetched family checkpoint
# (CHECKPOINTS order → orbmol-v1-conservative) and reloads its weights through
# setup_from_path, whose default arch is orbmol-v2. The v2 energy head has 257
# input columns (CoulombModule adds one) against v1's 256, so the default arch
# fails with a state_dict size mismatch (Frontier, 2026-08-24). Name the
# matching architecture for the leg; your own weights still take arch= per call.
VERIFY_KWARGS = {
"orbmol:custom": {"arch": "orbmol-v1-conservative"},
}


def _default_weights_url(load_fn) -> str:
"""The upstream URL baked into the loader's ``weights_path`` default."""
Expand Down
Loading