ml-mace-finetune

在自定义数据集上对 MACE(机器学习原子间势)进行微调,以适配特定材料或情景的势函数。

仓库最近推送
GitHub Stars
193
Forks
37
Issues / PRs
0

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "ml-mace-finetune":https://skillpi.com/zh/skills/deepskill-4918b52eb93aea21d92bba4b448b1f5269a6fbcbb0ca32fa1fda5027634cdba9。安装前核对上游来源和版本:https://github.com/learningmatter-mit/AtomisticSkills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

在自定义数据集上对 MACE(机器学习原子间势)进行微调,以适配特定材料或情景的势函数。

0 下载

介绍来源: third_party · learningmatter-mit · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
限制与区别
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: ml-mace-finetune
description: Fine-tune MACE machine learning interatomic potentials on custom datasets.
category: [machine-learning]

MACE Fine-tuning

Goal

To evaluate and improve the accuracy of a foundation MACE potential for a specific chemical system or physical property using the provided Python fine-tuning script and data-augmentation.

Instructions

  1. Prepare Labeled Dataset: Obtain diverse structures with high-fidelity labels (energy, forces, stress). See the /benchmark-finetuning workflow for details.
  2. Custom Data Conversion: Read the source data format and write a customized conversion script if needed, formatting it for the subsequent preparation step.
  3. Benchmarking: Predict results on the new labels and benchmark the foundation model using ml-mlip-benchmark.
  4. Data Preparation: Execute scripts/prepare_mace_data.py to convert JSON structures to .xyz data files.
  5. Config Generation: Execute scripts/generate_mace_config.py using the .xyz data to produce finetune_config.yaml.
  6. Fine-Tuning: Execute mace_run_train --config /path/to/finetune_config.yaml to begin fine-tuning natively on the GPU.
  7. Validation: Verify convergence and compare against the benchmarked foundation metrics.
  8. Registration: Use the register_model tool to register the newly fine-tuned model checkpoint into the local registry so future research tasks can discover and reuse it.

Training Configuration

MACE fine-tuning is divided into a data preparation step, a configuration generation step, and a standard native training run. The script scripts/prepare_mace_data.py generates .xyz files, and scripts/generate_mace_config.py converts arguments into a fully-formed finetune_config.yaml configuration compatible with the MACE default parser.

Basic Arguments (Data Prep Script)

Key Type Default Description
--data str (Required) Path to JSON file containing ASE/pymatgen structure dictionaries
--output-dir str ./fine_tuning_data Directory to save the converted .xyz data
--val-split float 0.1 Fraction of data to set aside for validation
--seed int 42 Random seed for validation splitting
--vasp-stress-conversion flag - If set, multiplies stress values by -1/160.2x to convert VASP raw kB to eV/ų

Basic Arguments (Configuration Generation Script)

Key Type Default Description
--train-file str (Required) Path to the converted train.xyz data
--valid-file str None Path to the valid.xyz data
--model str MACE-MP-small Base model name or path to a checkpoint
--epochs int 100 Number of training epochs
--lr float 0.01 Peak learning rate for training
--batch-size int 2 Training batch size
--output-dir str ./fine_tuning Directory to save the fine-tuned model and logs
--device str cuda Target compute device (cuda or cpu)

[!NOTE] If you have created a dedicated research directory for your current workflow (e.g. using the create_research_dir tool), you should set the --output-dir argument to a folder within that active research directory to keep all artifacts and models organized.

Model Freezing and Heads (Configuration Generation Script)

Key Type Default Choices Description
--freeze-backbone flag N/A Add flag Freeze backbone (interaction blocks); only readout heads are trained.
--reinit-head flag N/A Add flag Re-initialize readout weights. When absent (default), pre-trained readout is preserved.
--multiheads flag N/A Add flag Enable multi-head fine-tuning (adds new head while keeping existing ones).

Advanced Parameters (Manual YAML Injection)

