Skip to content
Merged
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
2 changes: 0 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch }}

- name: Install pandoc
run: sudo apt-get install pandoc
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
## v0.2.0

### Bug Fixes 🐛

* Fix integrate reporting kwarg to arg error, https://github.com/Radical-AI/torch-sim/issues/113 (raised by @hn-yu)
* Allow runners to take large initial batches, https://github.com/Radical-AI/torch-sim/issues/128 (raised by @YutackPark)
* Add Fairchem model support for PBC, https://github.com/Radical-AI/torch-sim/issues/111 (raised by @ryanliu30)

### Enhancements 🛠
* **[breaking]** Rename `HotSwappingAutobatcher` to `InFlightAutobatcher` and `ChunkingAutoBatcher` to `BinningAutoBatcher`, https://github.com/Radical-AI/torch-sim/pull/143 @orionarcher

* **breaking** Rename `HotSwappingAutobatcher` to `InFlightAutobatcher` and `ChunkingAutoBatcher` to `BinningAutoBatcher`, https://github.com/Radical-AI/torch-sim/pull/143 @orionarcher
* Support for Orbv3, https://github.com/Radical-AI/torch-sim/pull/140, @AdeeshKolluru
* Support metatensor models, https://github.com/Radical-AI/torch-sim/pull/141, @frostedoyter @Luthaf
* Support for graph-pes models, https://github.com/Radical-AI/torch-sim/pull/118 @jla-gardner
Expand All @@ -18,10 +20,12 @@
* New correlation function module, https://github.com/Radical-AI/torch-sim/pull/115 @stefanbringuier

### Documentation 📖

* Imoved model documentation, https://github.com/Radical-AI/torch-sim/pull/121 @orionarcher
* Plot of TorchSim module graph in docs, https://github.com/Radical-AI/torch-sim/pull/132 @janosh

### House-Keeping 🧹

* Only install HF for fairchem tests, https://github.com/Radical-AI/torch-sim/pull/134 @CompRhys
* Don't download MBD in CI, https://github.com/Radical-AI/torch-sim/pull/135 @orionarcher
* Tighten graph-pes test bounds, https://github.com/Radical-AI/torch-sim/pull/143 @orionarcher
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/1_Introduction/1.1_Lennard_Jones.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
results = model(state)

# Print the results
print(f"Energy: {results['energy']}")
print(f"Energy: {float(results['energy']):.4f}")
print(f"Forces: {results['forces']}")
print(f"Stress: {results['stress']}")
print(f"Energies: {results['energies']}")
Expand Down
4 changes: 2 additions & 2 deletions examples/scripts/1_Introduction/1.2_MACE.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
dtype = torch.float32

# Option 1: Load the raw model from the downloaded model
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down Expand Up @@ -51,6 +51,6 @@
results = model(state)

# Print results
print(f"Energy: {results['energy']}")
print(f"Energy: {float(results['energy']):.4f}")
print(f"Forces: {results['forces']}")
print(f"Stress: {results['stress']}")
2 changes: 1 addition & 1 deletion examples/scripts/1_Introduction/1.3_Batched_MACE.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
dtype = torch.float32

# Option 1: Load the raw model from the downloaded model
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
dtype = torch.float32

# Option 1: Load the raw model from the downloaded model
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
dtype = torch.float32

# Option 1: Load the raw model from the downloaded model
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
dtype = torch.float32

# Option 1: Load the raw model from the downloaded model
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
dtype = torch.float32

# Option 1: Load the raw model from the downloaded model
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
dtype = torch.float32

# Option 1: Load the raw model from the downloaded model
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
dtype = torch.float32

# Option 1: Load the raw model from the downloaded model
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
dtype = torch.float32

# Option 1: Load the raw model from the downloaded model
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/3_Dynamics/3.10_Hybrid_swap_mc.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
kT = 1000 * MetalUnits.temperature

