-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
) * Revert "Revert Mcore update since it caused regression (#11791)" This reverts commit 84b2bf0. * Fix Gemma2 Attention init args (#11792) * Use _get_mlp_module_spec from Megatron Core rather than redefine locally (#11834) * Use _get_mlp_module_spec from MCore rather than redefine Signed-off-by: Jan Lasek <[email protected]> * Apply isort and black reformatting Signed-off-by: janekl <[email protected]> * Update nemo/collections/nlp/models/language_modeling/megatron/gpt_layer_modelopt_spec.py Co-authored-by: oliver könig <[email protected]> Signed-off-by: Jan Lasek <[email protected]> --------- Signed-off-by: Jan Lasek <[email protected]> Signed-off-by: janekl <[email protected]> Co-authored-by: janekl <[email protected]> Co-authored-by: oliver könig <[email protected]> * Bugfix for output_generation_logits in tensorrtllm (#11820) (#11833) Signed-off-by: Abhishree <[email protected]> Signed-off-by: Jan Lasek <[email protected]> Co-authored-by: Abhishree Thittenamane <[email protected]> --------- Signed-off-by: Jan Lasek <[email protected]> Signed-off-by: janekl <[email protected]> Signed-off-by: Abhishree <[email protected]> Co-authored-by: Ao Tang <[email protected]> Co-authored-by: Jan Lasek <[email protected]> Co-authored-by: janekl <[email protected]> Co-authored-by: Abhishree Thittenamane <[email protected]>
- Loading branch information
1 parent
2db5dbb
commit fe2ae82
Showing
28 changed files
with
97 additions
and
146 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
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 |
---|---|---|
@@ -1,73 +1,52 @@ | ||
name: CI-Import-Check | ||
|
||
on: | ||
push: | ||
pull_request: | ||
paths: | ||
- "**" | ||
|
||
# Check https://hub.docker.com/r/pytorch/pytorch/tags for latest tags | ||
jobs: | ||
|
||
test-asr-imports: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: pytorch/pytorch:2.4.0-cuda11.8-cudnn9-runtime | ||
test-imports: | ||
name: test-${{ matrix.collection }}-import-${{ matrix.os }}-py${{ matrix.python }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
collection: | ||
- asr | ||
# - nlp # Currently broken | ||
- tts | ||
python: ['3.10', '3.11', '3.12'] | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
- name: Update base dependencies | ||
run: | | ||
apt-get update && apt-get install -y build-essential | ||
apt-get install -y libsndfile1 make | ||
- name: Install nemo dependencies | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '${{ matrix.python }}' | ||
- name: Build wheel | ||
id: nemo-wheel | ||
run: | | ||
pip install Cython | ||
# install test requirements | ||
pip install -r requirements/requirements_test.txt | ||
# Build nemo as a wheel | ||
pip install build | ||
python -m build --no-isolation --wheel | ||
python -m build --wheel | ||
# Preserve wheel location | ||
DIST_FILE=$(find ./dist -name "*.whl" | head -n 1) | ||
echo "::set-output name=DIST_FILE::${DIST_FILE}" | ||
- name: Test ASR Domain Imports | ||
run: | | ||
# Install NeMo Domain | ||
pip install "${{ steps.nemo-wheel.outputs.DIST_FILE }}[asr]" | ||
# Run import checks | ||
python tests/core_ptl/check_imports.py --domain "asr" | ||
# Uninstall NeMo | ||
pip uninstall -y nemo_toolkit | ||
test-tts-imports: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: pytorch/pytorch:2.4.0-cuda11.8-cudnn9-runtime | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
- name: Update base dependencies | ||
echo "DIST_FILE=${DIST_FILE}" | tee -a "$GITHUB_OUTPUT" | ||
- name: Install NeMo + test dependencies | ||
run: | | ||
apt-get update && apt-get install -y build-essential | ||
apt-get install -y libsndfile1 make | ||
- name: Install nemo dependencies | ||
id: nemo-wheel | ||
run: | | ||
pip install Cython | ||
# install test requirements | ||
pip install -r requirements/requirements_test.txt | ||
# Build nemo as a wheel | ||
pip install build | ||
python -m build --no-isolation --wheel | ||
# Preserve wheel location | ||
DIST_FILE=$(find ./dist -name "*.whl" | head -n 1) | ||
echo "::set-output name=DIST_FILE::${DIST_FILE}" | ||
- name: Test TTS Domain Imports | ||
run: | | ||
# Install NeMo Domain | ||
pip install "${{ steps.nemo-wheel.outputs.DIST_FILE }}[tts]" | ||
pip install "${{ steps.nemo-wheel.outputs.DIST_FILE }}[test,${{ matrix.collection }}]" | ||
- name: Run ${{ matrix.collection }} checks | ||
run: | | ||
# Run import checks | ||
python tests/core_ptl/check_imports.py --domain "tts" | ||
# Uninstall NeMo | ||
pip uninstall -y nemo_toolkit | ||
python tests/core_ptl/check_imports.py --domain "${{ matrix.collection }}" | ||
|
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
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
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
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
Oops, something went wrong.