[!IMPORTANT] The following parameters govern Optimizer, Regularization, and Scheduling. They are NOT exposed via the prepare_mace_data.py CLI. Note that prepare_mace_data.py exposes --energy-weight, --forces-weight (default 10.0), and --stress-weight which inject cleanly into the initial YAML. For all other properties below, you must manually append the keys to the generated finetune_config.yaml file prior to running mace_run_train.

Optimizer & Regularization

Key Type Default Choices / Range Description
optimizer str "adam" "adam", "adamw", "schedulefree" Optimizer type.
weight_decay float 5e-7 ≥0 L2 weight decay.
amsgrad bool True True, False Use AMSGrad variant of Adam.
clip_grad float 10.0 >0 or None Maximum gradient norm for clipping. Set to None to disable.
ema bool True True, False Enable exponential moving average of model weights.
ema_decay float 0.99 0–1 EMA decay rate. Higher = more smoothing.

LR Scheduler

Key Type Default Choices / Range Description
scheduler str "ReduceLROnPlateau" "ReduceLROnPlateau", "ExponentialLR" LR scheduler type.
lr_factor float 0.8 0–1 Factor by which LR is reduced on plateau (for ReduceLROnPlateau).
scheduler_patience int 50 ≥1 Epochs without improvement before reducing LR (for ReduceLROnPlateau).
lr_scheduler_gamma float 0.9993 0–1 Per-epoch multiplicative decay factor (for ExponentialLR).

ReduceLROnPlateau (default): Monitors validation loss. When loss stops improving for scheduler_patience epochs, LR is multiplied by lr_factor.

ExponentialLR: LR decays every epoch by lr_scheduler_gamma. At epoch n: LR = learning_rate × lr_scheduler_gamma^n.

Early Stopping

Key Type Default Choices / Range Description
patience int 2048 ≥1 Stop training after this many epochs without improvement.

[!NOTE] Default patience=2048 effectively disables early stopping. Set lower (e.g., 100–200) if you want to stop early.

Loss Function

Key Type Default Choices Description
loss str "weighted" "weighted", "universal", etc. Loss function type. "universal" is auto-set by data script when stress data is detected.
energy_weight float 1.0 ≥0 Weight for energy loss (exposed via CLI).
forces_weight float 10.0 ≥0 Weight for forces loss (exposed via CLI).
stress_weight float 1.0 ≥0 Weight for stress loss (exposed via CLI).
compute_forces bool True True, False Include forces in training.
compute_stress bool False True, False Include stress in training (auto-enabled by data script).

[!WARNING] Stress Units: MACE expects stress in eV/ų. Raw VASP stress obtained directly via some JSON files may be in kilo-Bar (kB), which is ~160x larger and will cause catastrophic training divergence. The Atomate2 MCP tool handles this conversion automatically when convert_units=True. However, if your JSON labels contain raw kB stress, you MUST pass the --vasp-stress-conversion flag to scripts/prepare_mace_data.py to automatically scale them by -1/160.2x. For more details on unit standardization, see @[.agents/skills/general-property-units/SKILL.md].

[!WARNING] Learning rate sensitivity for MACE-OMAT: The official MACE docs recommend lr=0.01 for MACE-MP-0, but MACE-OMAT-0-small requires lr=1e-4 to avoid divergence. Higher values (1e-3, 0.01) cause catastrophic forgetting even with frozen backbone + EMA.

[!IMPORTANT] The generated finetune_config.yaml maps exactly to mace_run_train arguments. You can open and manually modify the YAML file before running mace_run_train to inject any advanced parameter.

Usage:

# 1. Prepare Data
conda run -n mace-agent python .agents/skills/ml-mace-finetune/scripts/prepare_mace_data.py \
    --data /path/to/training_data.json \
    --output-dir ./mace_finetuned_data

