Skip to content

Commit f81c089

Browse files
authored
[CICD] update coverage report & update megatron version of metax ci workflow (flagos-ai#1199)
### PR Category CICD ### PR Types Improvements ### PR Description - Update the coverage report interface to support multi-chip reports. - Update the megatron-lm-fl version of metax ci workflow
1 parent ca9fc8c commit f81c089

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/functional_tests_train.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,13 @@ jobs:
220220
echo "Python location: $(which python)"
221221
echo "Python version: $(python --version)"
222222
223-
# Install Megatron-LM-FL
224-
pip install megatron_core==0.1.0+megatron0.15.0rc7 \
225-
--extra-index-url https://resource.flagos.net/repository/flagos-pypi-hosted/simple \
226-
|| { echo "❌ Megatron-LM-FL install failed"; exit 1; }
227-
echo "✅ Megatron-LM-FL installed successfully"
223+
git clone \
224+
"https://github.com/flagos-ai/Megatron-LM-FL.git" /tmp/Megatron-LM-FL
225+
git -C /tmp/Megatron-LM-FL checkout d092f8df49f7c0b5b4cae42d036b7e4a26b8fc81
226+
227+
echo "Installing Megatron-LM-FL via pip..."
228+
pip install /tmp/Megatron-LM-FL --no-build-isolation --root-user-action=ignore \
229+
|| { echo "Megatron-LM-FL install failed"; exit 1; }
228230
229231
# Install TransformerEngine-FL and dependencies
230232
git clone --depth 1 https://github.com/flagos-ai/TransformerEngine-FL.git /workspace/TransformerEngine-FL \

.github/workflows/unit_tests_common.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,12 @@ jobs:
258258
- name: Upload coverage report to FlagCICD
259259
if: steps.unit_test.outcome == 'success'
260260
continue-on-error: true
261-
uses: flagos-ai/FlagOps/actions/post-pytest-report@v2
261+
uses: flagos-ai/FlagOps/actions/post-pytest-report@v2.0.4
262262
env:
263263
NO_PROXY: "flagcicd-inner.flagos.net"
264264
with:
265265
user_id: '000000000000000000'
266266
backend_url: 'http://flagcicd-inner.flagos.net:8000/metrics/'
267267
report_path: '${{ env.PROJECT_ROOT }}/coverage-report/coverage.json'
268268
fail_on_error: 'false'
269+
runner_set_name: ${{ fromJson(inputs.runs_on)[0] }}

0 commit comments

Comments
 (0)