forked from NVIDIA/NeMo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into rohitrango/controlnet_cibug
- Loading branch information
Showing
177 changed files
with
26,302 additions
and
1,454 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.github/ @pablo-garay @ko3n1g | ||
Dockerfile.ci @pablo-garay @ko3n1g |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Regularly updates the CI container | ||
name: MCore Tag Bump Bot | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: 0 0 * * * | ||
|
||
jobs: | ||
main: | ||
runs-on: ubuntu-latest | ||
environment: main | ||
steps: | ||
- name: Checkout NVIDIA/Megatron-LM | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: NVIDIA/Megatron-LM | ||
ref: main | ||
path: ${{ github.run_id }} | ||
|
||
- name: Get latest mcore commit | ||
id: ref | ||
run: | | ||
cd ${{ github.run_id }} | ||
sha=$(git rev-parse origin/main) | ||
echo "sha=${sha}" >> "$GITHUB_OUTPUT" | ||
echo "short_sha=${sha:0:7}" >> "$GITHUB_OUTPUT" | ||
echo "date=$(date +%F)" >> "$GITHUB_OUTPUT" | ||
- name: Checkout ${{ github.repository }} | ||
uses: actions/checkout@v4 | ||
with: | ||
path: ${{ github.run_id }} | ||
token: ${{ secrets.PAT }} | ||
|
||
- name: Bump MCORE_TAG | ||
run: | | ||
cd ${{ github.run_id }} | ||
sed -i 's/^ARG MCORE_TAG=.*$/ARG MCORE_TAG=${{ steps.ref.outputs.sha }}/' Dockerfile.ci | ||
- name: Create Bump PR | ||
uses: peter-evans/create-pull-request@v6 | ||
id: create-pull-request | ||
with: | ||
path: ${{ github.run_id }} | ||
branch: bump-ci-container-${{ steps.ref.outputs.date }} | ||
base: main | ||
title: 'Bump `Dockerfile.ci` (${{ steps.ref.outputs.date }})' | ||
token: ${{ secrets.PAT }} | ||
body: | | ||
🚀 PR to Bump `Dockerfile.ci`. | ||
📝 Please remember the following to-do's before merge: | ||
- [ ] Verify the presubmit CI | ||
🙏 Please merge this PR only if the CI workflow completed successfully. | ||
commit-message: "[🤠]: Howdy folks, let's bump `Dockerfile.ci` to ${{ steps.ref.outputs.short_sha }} !" | ||
signoff: true | ||
reviewers: 'pablo-garay' | ||
labels: 'Run CICD' |
Oops, something went wrong.