# 2. Generate Configuration
conda run -n mace-agent python .agents/skills/ml-mace-finetune/scripts/generate_mace_config.py \
    --train-file ./mace_finetuned_data/train.xyz \
    --valid-file ./mace_finetuned_data/valid.xyz \
    --model MACE-OMAT-0-small \
    --epochs 10 \
    --lr 1e-4 \
    --batch-size 2 \
    --freeze-backbone \
    --output-dir ./mace_finetuned

# 3. Run Training
conda run -n mace-agent mace_run_train --config ./mace_finetuned/finetune_config.yaml

# 4. Extract Training Logs (Optional, to create standard training_history.json)
conda run -n base-agent python .agents/skills/ml-mace-finetune/scripts/extract_mace_logs.py \
    --results-dir ./mace_finetuned/results

Examples

See the mace-wbm-finetune directory for a complete, runnable example of 10-epoch fine-tuning on high-energy crystal structures (WBM dataset), including exact usage of the --vasp-stress-conversion flag and diagnostic output artifacts.

Constraints

  • Data Size: For small datasets (<500 structures), freeze_backbone=True is strongly recommended.
  • Reference Energies (E0s): If your fine-tuning data is computed using the same DFT functional (e.g., PBE) as the foundation model's original training data, you should reuse the foundation model's original isolated atom reference energies (E0s) instead of re-fitting them. This maintains thermodynamic compatibility across the periodic table for elements not in your fine-tuning set.
  • Units (input): Stress labels must be in eV/ų as per project standards.
  • Units (output): All training_history.json files use meV units: energy MAE in meV/atom, force MAE in meV/Å, stress MAE in meV/ų.

Author: Bowen Deng Contact: GitHub @learningmatter-mit

