Skip to content

Commit 6c3f48d

Browse files
JRD971000Ali Taghibakhshipre-commit-ci[bot]
authored
remove optional flag (NVIDIA-NeMo#10781)
* remove optional flag * temp fix CI * Apply isort and black reformatting Signed-off-by: JRD971000 <JRD971000@users.noreply.github.com> * add triton==2.2.0 to reqs * undo reqs * add triton==2.2.0 to reqs * remove triton downgrade from dockerfile * bump mamba version * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Apply isort and black reformatting Signed-off-by: pre-commit-ci[bot] <pre-commit-ci[bot]@users.noreply.github.com> --------- Signed-off-by: JRD971000 <JRD971000@users.noreply.github.com> Signed-off-by: pre-commit-ci[bot] <pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ali Taghibakhshi <ataghibakhsh@login-eos01.eos.clusters.nvidia.com> Co-authored-by: JRD971000 <JRD971000@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <pre-commit-ci[bot]@users.noreply.github.com>
1 parent fa5953b commit 6c3f48d

File tree

3 files changed

+8
-15
lines changed

3 files changed

+8
-15
lines changed

.github/workflows/cicd-main.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5151,10 +5151,10 @@ jobs:
51515151
rm -rf tests/collections/llm/gpt_index_mappings
51525152
IS_OPTIONAL: true
51535153

5154-
OPTIONAL_L2_NeMo_2_SSM_Pretraining:
5154+
L2_NeMo_2_SSM_Pretraining:
51555155
needs: [cicd-test-container-setup]
51565156
uses: ./.github/workflows/_test_template.yml
5157-
if: contains(fromJSON(needs.cicd-test-container-setup.outputs.test_to_run), 'OPTIONAL_L2_NeMo_2_SSM_Pretraining') || needs.cicd-test-container-setup.outputs.all == 'true'
5157+
if: contains(fromJSON(needs.cicd-test-container-setup.outputs.test_to_run), 'L2_NeMo_2_SSM_Pretraining') || needs.cicd-test-container-setup.outputs.all == 'true'
51585158
with:
51595159
RUNNER: self-hosted-azure
51605160
SCRIPT: |
@@ -5164,12 +5164,11 @@ jobs:
51645164
--max-steps 10 \
51655165
--experiment-dir /tmp/nlp_megatron_mamba_nemo-ux-mamba_cicd_test_pretrain/${{ github.run_id }} \
51665166
--data-path /home/TestData/nlp/megatron_mamba/toy_ssm_dataset/legal_pile_text_document
5167-
IS_OPTIONAL: true
51685167
5169-
OPTIONAL_L2_NeMo_2_SSM_Finetuning:
5168+
L2_NeMo_2_SSM_Finetuning:
51705169
needs: [cicd-test-container-setup]
51715170
uses: ./.github/workflows/_test_template.yml
5172-
if: contains(fromJSON(needs.cicd-test-container-setup.outputs.test_to_run), 'OPTIONAL_L2_NeMo_2_SSM_Finetuning') || needs.cicd-test-container-setup.outputs.all == 'true'
5171+
if: contains(fromJSON(needs.cicd-test-container-setup.outputs.test_to_run), 'L2_NeMo_2_SSM_Finetuning') || needs.cicd-test-container-setup.outputs.all == 'true'
51735172
with:
51745173
RUNNER: self-hosted-azure
51755174
SCRIPT: |
@@ -5179,7 +5178,6 @@ jobs:
51795178
--max-steps 10 \
51805179
--experiment-dir /tmp/nlp_megatron_mamba_nemo-ux-mamba_cicd_test_sft/${{ github.run_id }} \
51815180
--model-path /home/TestData/nlp/megatron_mamba/model_optim_rng.pt
5182-
IS_OPTIONAL: true
51835181
51845182
L2_NeMo_2_HF_MODEL_IMPORT:
51855183
needs: [cicd-test-container-setup]
@@ -5364,8 +5362,8 @@ jobs:
53645362
- L2_NeMo_2_GPT_Pretraining_no_transformer_engine
53655363
#- OPTIONAL_L2_NeMo_2_GPT_DDP_Param_Parity_check
53665364
- L2_NeMo_2_HF_MODEL_IMPORT
5367-
#- OPTIONAL_L2_NeMo_2_SSM_Pretraining
5368-
#- OPTIONAL_L2_NeMo_2_SSM_Finetuning
5365+
- L2_NeMo_2_SSM_Pretraining
5366+
- L2_NeMo_2_SSM_Finetuning
53695367
- L2_NeMo_2_T5_Pretraining
53705368
- L2_NeMo_2_Mixtral_Pretraining
53715369
- L2_PTQ_Llama2_INT8_SQ

Dockerfile.ci

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,11 @@ EOF
3232

3333
WORKDIR /workspace
3434

35-
# Install Mamba
36-
ARG MAMBA_TAG=v2.0.3
35+
# Install Mamba Dependancy
3736
ARG CAUSAL_CONV_TAG=v1.2.2.post1
3837

3938
RUN <<"EOF" bash -ex
4039
# Mamba dependancy installation
41-
git clone --depth 1 --branch ${MAMBA_TAG} https://github.com/state-spaces/mamba.git && \
42-
cd mamba && \
43-
python setup.py install && \
44-
cd .. && \
45-
rm -rf mamba
4640

4741
git clone --depth 1 --branch ${CAUSAL_CONV_TAG} https://github.com/Dao-AILab/causal-conv1d && \
4842
cd causal-conv1d && \

requirements/requirements_nlp.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ gdown
99
h5py
1010
ijson
1111
jieba
12+
mamba-ssm==2.2.2
1213
markdown2
1314
matplotlib>=3.3.2
1415
#megatron_core>0.6.0 # add back once mcore on pypi is compatible again

0 commit comments

Comments
 (0)