Conversation
…) + nightly schedule
There was a problem hiding this comment.
Pull request overview
This PR updates the installer build pipeline to expand the CUDA build matrix, add backend selection controls for bundled ML frameworks, and run scheduled nightly builds.
Changes:
- Adds scheduled nightly builds (
cron) and manual triggering (workflow_dispatch) to the CI workflow. - Expands the CUDA build matrix to include additional CUDA versions (12.6, 12.8, 12.9, 13.1).
- Introduces
DP_BACKEND/TORCH_VERSION-driven conditional dependency inclusion in the constructor recipe.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
deepmd-kit/construct.yaml |
Adds backend-selection env vars and conditional inclusion of TensorFlow / PyTorch / JAX dependencies. |
.github/workflows/build.yaml |
Adds nightly schedule + manual dispatch and expands the CUDA build matrix entries. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+5
to
+7
| {% set with_tf = backend in ("all","tensorflow") %} | ||
| {% set with_pt = backend in ("all","pytorch") and torch_version %} | ||
| {% set with_jax = backend in ("all","jax") %} |
Comment on lines
+40
to
+42
| {% if with_pt %} | ||
| - pytorch {{ torch_version }} | ||
| {% endif %} |
Comment on lines
18
to
19
| - name: deepmd-kit | ||
| platform: linux-64 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add three features to the installer CI:
DP_BACKEND(all/tensorflow/pytorch/jax) andTORCH_VERSIONallow users to select which ML backends to bundle
cron: 0 2 * * *triggers daily builds, plusworkflow_dispatchfor manual runsTested: CPU + GPU (4×V100 cuda129) with PyTorch backend, dpa4 model training + LAMMPS inference
verified offline on Bohrium.
Ref: https://github.com/deepmd-kit-recipes/installer