erstream 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- erstream-0.1.1/CHANGELOG.md +59 -0
- erstream-0.1.1/CITATION.cff +41 -0
- erstream-0.1.1/COPYING +674 -0
- erstream-0.1.1/LICENSE +165 -0
- erstream-0.1.1/MANIFEST.in +14 -0
- erstream-0.1.1/NOTICE +40 -0
- erstream-0.1.1/PKG-INFO +198 -0
- erstream-0.1.1/README.md +138 -0
- erstream-0.1.1/configs/dpa4c/README.md +42 -0
- erstream-0.1.1/configs/dpa4c/constraints/toolkit-ops-050.txt +11 -0
- erstream-0.1.1/licenses/Apache-2.0.txt +202 -0
- erstream-0.1.1/licenses/NVALCHEMI_APACHE_2.0.txt +14 -0
- erstream-0.1.1/native/dpa4c/candidate/source.json +52 -0
- erstream-0.1.1/native/dpa4c/channel.cu +5 -0
- erstream-0.1.1/native/dpa4c/dpa4c_graph_compress.cu +944 -0
- erstream-0.1.1/native/dpa4c/dpa4c_graph_compress.cuh +739 -0
- erstream-0.1.1/native/dpa4c/dpa4c_graph_compress_kernel.cuh +2341 -0
- erstream-0.1.1/native/dpa4c/dpa4c_graph_compress_launch.h +438 -0
- erstream-0.1.1/native/dpa4c/readout/source.json +30 -0
- erstream-0.1.1/native/dpa4c/state_readout.cu +84 -0
- erstream-0.1.1/plugins/deepmd-lr/COPYING +674 -0
- erstream-0.1.1/plugins/deepmd-lr/LICENSE +21 -0
- erstream-0.1.1/plugins/deepmd-lr/LICENSE.ERStream +165 -0
- erstream-0.1.1/plugins/deepmd-lr/README.md +67 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/__init__.py +32 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/argcheck.py +558 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/ase.py +450 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/born.py +320 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/bridging.py +35 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/cell.py +49 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/compress.py +188 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/ema_default.py +91 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/fitting/__init__.py +19 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/fitting/charge.py +388 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/fitting/moment_table.py +280 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/fitting/multipole.py +275 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/hessian.py +514 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/kernels/__init__.py +3 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/kernels/moments.py +316 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/loss.py +321 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/lr/__init__.py +42 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/lr/isolated.py +383 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/lr/multipole.py +356 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/lr/multipole_pairs.py +155 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/lr/term.py +823 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/model/__init__.py +11 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/model/lr_model.py +2361 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/neighbors.py +98 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/nvalchemi/__init__.py +85 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/nvalchemi/ase.py +103 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/nvalchemi/assembly.py +135 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/nvalchemi/bec_schedule.py +29 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/nvalchemi/born_csr.py +101 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/nvalchemi/born_fused.py +110 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/nvalchemi/charge_memory.py +123 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/nvalchemi/compiler.py +78 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/nvalchemi/driver.py +1359 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/nvalchemi/evaluator.py +1242 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/nvalchemi/fitting.py +87 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/nvalchemi/joint.py +230 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/nvalchemi/md.py +1639 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/nvalchemi/nlist.py +810 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/nvalchemi/optimize.py +1028 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/nvalchemi/partition.py +752 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/nvalchemi/setup.py +158 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/nvalchemi/thermo.py +559 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/nvalchemi/tuning.py +42 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/register.py +70 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/same_as.py +678 -0
- erstream-0.1.1/plugins/deepmd-lr/deepmd_lr/zbl.py +1046 -0
- erstream-0.1.1/plugins/deepmd-lr/pyproject.toml +44 -0
- erstream-0.1.1/plugins/deepmd-lr/scripts/calibrate_born.py +76 -0
- erstream-0.1.1/plugins/deepmd-lr/scripts/graft_short_range.py +181 -0
- erstream-0.1.1/plugins/deepmd-lr/scripts/xyz_to_deepmd.py +571 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/__init__.py +0 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/conftest.py +11 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_ase_calculator.py +401 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_born.py +566 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_born_loss.py +264 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_calibrate_born.py +43 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_charge_filter.py +347 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_charge_head.py +301 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_charge_same_as.py +364 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_compress.py +732 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_curriculum.py +222 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_dpa4.py +1067 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_ema_default.py +158 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_eps_inf.py +265 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_graft_short_range.py +44 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_hessian.py +494 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_import_order.py +45 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_isolated_term.py +700 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_joint_model.py +532 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_lr_term.py +749 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_md.py +2074 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_moment_table.py +359 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_multi_task.py +402 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_multipole_model.py +633 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_multipole_term.py +614 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_neighbors.py +138 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_neutrality_loss.py +251 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_nlist.py +441 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_nvalchemi.py +2158 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_optimize.py +171 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_plugin_registration.py +213 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_pme_physics.py +126 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_read_structure.py +129 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_same_as.py +386 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_sync.py +226 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_thermo.py +384 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_xyz_to_deepmd.py +389 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_zbl.py +1073 -0
- erstream-0.1.1/plugins/deepmd-lr/tests/test_zbl_gpu.py +447 -0
- erstream-0.1.1/pyproject.toml +83 -0
- erstream-0.1.1/setup.cfg +4 -0
- erstream-0.1.1/setup.py +29 -0
- erstream-0.1.1/src/erstream/__init__.py +13 -0
- erstream-0.1.1/src/erstream/ase.py +126 -0
- erstream-0.1.1/src/erstream/backends/__init__.py +7 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/__init__.py +3 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/backend.py +741 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/build.py +369 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/cell_grid.py +137 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/compat/__init__.py +3 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/compat/toolkit-producers.json +61 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/compat/toolkit_ops.py +129 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/config.py +135 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/deepmd_build.py +214 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/evaluator.py +377 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/file_identity.py +74 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/halo_tiles.py +217 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_byte_image_packets_backend.py +75 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_candidate_session.py +89 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_charge_mask_cache_backend.py +117 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_composite_backend.py +155 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_csr_node_liveness_backend.py +56 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_cuda_backend.py +170 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_cufft_runtime.py +19 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_direct_csr_backend.py +82 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_edge_slack_backend.py +70 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_fft_shared_workspace_backend.py +73 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_fitting_liveness_backend.py +48 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_fused_spectrum_backend.py +57 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_graph_capacity_backend.py +69 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_graph_memory_catalog.py +72 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_graph_preflight.py +65 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_graph_resource_catalog.py +62 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_identity_strain_backend.py +98 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_inference_executor.py +157 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_inference_plan.py +129 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_inverse_arena_backend.py +58 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_lowering_registry.py +48 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_miller_inverse_arena_backend.py +52 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_miller_liveness_backend.py +54 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_observable_cache.py +54 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_padded_fft_backend.py +75 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_periodic_packet_backend.py +88 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_periodic_packet_catalog.py +32 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_pipeline_capacity_catalog.py +73 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_pipeline_compiler.py +235 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_pme_force_buffer_backend.py +106 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_pme_force_flow_backend.py +81 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_pme_resource_catalog.py +70 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_pme_unit_gradient_backend.py +96 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_prefix_mask_backend.py +83 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_reciprocal_phase_backend.py +70 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_resolved_executor.py +92 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_resource_catalog.py +52 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_runtime_key.py +181 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_segmented_edge_backend.py +120 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_single_system_pme_backend.py +90 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_source_row_backend.py +88 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_spatial_backend.py +79 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_strategy_catalog.py +137 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_strategy_family.py +40 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_streamed_backend.py +129 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/lr_tuning_budget_backend.py +65 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/multigpu.py +394 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/native_loader.py +41 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/profiles/b200.json +37 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/profiles/h100.json +37 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/profiles/rtx5090.json +39 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/profiles/v100.json +40 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/resources.py +252 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/__init__.py +3 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_bounded_fft.py +114 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_byte_image_packets.py +120 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_cell_reduce.py +60 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_charge_mask_cache.py +232 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_charge_projection.py +82 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_csr_node_liveness.py +74 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_deferred_vjp.py +171 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_direct_csr.py +220 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_donated_fft.py +110 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_dual_deferred.py +106 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_edge_reserve.py +35 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_edge_slack.py +45 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_fft_shared_workspace.py +118 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_fitting_liveness.py +48 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_fitting_subtile.py +36 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_fused_spectrum.py +111 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_graph_capacity_guard.py +35 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_graph_input_views.py +75 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_graph_layout.py +47 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_identity_strain.py +90 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_inference_optimizer.py +121 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_inverse_arena.py +155 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_lane_periodic_packets.py +195 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_local_virial.py +79 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_lr_input_views.py +43 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_miller_liveness.py +66 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_padded_fft.py +160 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_pme_cached_force_alias.py +121 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_pme_force_buffer.py +76 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_pme_force_flow.py +171 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_pme_unit_gradient.py +132 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_prefix_mask.py +50 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_reciprocal_phase.py +64 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_segmented_edges.py +179 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_single_system_pme.py +82 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_source_row.py +71 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_spatial_direct_query.py +105 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_state_readout.py +44 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_state_recompute.py +22 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_streamed_heads.py +133 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_tensor_fitting.py +205 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_tile_moments.py +56 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/dpa4clr_tuning_budget.py +70 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/sto_charge_graph.py +54 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/sto_destination_graph.py +146 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/sto_inference_executor.py +352 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/sto_minimal_graph.py +88 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/sto_pair_tables.py +61 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/sto_pme_plan.py +224 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/sto_spectral_virial.py +69 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/runtime_ops/sto_tensor_fitting_v2.py +233 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/source-manifest.json +146 -0
- erstream-0.1.1/src/erstream/backends/dpa4c/tiled_reference.py +121 -0
- erstream-0.1.1/src/erstream/backends/protocol.py +50 -0
- erstream-0.1.1/src/erstream/backends/registry.py +131 -0
- erstream-0.1.1/src/erstream/backends/session.py +64 -0
- erstream-0.1.1/src/erstream/charge_sign.py +100 -0
- erstream-0.1.1/src/erstream/cli.py +852 -0
- erstream-0.1.1/src/erstream/compat/__init__.py +7 -0
- erstream-0.1.1/src/erstream/compat/checkpoint.py +39 -0
- erstream-0.1.1/src/erstream/compat/mace_er_pin.py +63 -0
- erstream-0.1.1/src/erstream/compat/mixed_precision.py +57 -0
- erstream-0.1.1/src/erstream/compat/spice_isolated.py +28 -0
- erstream-0.1.1/src/erstream/core/__init__.py +0 -0
- erstream-0.1.1/src/erstream/core/born.py +167 -0
- erstream-0.1.1/src/erstream/core/buckets.py +47 -0
- erstream-0.1.1/src/erstream/core/layered.py +57 -0
- erstream-0.1.1/src/erstream/core/pair/__init__.py +3 -0
- erstream-0.1.1/src/erstream/core/pair/compact.py +145 -0
- erstream-0.1.1/src/erstream/core/pair/compiled_strain.py +53 -0
- erstream-0.1.1/src/erstream/core/pair/cuda_graphs.py +430 -0
- erstream-0.1.1/src/erstream/core/pair/first_order.py +164 -0
- erstream-0.1.1/src/erstream/core/pair/graph_keys.py +59 -0
- erstream-0.1.1/src/erstream/core/pair/graph_lifetime.py +146 -0
- erstream-0.1.1/src/erstream/core/pair/graph_tolerances.py +21 -0
- erstream-0.1.1/src/erstream/core/pair/kernel_dispatch.py +40 -0
- erstream-0.1.1/src/erstream/core/pair/launch_proxy.py +60 -0
- erstream-0.1.1/src/erstream/core/pair/launches.py +63 -0
- erstream-0.1.1/src/erstream/core/pair/method.py +104 -0
- erstream-0.1.1/src/erstream/core/pair/options.py +5 -0
- erstream-0.1.1/src/erstream/core/pair/segment_sum.py +163 -0
- erstream-0.1.1/src/erstream/core/pair/segment_triton.py +56 -0
- erstream-0.1.1/src/erstream/core/periodic.py +333 -0
- erstream-0.1.1/src/erstream/core/prune.py +205 -0
- erstream-0.1.1/src/erstream/core/slab.py +83 -0
- erstream-0.1.1/src/erstream/core/tile_shapes.py +228 -0
- erstream-0.1.1/src/erstream/core/tiled.py +415 -0
- erstream-0.1.1/src/erstream/core/tiles.py +798 -0
- erstream-0.1.1/src/erstream/core/topology_triton.py +55 -0
- erstream-0.1.1/src/erstream/diagnostics.py +69 -0
- erstream-0.1.1/src/erstream/evaluator.py +787 -0
- erstream-0.1.1/src/erstream/models/__init__.py +5 -0
- erstream-0.1.1/src/erstream/models/compiled_chains.py +321 -0
- erstream-0.1.1/src/erstream/models/compiled_epilogues.py +170 -0
- erstream-0.1.1/src/erstream/models/compiled_layout.py +25 -0
- erstream-0.1.1/src/erstream/models/indexed_cueq.py +140 -0
- erstream-0.1.1/src/erstream/models/kernels.py +177 -0
- erstream-0.1.1/src/erstream/models/loader.py +170 -0
- erstream-0.1.1/src/erstream/models/precision.py +202 -0
- erstream-0.1.1/src/erstream/models/radial_lookup.py +337 -0
- erstream-0.1.1/src/erstream/models/radial_triton.py +170 -0
- erstream-0.1.1/src/erstream/models/segment_sum.py +103 -0
- erstream-0.1.1/src/erstream/multigpu/__init__.py +0 -0
- erstream-0.1.1/src/erstream/multigpu/comm.py +73 -0
- erstream-0.1.1/src/erstream/multigpu/isolated.py +394 -0
- erstream-0.1.1/src/erstream/multigpu/periodic.py +508 -0
- erstream-0.1.1/src/erstream/multigpu/protocol.py +106 -0
- erstream-0.1.1/src/erstream/plan/__init__.py +108 -0
- erstream-0.1.1/src/erstream/plan/backend.py +57 -0
- erstream-0.1.1/src/erstream/plan/memory.py +250 -0
- erstream-0.1.1/src/erstream/plan/resource.py +507 -0
- erstream-0.1.1/src/erstream/plan/speed.py +107 -0
- erstream-0.1.1/src/erstream/profiling.py +84 -0
- erstream-0.1.1/src/erstream/reporting.py +36 -0
- erstream-0.1.1/src/erstream/runtime.py +41 -0
- erstream-0.1.1/src/erstream/solvers/__init__.py +0 -0
- erstream-0.1.1/src/erstream/solvers/dist_pme.py +353 -0
- erstream-0.1.1/src/erstream/solvers/freespace/__init__.py +0 -0
- erstream-0.1.1/src/erstream/solvers/freespace/distributed.py +166 -0
- erstream-0.1.1/src/erstream/solvers/freespace/exact.py +68 -0
- erstream-0.1.1/src/erstream/solvers/freespace/far_triton.py +66 -0
- erstream-0.1.1/src/erstream/solvers/freespace/fft_solver.py +402 -0
- erstream-0.1.1/src/erstream/solvers/freespace/near_bins.py +189 -0
- erstream-0.1.1/src/erstream/solvers/freespace/near_triton.py +141 -0
- erstream-0.1.1/src/erstream/solvers/freespace/solver.py +30 -0
- erstream-0.1.1/src/erstream/solvers/freespace/split.py +56 -0
- erstream-0.1.1/src/erstream/solvers/freespace/term.py +87 -0
- erstream-0.1.1/src/erstream/solvers/lean_pme.py +452 -0
- erstream-0.1.1/src/erstream/solvers/lr_global.py +60 -0
- erstream-0.1.1/src/erstream/solvers/mesh_policy.py +113 -0
- erstream-0.1.1/src/erstream/solvers/reference.py +99 -0
- erstream-0.1.1/src/erstream/vibrations.py +286 -0
- erstream-0.1.1/src/erstream.egg-info/PKG-INFO +198 -0
- erstream-0.1.1/src/erstream.egg-info/SOURCES.txt +354 -0
- erstream-0.1.1/src/erstream.egg-info/dependency_links.txt +1 -0
- erstream-0.1.1/src/erstream.egg-info/entry_points.txt +2 -0
- erstream-0.1.1/src/erstream.egg-info/requires.txt +37 -0
- erstream-0.1.1/src/erstream.egg-info/top_level.txt +1 -0
- erstream-0.1.1/tests/conftest.py +54 -0
- erstream-0.1.1/tests/dpa4c/__init__.py +3 -0
- erstream-0.1.1/tests/dpa4c/conftest.py +11 -0
- erstream-0.1.1/tests/dpa4c/test_fp64_policy.py +157 -0
- erstream-0.1.1/tests/dpa4c/test_halo_tiles.py +114 -0
- erstream-0.1.1/tests/dpa4c/test_multigpu.py +310 -0
- erstream-0.1.1/tests/dpa4c/test_native_loader.py +120 -0
- erstream-0.1.1/tests/dpa4c/test_public_backend.py +620 -0
- erstream-0.1.1/tests/dpa4c/test_source_compat.py +144 -0
- erstream-0.1.1/tests/dpa4c/test_tiled_reference.py +185 -0
- erstream-0.1.1/tests/dpa4c/toolchains.py +13 -0
- erstream-0.1.1/tests/fixtures/liquid_256.extxyz +770 -0
- erstream-0.1.1/tests/test_backend_dispatch.py +291 -0
- erstream-0.1.1/tests/test_born_owner_frame.py +167 -0
- erstream-0.1.1/tests/test_default_schedule.py +145 -0
- erstream-0.1.1/tests/test_energy_fd.py +332 -0
- erstream-0.1.1/tests/test_ewald_reference.py +61 -0
- erstream-0.1.1/tests/test_gpu.py +90 -0
- erstream-0.1.1/tests/test_kernels.py +343 -0
- erstream-0.1.1/tests/test_loader_global_state.py +38 -0
- erstream-0.1.1/tests/test_model_pipeline.py +369 -0
- erstream-0.1.1/tests/test_open.py +144 -0
- erstream-0.1.1/tests/test_pair_first_order_default.py +314 -0
- erstream-0.1.1/tests/test_plan_cli_evaluator.py +137 -0
- erstream-0.1.1/tests/test_planner_probe_errors.py +49 -0
- erstream-0.1.1/tests/test_short_range.py +241 -0
- erstream-0.1.1/tests/test_slab_ase.py +472 -0
- erstream-0.1.1/tests/test_solvers.py +129 -0
- erstream-0.1.1/tests/test_tile_shapes.py +179 -0
- erstream-0.1.1/tests/test_virial.py +237 -0
- erstream-0.1.1/tools/dpa4c/build_native.py +37 -0
- erstream-0.1.1/tools/dpa4c/sync_resources.py +25 -0
- erstream-0.1.1/tools/dpa4c/update_manifest.py +165 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.1.1 (2026-12-05)
|
|
4
|
+
|
|
5
|
+
- **Global PyTorch state.** Loading a MACE-ER checkpoint no longer leaves the process default dtype at FP64 or
|
|
6
|
+
TF32 disabled; the previous settings are restored after loading. Results are unchanged.
|
|
7
|
+
- **Device selection.** Radial-table and segment-reduction Triton kernels launch on the device of their inputs, so
|
|
8
|
+
a single-process run on a GPU other than the current one no longer launches on the wrong device.
|
|
9
|
+
- **Resource planner.** A probe that fails with an error other than out-of-memory or a planner refusal is no longer
|
|
10
|
+
hidden behind the unmeasured fallback: the planner raises when no probe succeeds and warns otherwise.
|
|
11
|
+
- **Packaging.** The `dpa4c` and `dpa4` extras no longer require `deepmd-lr` by name; install the plugin from
|
|
12
|
+
`plugins/deepmd-lr` as documented. The wheel ships the plugin's MIT license, and the version is defined once in
|
|
13
|
+
`erstream.__version__`.
|
|
14
|
+
- **Bundled licenses.** Preserve upstream deepmd-lr's MIT notice in its `LICENSE` and
|
|
15
|
+
identify ERStream modifications as LGPL-3.0-or-later in NOTICE and package metadata.
|
|
16
|
+
- **DeePMD plugin.** The bundled plugin lives in `plugins/deepmd-lr`; the `dpa4` extra
|
|
17
|
+
installs the pinned stack for DPA4-ER through its plugin interfaces.
|
|
18
|
+
- **DPA4C CPU replay.** Refuse PME reciprocal caches on a different device before entering
|
|
19
|
+
Toolkit-Ops native kernels, and keep the CPU rank fixture on CPU on GPU hosts.
|
|
20
|
+
- **DPA4C-ER.** Sync the bundled deepmd-lr plugin to upstream `64ac787`, retaining ERStream
|
|
21
|
+
execution adaptations and adding multipole, isolated/slab, ZBL, Hessian and shared DPA4 model support
|
|
22
|
+
in the plugin. The ERStream backend uses charge-only DPA4C models and Toolkit-Ops 0.5.0.
|
|
23
|
+
- **Multi-head models.** Multi-head MACE models load in mixed precision with the default kernels when `head` is given.
|
|
24
|
+
- **FP64 accuracy.** FP64 cuEquivariance results no longer lose accuracy when a mixed-precision model was loaded
|
|
25
|
+
earlier in the same process. Mixed-precision results can change slightly, within FP32 rounding.
|
|
26
|
+
- **Small systems.** Automatic planning no longer fails when the memory probe of a small system cannot resolve
|
|
27
|
+
per-atom growth (for example, 768 atoms with Z*(pair)). It uses a conservative bound for that system only.
|
|
28
|
+
- **Memory estimates.** A saved estimate is no longer reused for a larger system than the one it was measured on.
|
|
29
|
+
Automatic planning measures again instead; `erstream plan` uses its conservative default.
|
|
30
|
+
- **Multi-GPU without cuEquivariance.** Model signatures no longer depend on the GPU number. Mixed-precision
|
|
31
|
+
MACE-ER runs with `cueq=False` and kernels could stop with a signature mismatch on several GPUs. Signatures with
|
|
32
|
+
`cueq=False` change, so regenerate saved ones; those of the tested MACE-ER models with cuEquivariance do not.
|
|
33
|
+
- **Documentation.** The README and citation metadata link to the paper (arXiv:2611.37665). The guides
|
|
34
|
+
recommend comparisons with an FP64 reference where needed.
|
|
35
|
+
|
|
36
|
+
## 0.1.0
|
|
37
|
+
|
|
38
|
+
Initial release. ERStream evaluates long-range machine-learning interatomic potentials with learned charges
|
|
39
|
+
on one GPU or on the GPUs of one node, partitioning each force call at the global electrostatic solve.
|
|
40
|
+
|
|
41
|
+
- **Models.** MACE-ER (MACE-ER-T1, MACE-ER-T2) through the pinned mace-er package, short-range MACE models,
|
|
42
|
+
and DPA4C-ER through the bundled DeePMD-kit plugin in `plugins/deepmd-lr`.
|
|
43
|
+
- **Observables.** Energies, forces, periodic virial and stress, learned charges and the nine-component pair
|
|
44
|
+
response Z*(pair) behind Born effective charges on every step; optional uniform external field; opt-in
|
|
45
|
+
per-term and per-atom energy reporting.
|
|
46
|
+
- **Boundaries and solvers.** Periodic smooth PME (lean single-GPU storage and slab-distributed multi-GPU),
|
|
47
|
+
restricted slabs with two periodic axes, and exact or split free-space electrostatics for isolated systems.
|
|
48
|
+
- **Z*(pair) method by architecture.** `one_hop` for receiver-local models (MACE-ER-T1, DPA4C-ER) and
|
|
49
|
+
`multi_hop` for multi-hop models (MACE-ER-T2), resolved once and used by every execution mode.
|
|
50
|
+
- **Precision.** Mixed precision by default (FP32 network, FP64 geometry, readouts and electrostatics), FP64
|
|
51
|
+
for reference runs, and experimental FP32.
|
|
52
|
+
- **Kernels and schedules.** Compiled epilogues for mixed MACE-ER-T2 and radial lookup tables for one-hop
|
|
53
|
+
models (MACE-ER-T1) by default, each checked against the exact network at load; the compact SPME schedule is
|
|
54
|
+
selected automatically when a run is eligible. Every default is recorded in the run plan and can be changed
|
|
55
|
+
with `kernels` and `execution_schedule`.
|
|
56
|
+
- **Memory and planning.** Automatic tile and memory planning with grid, Morton or recursive-bisection tile
|
|
57
|
+
shapes, streamed topology, bounded PME temporaries and single-node multi-GPU execution.
|
|
58
|
+
- **Interfaces.** Python API, ASE calculator, and the `erstream` command line for planning, MD, minimization
|
|
59
|
+
and FP64 equivalence gates.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
cff-version: 1.2.0
|
|
2
|
+
message: "Please cite the ERStream paper and the model packages used in your workflow."
|
|
3
|
+
type: software
|
|
4
|
+
title: "ERStream: tiled single- and multi-GPU execution of long-range machine-learning interatomic potentials with learned charges"
|
|
5
|
+
authors:
|
|
6
|
+
- family-names: Yu
|
|
7
|
+
given-names: Xiaoyun
|
|
8
|
+
repository-code: "https://github.com/AM3GroupHub/ERStream"
|
|
9
|
+
version: "0.1.1"
|
|
10
|
+
date-released: "2026-12-05"
|
|
11
|
+
license:
|
|
12
|
+
- LGPL-3.0-or-later
|
|
13
|
+
- Apache-2.0
|
|
14
|
+
- MIT
|
|
15
|
+
preferred-citation:
|
|
16
|
+
type: article
|
|
17
|
+
title: "Scaling charge-aware machine learning molecular dynamics through memory-bounded GPU streaming"
|
|
18
|
+
authors:
|
|
19
|
+
- family-names: Yu
|
|
20
|
+
given-names: Xiaoyun
|
|
21
|
+
- family-names: Chen
|
|
22
|
+
given-names: Yicheng
|
|
23
|
+
- family-names: Zhong
|
|
24
|
+
given-names: Peichen
|
|
25
|
+
year: 2026
|
|
26
|
+
month: 11
|
|
27
|
+
journal: "arXiv preprint arXiv:2611.37665"
|
|
28
|
+
url: "https://arxiv.org/abs/2611.37665"
|
|
29
|
+
references:
|
|
30
|
+
- type: software
|
|
31
|
+
title: mace-er
|
|
32
|
+
repository-code: "https://github.com/AM3GroupHub/mace-er"
|
|
33
|
+
commit: "d0403b1c7e2b416d946c7e5922b0272069f930ff"
|
|
34
|
+
- type: software
|
|
35
|
+
title: MACE
|
|
36
|
+
repository-code: "https://github.com/ACEsuit/mace"
|
|
37
|
+
version: "0.3.15"
|
|
38
|
+
- type: software
|
|
39
|
+
title: NVIDIA ALCHEMI Toolkit-Ops
|
|
40
|
+
repository-code: "https://github.com/NVIDIA/nvalchemi-toolkit-ops"
|
|
41
|
+
version: "0.5.0"
|