MCPcopy Create free account

hub / github.com/Yangxinsix/curator / functions

Functions1,670 in github.com/Yangxinsix/curator

↓ 1 callersFunctionlcmd_greedy
Only accept matrix with double dtype!!! Selects batch elements by greedily picking those with the maximum distance in the largest cluster,
curator/select/select.py:104
↓ 1 callersFunctionload_atoms_or_traj
Load an Atoms or list of Atoms from a path, object, or sequence of sources. - init_traj can be a single Atoms, a path, or a sequence of eith
curator/simulate/core/context.py:54
↓ 1 callersMethodload_backbone_state
(self, pretrained_path: str, strict: bool = True)
curator/model/external/backbone.py:239
↓ 1 callersFunctionload_core_embeddings
(mace_model)
curator/model/conversion.py:925
↓ 1 callersFunctionload_cueq_weights
(source_model, target_model)
curator/utils.py:1217
↓ 1 callersFunctionload_e3nn_weights
(source_model, target_model)
curator/utils.py:1166
↓ 1 callersMethodload_image_idx
(self, kernel: KernelName)
curator/layer/feature/store.py:162
↓ 1 callersFunctionload_input
( *, input: Optional[str], input_text: Optional[str], )
curator/simulate/engines/lammps/io.py:54
↓ 1 callersFunctionload_official_nequip_as_curator
( model_ref: Union[str, Path], *, device: Optional[torch.device] = None, compile_mode: str = "
curator/model/conversion.py:1575
↓ 1 callersFunctionload_readout
(idx: int, mace_model, hidden_readouts, final_readout)
curator/model/conversion.py:933
↓ 1 callersFunctionload_trained_model
Load a trained model or checkpoint and return a torch.nn.Module.
curator/utils.py:82
↓ 1 callersFunctionlog_simulation_summary
Log a brief simulation setup summary (engine, model, init, systems, device, callbacks, params).
curator/simulate/sim_logging.py:47
↓ 1 callersFunctionmain
()
curator/mcp_server.py:150
↓ 1 callersFunctionmain
()
test/torchsim_test/torchsim_md.py:22
↓ 1 callersFunctionmain
()
scripts/convert_mace_curator.py:8
↓ 1 callersFunctionmake_bytearray_float64
curator/native/neighbors.cpp:302
↓ 1 callersMethodmake_convnet_radial_mlp
(self, *args, **kwargs)
curator/layer/wrappers/backends.py:64
↓ 1 callersFunctionmake_e3nn_symmetric_contraction
(*args, **kwargs)
curator/layer/wrappers/cueq.py:233
↓ 1 callersMethodmake_fully_connected_net
(self, *args, **kwargs)
curator/layer/wrappers/backends.py:61
↓ 1 callersMethodmake_fully_connected_tensor_product
(self, *args, **kwargs)
curator/layer/wrappers/backends.py:96
↓ 1 callersMethodmake_linear
(self, *args, **kwargs)
curator/layer/wrappers/backends.py:90
↓ 1 callersMethodmake_scalar_linear
(self, *args, **kwargs)
curator/layer/wrappers/backends.py:67
↓ 1 callersMethodmake_symmetric_contraction
(self, *args, **kwargs)
curator/layer/wrappers/backends.py:99
↓ 1 callersMethodmake_tensor_product
(self, *args, **kwargs)
curator/layer/wrappers/backends.py:93
↓ 1 callersFunctionmax_det_greedy
(matrix: KernelMatrix, batch_size: int)
curator/select/select.py:52
↓ 1 callersFunctionmax_det_greedy_local
(matrix: KernelMatrix, batch_size: int, num_atoms: torch.Tensor)
curator/select/select.py:74
↓ 1 callersFunctionmax_diag
maximize uncertainty selection method
curator/select/select.py:4
↓ 1 callersFunctionmax_dist_greedy
Greedily select points that maximise the distance to the current set. When ``n_train`` is provided, the last ``n_train`` columns are considered
curator/select/select.py:10
↓ 1 callersMethodmodule_groups
(self)
curator/model/base.py:146
↓ 1 callersFunctionnorm
curator/native/neighbors.cpp:160
↓ 1 callersFunctionnormalize_config_sequences
Convert configurable sequence fields to list form for easier consumption.
curator/config_utils.py:121
↓ 1 callersMethodnormalized_targets
(self)
curator/data/atoms_data.py:54
↓ 1 callersFunctionoffset_is_positive
curator/native/neighbors.cpp:251
↓ 1 callersMethodon_sim_start
Suppress the base header for batched runs; custom header is emitted in on_step.
curator/simulate/callbacks/torchsim_logger.py:204
↓ 1 callersMethodon_step
(self, ctx: SimContext)
curator/simulate/callbacks/early_stop.py:17
↓ 1 callersMethodon_step
(self, ctx: SimContext)
curator/simulate/callbacks/torchsim_logger.py:214
↓ 1 callersMethodparameter_groups
(self)
curator/model/mace.py:374
↓ 1 callersMethodpost_process
(self, *args, **kwargs)
curator/label/inspector.py:9
↓ 1 callersFunctionprepare_distillation
(config: DictConfig, logger: Optional[logging.Logger] = None)
curator/train/distill.py:224
↓ 1 callersFunctionprepare_teacher_model_for_offline_distillation
( model, output_columns: Dict[str, str], *, projected_hessian: Optional[DictConfig] = None, )
curator/train/distill.py:48
↓ 1 callersFunctionprune_config_targets
Remove keys from config nodes that specify a _target_ but include arguments not accepted by the target's signature (unless it has **kwargs).
curator/config_utils.py:140
↓ 1 callersFunctionreadout_key_for_dense
(dense_idx: int, attr: str)
curator/model/conversion.py:1248
↓ 1 callersMethodreal_space_energy
Compute the real-space (short-range) part of the Ewald sum: E_real = (1/2) sum_{i != j} sum_{n in images}
curator/layer/_ewald.py:56
↓ 1 callersMethodreciprocal_space_energy
Perform the reciprocal space summation. The calculation is based on: E_recip = 2 * pi / V * sum_{k != 0} exp(-k^2 / (4 alpha^2)) * |r
curator/layer/_ewald.py:81
↓ 1 callersMethodreduce
(self, transformed: torch.Tensor, image_idx: torch.Tensor)
curator/layer/feature/kme.py:61
↓ 1 callersMethodregister_repr_callback
(self, repr_callback: nn.Module)
curator/layer/feature/extractor.py:63
↓ 1 callersFunctionregister_resolvers
()
curator/config_utils.py:16
↓ 1 callersFunctionregister_resolvers
()
curator/utils.py:36
↓ 1 callersFunctionrender_input
(lammps_input: str, variables: Mapping[str, Any])
curator/simulate/engines/lammps/io.py:66
↓ 1 callersFunctionrequire_2d_shape
curator/native/neighbors.cpp:259
↓ 1 callersFunctionrequire_graph_model_and_func
(model)
curator/model/conversion.py:1075
↓ 1 callersMethodreset_loss
(self)
curator/train/model_output.py:192
↓ 1 callersMethodreset_parameters
(self)
curator/layer/wrappers/scalar.py:44
↓ 1 callersFunctionreset_params
(module: torch.nn.Module)
curator/model/multi_domain.py:146
↓ 1 callersFunctionresolve_atomic_numbers
()
curator/model/conversion.py:843
↓ 1 callersFunctionresolve_distill_sqlite_paths
( data_cfg: DictConfig, run_path: str, )
curator/train/distill.py:173
↓ 1 callersFunctionresolve_external_backbone
( backbone: Optional[nn.Module], backbone_builder: Optional[Callable[..., nn.Module] | str], backb
curator/model/external/backbone.py:62
↓ 1 callersFunctionresolve_paths
(config: Union[DictConfig, dict], base_dir='.', path_set=path_set)
curator/workflow.py:34
↓ 1 callersFunctionresolve_rescale_context
(atomic_numbers: List[int])
curator/model/conversion.py:850
↓ 1 callersMethodresolve_sample_indices
( self, data: Dict, key: str, peer: Optional[Dict] = None, indices: Op
curator/train/sampling.py:35
↓ 1 callersFunctionresolve_source_energy_readout
(readout_model)
curator/model/conversion.py:868
↓ 1 callersFunctionresolve_teacher_labels_path
( data_cfg: DictConfig, run_path: str, teacher_labels_path: Optional[str], logger: logging.Log
curator/train/distill.py:192
↓ 1 callersFunctionresolve_thread_count
curator/native/neighbors.cpp:134
↓ 1 callersMethodrun
(self, *args, **run_kwargs)
curator/simulate/core/simulator.py:100
↓ 1 callersFunctionrun_step
Performs a single training step: forward pass, loss calculation, backpropagation.
curator/train/train.py:34
↓ 1 callersMethodsample_first_dim
( self, value: Any, indices: Optional[Any] = None, num_samples: Optional[int]
curator/train/sampling.py:60
↓ 1 callersFunctionsample_hessian_projections
Project the energy Hessian along dense probe vectors. ``forces = -dE/dR``, so ``-d(forces)/dR @ probe`` gives ``H_E @ probe``. The returned t
curator/layer/_energy_hessian.py:141
↓ 1 callersFunctionsample_hessian_rows
Sample Hessian rows for each structure in a batch. Returns: A tuple ``(samples_per_structure, rows_per_structure)`` where each list entry
curator/layer/_energy_hessian.py:83
↓ 1 callersMethodsample_indices_key
(self, key: str)
curator/train/sampling.py:32
↓ 1 callersMethodsampled_key
(self, key: str)
curator/train/sampling.py:29
↓ 1 callersMethodsave_configuration
(self, config: DictConfig)
curator/model/lit_module.py:513
↓ 1 callersMethodsave_results
(self, out_dir: Path, labels: Dict[str, Any], metrics: Dict[str, Any])
curator/evaluate/evaluator.py:297
↓ 1 callersMethodscale
(self, data: properties.Type, force_process: bool = False)
curator/layer/_rescale.py:665
↓ 1 callersMethodscore
( self, features: torch.Tensor, image_idx: Optional[torch.Tensor] = None, redu
curator/layer/feature/distance.py:133
↓ 1 callersFunctionselect
Runs a select task for each model in the ensemble. This is done through the three steps for each model: - Create a new directory
curator/workflow.py:179
↓ 1 callersMethodself_energy
Self-energy correction: E_self = - (alpha / sqrt(pi)) * sum_i q_i^2 We subtract this once, because in the splitting app
curator/layer/_ewald.py:127
↓ 1 callersMethodset_uncertainty
interface/ML-IAP/pair_mliap.cpp:396
↓ 1 callersMethodset_uncertainty_array
interface/ML-IAP/pair_mliap.cpp:422
↓ 1 callersMethodset_uncertainty_outputs
( self, scalar_keys: Optional[List[str]] = None, per_atom_keys: Optional[List[str]] =
curator/data/_uncertainty.py:16
↓ 1 callersMethodsetup
(self, ctx: SimContext)
curator/simulate/core/engine.py:17
↓ 1 callersMethodsetup
(self, stage: Optional[str] = None)
curator/data/datamodule.py:167
↓ 1 callersMethodsetup_from_context
(self, ctx: DataContext)
curator/layer/_rescale.py:483
↓ 1 callersMethodsetup_from_datamodule
(self, datamodule)
curator/layer/_convnet.py:208
↓ 1 callersFunctionsimulate
Runs a simulate task for each model in the ensemble. This is done through the three steps for each model: - Create a new directory
curator/workflow.py:115
↓ 1 callersFunctionsplit_atoms_targets
(atoms_dict: Dict[str, torch.Tensor])
curator/data/atoms_data.py:182
↓ 1 callersFunctionstrip_state_dict_prefix
( state_dict: OrderedDict[str, torch.Tensor], prefixes: Iterable[str], )
curator/model/utils.py:261
↓ 1 callersFunctionsub
curator/native/neighbors.cpp:172
↓ 1 callersMethodsweep
(self)
curator/label/inspector.py:31
↓ 1 callersFunctiontest_mliap_conversion_matches_energy_and_forces
()
test/mliap/test_mliap_conversion.py:22
↓ 1 callersFunctiontorch_load_compat
(torch_module, path, **kwargs)
curator/commands/common.py:118
↓ 1 callersFunctiontrain
Runs a train task for each model in the ensemble. This is done through the three steps for each model: - Create a new directory
curator/workflow.py:47
↓ 1 callersFunctiontransfer_symmetric_contractions
( source_dict: Dict[str, torch.Tensor], target_dict: Dict[str, torch.Tensor], max_L: int, corr
curator/utils.py:1106
↓ 1 callersFunctiontransfer_symmetric_contractions_back
( source_dict: Dict[str, torch.Tensor], target_dict: Dict[str, torch.Tensor], max_L: int, corr
curator/utils.py:1141
↓ 1 callersMethodtransform
(self, numbers: torch.Tensor)
curator/data/_type_mapper.py:49
↓ 1 callersMethodtransform
(self, raw_feature)
curator/layer/feature/kme.py:52
↓ 1 callersMethodtransform_pair
(self, feat: torch.Tensor, grad: torch.Tensor, layer_idx: int)
curator/layer/feature/kme.py:87
↓ 1 callersMethodtransform_pair
(self, feat: torch.Tensor, grad: torch.Tensor, layer_idx: int)
curator/layer/feature/projector.py:57
↓ 1 callersMethodtransform_simple
(self, atomic_features: torch.Tensor, layer_idx: int)
curator/layer/feature/kme.py:90
↓ 1 callersFunctionupdate_config_from_datamodule
Update config based on datamodule contents. This function intentionally stays on the generic config-update path: infer species and defau
curator/utils.py:513
↓ 1 callersFunctionupgrade_checkpoint
( ckpt_path: Union[str, Path], output_path: Optional[Union[str, Path]] = None, device: Optional[Un
curator/model/checkpoint_upgrade.py:213
← previousnext →801–900 of 1,670, ranked by callers