版本历史

  1. v2.0.0 GitHub ↗
    原版更新说明

    ## What's Changed > [!WARNING] > **BREAKING MAJOR RELEASE**: AtomisticSkills 2.0.0 completely overhauls the runtime architecture, replacing legacy manual conda environments with unified, deterministic `uv` projects and container fallbacks, restructuring skills to comply with the standard Agent Skills specification, and consolidating MCP servers. Existing 1.x installations, conda environments, and configurations are not backwards-compatible. Please review the migration guide below. ### Repository Stats | Component | v1.3.4 | v2.0.0 | Added | |--------------|--------|--------|-------| | Skills | 129 | 133 | +4 | | Workflows | 9 | 9 | — | | MCP Tools | 49 | 49 | — | | Tool Servers | 20 | 10 | — | ### New Skills | Skill | Description | Author | |-------|-------------|--------| | `general-atomisticskills-rules` | Working rules for atomistic research with AtomisticSkills -- how to scope a request, set up a research directory and a plan before simulating, run skills and MCP tools, stay within GPU memory, and report results. | @bowen-bd | | `general-atomisticskills-setup` | Set up, check or troubleshoot how AtomisticSkills runs on this machine -- creating its Python environments, connecting its MCP servers, choosing uv or a container runtime, and configuring API keys. | @bowen-bd | | `general-publisher-access-guard` | Avoid bot-blocking publisher websites by routing paper retrieval through legal open-access APIs and mirrors. | @bowen-bd | | `mat-wannier-tight-binding` | Construct and validate Wannier tight-binding models, inspect orbital localization and hopping amplitudes, and interpolate electronic bands from DFT or existing Wannier90 files. | @bowen-bd | ### Breaking Changes: 1.x to 2.0.0 Overview | Area | 1.x | 2.0.0 | | :--- | :--- | :--- | | **Python Environments** | ~20 manual conda environments (`base-agent`, `mace-agent`, etc.) | Deterministic `uv` projects (`venv/cpu`, `venv/mlip`, `venv/fairchem`) + pinned research stacks (`adit`, `diffcsp`, `mattergen`, `msms`, `reactot`, `scd`) | | **Execution Launcher** | `conda run -n <env> python ...`, `# Env:` annotations | Unified launcher `venv/run <venv>[+extra] <cmd>`; SKILL commands invoke `${CLAUDE_SKILL_DIR}/../../venv/run` | | **MCP Server Config** | Fragmented per-server configs with hardcoded interpreter paths | Consolidated 10 multi-tool servers started via `venv/run --server <name>` | | **MCP Shell Fallback** | Required running standalone agent scripts | Direct shell CLI fallback: `venv/run <venv> python -m src.mcp_server.cli <server> <tool> key=value ...` sharing process state | | **Claude Plugin** | Custom layout under `.agents/skills`, unrecognised spec keys | Root plugin via `.claude-plugin/plugin.json`, skills at `skills/` adhering to standard 6-key Agent Skills spec | | **Container Images** | Custom Dockerfiles (`atomisticskills-lightweight`, `-mace`, etc.) | Dual-architecture OCI images (`-cpu`, `-mlip`, `-fairchem`, `-generative`) locked from uv dependencies with Apptainer support | | **MatGL & CHGNet** | MatGL with DGL backend; 2025 MatPES checkpoint | MatGL ≥ 4 (PyTorch Geometric only); default CHGNet is `CHGNet-PES-MatPES-PBE-1M-2026.9` | | **GPU / CUDA** | Generic CUDA 12 builds | Dynamic runtime detection: CUDA 13 (driver ≥ 580) vs CUDA 12.6 (drivers 525–579) PyTorch builds | --- ### Conda to UV & Docker Migration: Runtime Dispatch Rules Conda environments have been entirely eliminated (`conda-envs/` is removed). AtomisticSkills now uses a unified launcher backend driven by `venv/run`: #### 1. When is Native `uv` Used? By default (`ATOMISTIC_RUNTIME=auto`), `venv/run` inspects the host platform and executes natively with `uv` when: - The OS is Linux on `x86_64` or `aarch64`. - The host `glibc` meets the requirement declared in `venv/platforms.tsv` for the requested project (e.g. glibc ≥ 2.34 for OpenMM, glibc ≥ 2.32 for generative PyG wheels, glibc ≥ 2.28 for base CPU). - A host C compiler (`gcc` / `clang`) is available for any package source builds. - Environments sync on-demand inside the repository under `venv/<project>/.venv` in seconds using Astral `uv`. #### 2. When is Container Execution (Docker / Apptainer / Podman) Used? A container is dispatched automatically or explicitly when: - **Automatic Fallback**: The host system does not satisfy the platform criteria (e.g., glibc is older than required, running on non-Linux, or lacking native PyG/CUDA compilers on arm64). - **HPC Environments**: On high-performance computing clusters where users lack root/docker permissions, `ATOMISTIC_RUNTIME=apptainer` builds or reuses SquashFS SIF images directly in `~/.cache/atomisticskills/images/` and passes GPUs via `--nv`. - **Explicit Override**: Setting `ATOMISTIC_RUNTIME=docker`, `podman`, or `apptainer` forces container execution. Host workspaces, project directories, and source checkouts are mounted at identical paths so output file ownership and permissions belong directly to the user. #### 3. Why Three Shared Environments + Pinned Research Stacks? Rather than a single bloated environment, three shared `uv` projects resolve fundamental package incompatibilities: 1. `venv/cpu`: Fast, lightweight environment for ASE, pymatgen, RDKit, pycalphad, MDAnalysis (Python 3.12, NumPy 2.5+, no PyTorch). 2. `venv/mlip`: MACE and MatGL (PyTorch 2.14.1, `mace-torch 0.3.16` pinning `e3nn==0.4.4`, `matgl 4.1.0`, NumPy 2.3.5). 3. `venv/fairchem`: FairChem foundation models (PyTorch 2.13.0, `fairchem-core 2.23.0` requiring `e3nn>=0.5`, NumPy 2.3.5). 4. **Pinned Research Stacks**: Stacks requiring legacy PyTorch versions or custom C++/CUDA extensions (`adit`, `diffcsp`, `mattergen`, `msms`, `reactot`, `scd`) run in isolated uv projects replicating their exact verified dependency sets without perturbing shared foundations. --- ### Modernized Model Context Protocol (MCP) Integration - **10 Consolidated Multi-Tool Servers**: Replaced 20 fragmented single-purpose servers with 10 coherent domain servers: `base`, `atomate2`, `drugdisc`, `smol`, `mace`, `matgl`, `fairchem`, `adit`, `diffcsp`, and `mattergen`. - **Unified Server Launcher**: Every server is started through the launcher: ```bash venv/run --server <server_name> ``` `configure_mcp.py` automatically generates compliant configurations for Claude Desktop, Claude Code, Gemini CLI, Cursor, and Windsurf. - **Headless Shell CLI Fallback**: Any MCP tool can be invoked directly from the terminal without an active MCP JSON-RPC connection: ```bash venv/run <venv> python -m src.mcp_server.cli <server> <tool> key=value ... ``` Multiple tools chained in a single invocation share process memory, allowing stateful workflows (e.g., `load_model` followed immediately by `relax_structure`). - **Harness Separation**: Agent harness utilities (`task_boundary`, `notify_user`) are strictly decoupled from the MCP server interfaces. --- ### Claude Plugin Architecture & Spec Compliance - **Standard Plugin Layout**: Configured via `.claude-plugin/plugin.json` and `.claude-plugin/marketplace.json` at repository root. - **Spec-Compliant Frontmatter**: All skills now reside at `skills/<skill_name>/SKILL.md` (with `.agents/skills` maintained as a compatibility symlink). Frontmatter strictly follows the 6-key Agent Skills specification; categories are nested under `metadata.category` and required environments under `metadata.venv`. - **Self-Locating Executables**: Skill command templates use `${CLAUDE_SKILL_DIR}/../../venv/run <venv> python ...`, ensuring flawless path resolution across project skills, personal skills, and plugin installations. - **Runtime Configuration Options**: Plugin users can configure runtime preferences via plugin settings: `runtime` (`auto`, `uv`, `docker`, `apptainer`), `image_registry`, and `image_tag`. Simulation artifacts write directly into the active user workspace rather than internal plugin directories. --- ### Upgrade Instructions #### For Claude Plugin Users ```bash claude plugin marketplace update atomistic-skills claude plugin update atomistic-skills@atomistic-skills ``` Restart Claude Code. Environments are generated automatically on first use or initialized ahead of time via `venv/run --setup`. #### For Clone / Local Users ```bash git pull origin main venv/run --setup # Initializes venv/cpu, venv/mlip, and venv/fairchem venv/run --doctor # Validates runtime status and detected CUDA drivers python configure_mcp.py # Rewrites agent MCP configurations ``` --- ### Other Highlights & Enhancements - **MLIP Models & Weights**: Upgraded MatGL to 4.x (PyTorch Geometric backend, dropping DGL), defaulted CHGNet to the latest `CHGNet-PES-MatPES-PBE-1M-2026.9` checkpoint, and added opt-in batched GPU inference via NValchemi. - **Elasticity Refactor**: Overhauled `mat-elasticity` to use pymatgen `ElasticTensor` and `ComplianceTensor` directly with relaxed-ion defaults and off-axis compliance verification. - **Equation of State**: Corrected Birch-Murnaghan minimum parameter fit extraction and energy-volume curve export in `mat-equation-of-state`. - **Spectrometry**: Ported `chem-msms-predict` to ICEBERG 2.1 (ms-pred 2.1) on a dedicated uv project with automated MassSpecGym weights download. - **LAMMPS Integration**: Added dedicated build scripts in `mat-lammps-md` targeting `venv/mlip` (`mlip+lammps`) and `fairchem+lammps`. - **DFT Robustness**: Fixed `Atomate2Handler.check_status` job lookup by UUID via JobController's custom query interface.

  2. v1.3.4 GitHub ↗
    原版更新说明

    ## What's Changed ### Repository Stats | Component | v1.3.3 | v1.3.4 | Added | |--------------|--------|--------|-------| | Skills | 128 | 129 | +1 | | Workflows | 9 | 9 | — | | MCP Tools | 49 | 49 | — | | Tool Servers | 20 | 20 | — | ### New Skills | Skill | Description | Author | |-------|-------------|--------| | `mat-edi-mobility` | Compute defect-limited carrier mobility and electron-defect scattering matrix elements in 2D and 3D semiconductors from first principles with Quantum ESPRESSO and the EDI plugin. | @cz2014 | ### Other Highlights - **Defect-Limited Mobility**: Added the [mat-edi-mobility](file://.agents/skills/mat-edi-mobility/SKILL.md) skill to compute defect-limited carrier mobility and electron-defect scattering matrix elements in 2D/3D semiconductors using Quantum ESPRESSO and the EDI plugin. - **QHA Thermal Expansion**: Exposed `--fmax` and `--max_steps` in `mat-qha-thermal-expansion` to prevent convergence stalls on MLIP forces; added optional `--volume_window` control while preserving field-standard volume window defaults and updating strain convention documentation. - **Toxicity & Hazard Triage**: Added GHS acute oral toxicity category profiling and consensus GHS code extraction to `chem-hazard-toxicity`. - **Claude Code Native Integration**: Registered `.agents/skills` as native Claude Code project skills when configuring agent integrations. - **Synthesis Recommendation**: Enhanced Materials Project API compatibility in `mat-synthesis-recommendation` for newer `mp-api` synthesis endpoints. - **Linter & Code Hygiene**: Configured ruff `per-file-ignores` for `E402` in `pyproject.toml` and removed redundant inline noqa comments across MCP servers and skill scripts. - **Documentation & Citations**: Updated the paper citation in `README.md` to reflect publication year 2026.

  3. v1.3.3 GitHub ↗
    原版更新说明

    ## What's Changed ### Repository Stats | Component | v1.3.2 | v1.3.3 | Added | |--------------|--------|--------|-------| | Skills | 127 | 128 | +1 | | Workflows | 9 | 9 | — | | MCP Tools | 49 | 49 | — | | Tool Servers | 20 | 20 | — | ### New Skills | Skill | Description | Author | |-------|-------------|--------| | `mat-epw-mobility` | Compute carrier mobility and mode-resolved electron-phonon coupling in 2D materials from first principles with Quantum ESPRESSO and EPW. | @cz2014 | ### Other Highlights - **Uncertainty Quantification**: Added detailed guidance and critical warnings to the committee uncertainty skill ([ml-committee-uncertainty](file:///home/bdeng/projects/AtomisticSkills/.agents/skills/ml-committee-uncertainty/SKILL.md)) regarding heterogeneous ensembles (multi-foundation models). Clarified that absolute energy standard deviation is not a valid disagreement signal when models do not share a common energy reference scale ($E_0$), and directed users to rank using force disagreement instead. - **Electron-Phonon Coupling**: Added the [mat-epw-mobility](file:///home/bdeng/projects/AtomisticSkills/.agents/skills/mat-epw-mobility/SKILL.md) skill to run Quantum ESPRESSO + EPW calculations for 2D semiconductors.

  4. v1.3.2 GitHub ↗
    原版更新说明

    ## What's Changed ### Repository Stats | Component | v1.3.1 | v1.3.2 | Added | |--------------|--------|--------|-------| | Skills | 127 | 127 | — | | Workflows | 9 | 9 | — | | MCP Tools | 49 | 49 | — | | Tool Servers | 20 | 20 | — | ### Other Highlights - **NValchemi batched MD gating**: Re-benchmarked sequential vs. batched MD serially (no GPU contention) and found NValchemi batched MD is a win only for MACE (4.90x). Added a `_nvalchemi_supports_batch_md` flag that routes TensorNet and FairChem MD to the faster sequential path. TensorNet's light forward exposes a `torch.compile`/Warp neighbor-list stream race (officially supported by `matgl.ext.alchmtk`, so a hardware limitation, not an incompatibility) and is ~0.88x even when forced; FairChem uma-s-1p2's forward scales superlinearly per atom (1.57 ms/atom at batch=1 → 2.43 at batch=20) so batched MD is 0.64x. - **FairChem cutoff fix**: Corrected the NValchemi FairChem wrapper's cutoff inference, which fell back to 12 Å / 500 neighbors instead of the model's true 6 Å / 300 (wrong attribute paths), making `adapt_input` build ~530 edges/atom of work that uma-s-1p2 discards (it runs with `external_graph_gen=False`). Added a robust `_find_backbone` walk. - **NValchemi fixed-batch relaxation**: Switched to standard form cell mapping and scaled FIRE2 optimizer to prevent cell distortion during relaxation. Fixed trailing post-convergence step handling and enabled native convergence masking in fixed-batch mode. Disabled inflight batching for TensorNet to prevent neighbor-list OOB errors. - **MCP Server memory optimization**: Implemented automatic GPU memory cleanup (`gc.collect()` and `torch.cuda.empty_cache()`) within MACE, MatGL, and FairChem relaxation and molecular dynamics handlers to prevent VRAM accumulation. - **Skills & documentation**: Re-documented the NValchemi skill with corrected batched vs. sequential MD benchmarks for MACE, MatGL (TensorNet), and FairChem (UMA), and added a serial `run_md_benchmark.py` harness. Refined category tags on mass spectrometry and spectrum-matching skills.

  5. v1.3.1 GitHub ↗
    原版更新说明

    ## What's Changed ### Repository Stats | Component | v1.3.0 | v1.3.1 | Added | |--------------|--------|--------|-------| | Skills | 127 | 127 | — | | Workflows | 9 | 9 | — | | MCP Tools | 49 | 49 | — | | Tool Servers | 20 | 20 | — | ### Other Highlights - **NValchemi Stability**: Fixed batch relaxation memory issues; added `PositionWrappingHook` and `ForceStressClippingHook` to prevent exploding trajectories during GPU-parallel relaxation. - **NValchemi Cell Relaxation**: Switched to `FIRE2VariableCell` with `dt=0.05` for more stable variable-cell relaxations. - **M3GNet / CHGNet**: Added `_nvalchemi_supports_relax=False` flag to skip NValchemi dispatch for models that do not support it; neighbor-list overflow and OOM errors now fall back gracefully to sequential relaxation. - **Tooling**: Updated `configure_mcp.py` to expose AtomisticSkills skills globally for all registered agents.

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 面向材料科学领域提供专业的 MACE 模型微调能力
  • 解决特定化学体系精度提升的实际科研需求
触发精准90/100

亮点

  • 触发词精准覆盖 MACE 微调核心概念
  • description 位置规范且内容完整
结构规范95/100

待提升项

  • 步骤编号不连续 原报告严重程度:轻微

    Instructions 中步骤编号从 3 直接跳至 16,缺乏连续性

    改进建议:建议将步骤重新编号为连续数字(1-8)以提升可读性

  • 缺少标准 When to Use 章节 原报告严重程度:轻微

    未使用标准章节名 'When to Use',相关内容放在 Goal 中

    改进建议:建议增加显式的 'When to Use' 章节以符合平台规范

亮点

  • 执行流程清晰分阶段(数据准备→配置生成→训练→验证)
  • 提供完整端到端代码示例和参数说明表
执行可靠90/100

亮点

  • 关键风险点有明确警告(单位转换、学习率敏感性)
  • 提供小数据集使用约束和参考能量处理建议
证据可验 (前四项均值)90/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • github.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。