# Option 1: Load the raw model from the downloaded model
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/3_Dynamics/3.12_MACE_NPT_Langevin.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
dtype = torch.float32

# Option 1: Load the raw model from the downloaded model
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/3_Dynamics/3.2_MACE_NVE.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
dtype = torch.float32

# Option 1: Load the raw model from the downloaded model
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/3_Dynamics/3.3_MACE_NVE_cueq.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
dtype = torch.float32

# Option 1: Load the raw model from the downloaded model
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/3_Dynamics/3.4_MACE_NVT_Langevin.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
dtype = torch.float32

# Option 1: Load the raw model from the downloaded model
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/3_Dynamics/3.5_MACE_NVT_Nose_Hoover.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
dtype = torch.float32

# Option 1: Load the raw model from the downloaded model
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def get_kT(

# Model configuration
# Option 1: Load from URL (uncomment to use)
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/3_Dynamics/3.8_MACE_NPT_Nose_Hoover.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
dtype = torch.float32

# Option 1: Load the raw model from the downloaded model
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
dtype = torch.float32

# Option 1: Load the raw model from the downloaded model
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/5_Workflow/5.1_a2c_silicon.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
device = "cuda" if torch.cuda.is_available() else "cpu"
dtype = torch.float32

mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
raw_model = mace_mp(model=mace_checkpoint_url, return_raw_model=True)

# Define system and model
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/5_Workflow/5.2_a2c_silicon_batched.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
device = "cuda" if torch.cuda.is_available() else "cpu"
dtype = torch.float32

mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
raw_model = mace_mp(model=mace_checkpoint_url, return_raw_model=True)

# Define system and model
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/5_Workflow/5.3_In_Flight_WBM.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

# --- Model Initialization ---
print("Loading MACE model...")
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace = mace_mp(model=mace_checkpoint_url, return_raw_model=True)
mace_model = ts.models.MaceModel(
model=mace,
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/5_Workflow/5.4_Elastic.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
unit_conv = ts.units.UnitConversion
device = "cuda" if torch.cuda.is_available() else "cpu"
dtype = torch.float64
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
enable_cueq=False,
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/6_Phonons/6.1_Phonons_MACE.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def get_labels_qpts(ph: Phonopy, n_points: int = 101) -> tuple[list[str], list[b
dtype = torch.float32

# Load the raw model
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/6_Phonons/6.2_QuasiHarmonic_MACE.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def get_qha_phonons(
autobatcher = False

# Load the raw model
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
9 changes: 3 additions & 6 deletions examples/scripts/6_Phonons/6.3_Conductivity_MACE.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def print_relax_info(trajectory_file: str, device: torch.device) -> None:
dtype = torch.float64

# Load the raw model from URL
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url, return_raw_model=True, default_dtype=dtype, device=device
)
Expand All @@ -66,11 +66,8 @@ def print_relax_info(trajectory_file: str, device: torch.device) -> None:
# Structure and input parameters
struct = bulk("Si", "diamond", a=5.431, cubic=True) # ASE structure
mesh = [8, 8, 8] # Phonon mesh
supercell_matrix = [
1,
1,
1,
] # supercell matrix for phonon calculation (use larger supercell for better accuracy)
# supercell matrix for phonon calculation (use larger cell for better accuracy)
supercell_matrix = [1, 1, 1]
supercell_matrix_fc2 = [2, 2, 2] # supercell matrix for FC2 calculation
Nrelax = 300 # number of relaxation steps
fmax = 1e-3 # force convergence
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorials/low_level_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
from torch_sim.models import MaceModel

# load mace_mp using the mace package
mace_checkpoint_url = "https://github.com/ACEsuit/mace-mp/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
mace_checkpoint_url = "https://github.com/ACEsuit/mace-foundations/releases/download/mace_mpa_0/mace-mpa-0-medium.model"
loaded_model = mace_mp(
model=mace_checkpoint_url,
return_raw_model=True,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_elastic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
import torch

from torch_sim.elastic import (
BravaisType,
calculate_elastic_moduli,
calculate_elastic_tensor,
get_bravais_type,
)
from torch_sim.optimizers import frechet_cell_fire
from torch_sim.state import SimState
from torch_sim.typing import BravaisType
from torch_sim.units import UnitConversion


Expand Down
2 changes: 1 addition & 1 deletion tests/test_neighbors.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def ase_to_torch_batch(
Defaults to torch.float32.

Returns:
Tuple[torch.Tensor, torch.Tensor, torch.Tensor, torch.Tensor, torch.Tensor]:
tuple[torch.Tensor, torch.Tensor, torch.Tensor, torch.Tensor, torch.Tensor]:
A tuple containing:
- pos: Tensor of atomic positions.
- cell: Tensor of unit cell vectors.
Expand Down
17 changes: 10 additions & 7 deletions torch_sim/autobatching.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@
import logging
from collections.abc import Callable, Iterator
from itertools import chain
from typing import Any, Literal
from typing import Any, get_args

import torch

from torch_sim.models.interface import ModelInterface
from torch_sim.state import SimState, concatenate_states
from torch_sim.typing import MemoryScaling


def to_constant_volume_bins( # noqa: C901, PLR0915
Expand Down Expand Up @@ -262,7 +263,7 @@ def determine_max_batch_size(
error or reaches the specified maximum atom count.

Args:
state (SimState): SimState to replicate for testing.
state (SimState): State to replicate for testing.
model (ModelInterface): Model to test with.
max_atoms (int): Upper limit on number of atoms to try (for safety).
Defaults to 500,000.
Expand Down Expand Up @@ -309,7 +310,7 @@ def determine_max_batch_size(

def calculate_memory_scaler(
state: SimState,
memory_scales_with: Literal["n_atoms_x_density", "n_atoms"] = "n_atoms_x_density",
memory_scales_with: MemoryScaling = "n_atoms_x_density",
) -> float:
"""Calculate a metric that estimates memory requirements for a state.

Expand All @@ -322,7 +323,7 @@ def calculate_memory_scaler(
Args:
state (SimState): State to calculate metric for, with shape information
specific to the SimState instance.
memory_scales_with ("n_atoms_x_density" |s "n_atoms"): Type of metric
memory_scales_with ("n_atoms_x_density" | "n_atoms"): Type of metric
to use. "n_atoms" uses only atom count and is suitable for models that
have a fixed number of neighbors. "n_atoms_x_density" uses atom count
multiplied by number density and is better for models with radial cutoffs
Expand Down Expand Up @@ -351,7 +352,9 @@ def calculate_memory_scaler(
volume = torch.abs(torch.linalg.det(state.cell[0])) / 1000
number_density = state.n_atoms / volume.item()
return state.n_atoms * number_density
raise ValueError(f"Invalid metric: {memory_scales_with}")
raise ValueError(
f"Invalid metric: {memory_scales_with}, must be one of {get_args(MemoryScaling)}"
)


def estimate_max_memory_scaler(
Expand Down Expand Up @@ -458,7 +461,7 @@ def __init__(
self,
model: ModelInterface,
*,
memory_scales_with: Literal["n_atoms", "n_atoms_x_density"] = "n_atoms_x_density",
memory_scales_with: MemoryScaling = "n_atoms_x_density",
max_memory_scaler: float | None = None,
return_indices: bool = False,
max_atoms_to_try: int = 500_000,
Expand Down Expand Up @@ -752,7 +755,7 @@ def __init__(
self,
model: ModelInterface,
*,
memory_scales_with: Literal["n_atoms", "n_atoms_x_density"] = "n_atoms_x_density",
memory_scales_with: MemoryScaling = "n_atoms_x_density",
max_memory_scaler: float | None = None,
max_atoms_to_try: int = 500_000,
memory_scaling_factor: float = 1.6,
Expand Down
Loading
Loading