Fix the precision error compared to the Megatron-LM caused by the data type of moe_act_func and mhc recompute. #294
Workflow file for this run
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
| name: metax_tests | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| workflow_dispatch: # Allows manual triggering | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.actor }} | |
| cancel-in-progress: true | |
| jobs: | |
| run_tests: | |
| # Package manager and environment settings are read from .github/configs/metax.yml | |
| uses: ./.github/workflows/all_tests_common.yml | |
| with: | |
| platform: metax | |
| run_unit_tests: true | |
| run_functional_tests: true | |
| all_tests: | |
| needs: run_tests | |
| runs-on: ubuntu-latest | |
| if: always() | |
| steps: | |
| - name: Verify workflow status | |
| run: | | |
| if [ "${{ needs.run_tests.result }}" != "success" ]; then | |
| echo "❌ Tests workflow failed" | |
| exit 1 | |
| fi | |
| echo "✅ All tests passed!" |