Skip to content

Commit

Permalink
Jenkins CI debug
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Lasek <[email protected]>
  • Loading branch information
janekl committed Apr 17, 2024
1 parent 0132eeb commit e1de5d2
Showing 1 changed file with 24 additions and 17 deletions.
41 changes: 24 additions & 17 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ pipeline {
environment {
NVTE_FUSED_ATTN = 0
NVTE_FLASH_ATTN = 0
PYTHONPATH = "/mnt/D3/JenkinsWorkDir/workspace/NeMo-multibranch_${GIT_BRANCH}/Megatron-LM"
}

options {
Expand Down Expand Up @@ -91,7 +92,10 @@ pipeline {
pip install . && \
cd megatron/core/datasets && \
make'
sh 'export PYTHONPATH="${PYTHONPATH}:/mnt/D3/JenkinsWorkDir/workspace/NeMo-multibranch_${GIT_BRANCH}/Megatron-LM"'
sh 'pwd && ls -lh'
sh 'cd ../../ && pwd && ls -lh'
// sh 'export PYTHONPATH=/mnt/D3/JenkinsWorkDir/workspace/NeMo-multibranch_${GIT_BRANCH}/Megatron-LM'
sh 'echo PYTHONPATH=${PYTHONPATH}'
}
}

Expand Down Expand Up @@ -126,23 +130,23 @@ pipeline {
}
}

stage('L0: Unit Tests GPU') {
steps {
sh 'NEMO_NUMBA_MINVER=0.53 pytest -m "not pleasefixme" --with_downloads'
}
}
// stage('L0: Unit Tests GPU') {
// steps {
// sh 'NEMO_NUMBA_MINVER=0.53 pytest -m "not pleasefixme" --with_downloads'
// }
// }

stage('L0: Unit Tests CPU') {
when {
anyOf {
branch 'main'
changeRequest target: 'main'
}
}
steps {
sh 'CUDA_VISIBLE_DEVICES="" NEMO_NUMBA_MINVER=0.53 pytest -m "not pleasefixme" --cpu --with_downloads --relax_numba_compat'
}
}
// stage('L0: Unit Tests CPU') {
// when {
// anyOf {
// branch 'main'
// changeRequest target: 'main'
// }
// }
// steps {
// sh 'CUDA_VISIBLE_DEVICES="" NEMO_NUMBA_MINVER=0.53 pytest -m "not pleasefixme" --cpu --with_downloads --relax_numba_compat'
// }
// }

stage('L2: Multimodal Imagen Train') {
when {
Expand Down Expand Up @@ -490,6 +494,9 @@ pipeline {
parallel {
stage('Llama2 - Export Only') {
steps {
sh 'pwd && ls -lh'
sh 'echo PYTHONPATH=${PYTHONPATH}'
sh 'ls ${PYTHONPATH}'
sh 'python examples/nlp/language_modeling/megatron_llama_quantization.py \
model_file=/home/TestData/nlp/megatron_llama/llama_ci.nemo \
quantization.algorithm=null \
Expand Down

0 comments on commit e1de5d2

Please sign in to comment.