Skip to content

Commit f65fb9f

Browse files
authored
Merge pull request #124 from argonne-lcf/dev
- Update ChemGraph container and add Kubernetes deployment. Add Kubernetes deployment support #123 - Add execution layer to ChemGraph, including EnsembleLauncher, Parsl, Globus compute and Globus transfer. Add - pluggable execution backends and backend-agnostic HPC MCP servers #120 Modified the EL backend implemenations, and added a EL backend test #127 - Add initial Academy integration Add pluggable execution backends and backend-agnostic HPC MCP servers #120 - Updates package metadata to version 0.5.0 and fixes source-checkout version reporting so UI deployments do not show unknown. - Modernizes the Streamlit UI with modular pages, improved chat/session behavior, available-calculator display, better math/report rendering, HTML report downloads, and build/host metadata. - Adds calculator availability detection during agent initialization and improves calculator selection, including xTB/TBLite alias handling. - Expands agent workflows with human-in-the-loop support, single-agent routing tests, retry/session fixes, and safer state serialization. - Adds and improves CLI, memory/session persistence, model routing, MCP client support, RAG, XANES, and evaluation tooling. - Adds Kubernetes, GHCR, Streamlit Cloud, HPC, and MCP deployment documentation and examples. Improves CI reliability with dependency pins, Windows serializer fixes, Ruff cleanup, and expanded tests.
2 parents a2603bc + fb4fa8d commit f65fb9f

110 files changed

Lines changed: 9842 additions & 3381 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/dependency_tests.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
python-version: ["3.10", "3.11", "3.12", "3.13"]
17-
install_extras: [core, calculators, uma, ui, parsl, viz]
17+
install_extras: [core, calculators, uma, ui, parsl, xanes, rag]
1818

1919
steps:
2020
- uses: actions/checkout@v4
@@ -74,9 +74,19 @@ jobs:
7474
'uma': ['fairchem.core', 'e3nn'],
7575
'ui': ['streamlit', 'stmol'],
7676
'parsl': ['parsl'],
77-
'viz': ['pyppeteer', 'grandalf', 'nest_asyncio']
77+
'xanes': ['parsl'],
78+
'rag': [
79+
'faiss',
80+
'langchain_text_splitters',
81+
'langchain_huggingface',
82+
'sentence_transformers',
83+
'fitz',
84+
],
7885
}
7986
87+
if extras == 'xanes' and sys.version_info >= (3, 11):
88+
extra_packages['xanes'].append('mp_api')
89+
8090
if extras != 'core':
8191
# Check packages for specific extra
8292
if extras in extra_packages:

.github/workflows/ghcr-publish.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
tags:
66
- "v*"
7+
branches:
8+
- feature_k8s
9+
- dev
710
workflow_dispatch:
811

912
permissions:
@@ -20,9 +23,6 @@ jobs:
2023
- arch: amd64
2124
platform: linux/amd64
2225
dockerfile: Dockerfile
23-
- arch: arm64
24-
platform: linux/arm64
25-
dockerfile: Dockerfile.arm
2626

2727
steps:
2828
- name: Checkout code
@@ -84,10 +84,11 @@ jobs:
8484
images: ${{ steps.prep.outputs.image }}
8585
tags: |
8686
type=ref,event=tag
87+
type=ref,event=branch
8788
type=sha,prefix=sha-
88-
type=raw,value=latest
89+
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
8990
90-
- name: Create and push multi-arch manifests
91+
- name: Create and push manifests
9192
env:
9293
IMAGE: ${{ steps.prep.outputs.image }}
9394
TAGS: ${{ steps.meta.outputs.tags }}
@@ -96,11 +97,10 @@ jobs:
9697
[ -z "$tag" ] && continue
9798
docker buildx imagetools create \
9899
-t "$tag" \
99-
"${IMAGE}:build-${GITHUB_SHA}-amd64" \
100-
"${IMAGE}:build-${GITHUB_SHA}-arm64"
100+
"${IMAGE}:build-${GITHUB_SHA}-amd64"
101101
done <<< "$TAGS"
102102
103-
- name: Inspect latest manifest
103+
- name: Inspect manifest
104104
env:
105105
IMAGE: ${{ steps.prep.outputs.image }}
106-
run: docker buildx imagetools inspect "${IMAGE}:latest"
106+
run: docker buildx imagetools inspect "${IMAGE}:${GITHUB_REF_NAME}"

.github/workflows/test-pypi-package.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ jobs:
3434
run: |
3535
python -c "import chemgraph; print('ChemGraph imported successfully')"
3636
python -c "from chemgraph.cli import main; print('CLI module imported successfully')"
37-
# Test that CLI command is available
38-
chemgraph --help || echo "CLI help command executed"
37+
chemgraph --help
3938
4039
- name: Run basic import tests
4140
run: |

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,8 @@ test.csv
5757
nwchem/
5858
nwchem.nwi
5959
nwchem.nwo
60-
60+
config.toml
6161
vib*.traj
62+
63+
# Kubernetes secrets (keep secrets.yaml.template, ignore actual secrets)
64+
k8s/secrets.yaml

0 commit comments

Comments
 (0)