diff --git a/.github/workflows/sagemaker-integration.yml b/.github/workflows/sagemaker-integration.yml index 11530f4ea..6eb8594c1 100644 --- a/.github/workflows/sagemaker-integration.yml +++ b/.github/workflows/sagemaker-integration.yml @@ -6,7 +6,7 @@ on: mode: description: "release/nightly containers to test. Default is nightly" required: false - default: nightly + default: 'nightly' sagemaker-repository: description: 'Link to Github repository for SageMaker Python SDK. Can be a personal fork.' required: false @@ -77,7 +77,7 @@ jobs: - name: MME Test working-directory: tests/integration run: | - python3 llm/sagemaker-endpoint-tests.py deepspeed-mme djl_mme ${{ github.event.inputs.mode }} + python3 llm/sagemaker-endpoint-tests.py deepspeed-mme djl_mme ${{ github.event.inputs.mode || 'nightly' }} - name: Test gpt2xl working-directory: tests/integration run: | @@ -88,21 +88,21 @@ jobs: if: success() || failure() working-directory: tests/integration run: | - python3 llm/sagemaker-endpoint-tests.py stable-diffusion-2-1-base djl ${{ github.event.inputs.mode }} + python3 llm/sagemaker-endpoint-tests.py stable-diffusion-2-1-base djl ${{ github.event.inputs.mode || 'nightly' }} echo "sleep 30 seconds to allow endpoint deletion" sleep 30 - name: Test opt-1.3b if: success() || failure() working-directory: tests/integration run: | - python3 llm/sagemaker-endpoint-tests.py opt-1-3-b djl ${{ github.event.inputs.mode }} + python3 llm/sagemaker-endpoint-tests.py opt-1-3-b djl ${{ github.event.inputs.mode || 'nightly' }} echo "sleep 30 seconds to allow endpoint deletion" sleep 30 - name: Test flan-t5-xxl if: success() || failure() working-directory: tests/integration run: | - python3 llm/sagemaker-endpoint-tests.py flan-t5-xxl djl ${{ github.event.inputs.mode }} + python3 llm/sagemaker-endpoint-tests.py flan-t5-xxl djl ${{ github.event.inputs.mode || 'nightly' }} echo "sleep 30 seconds to allow endpoint deletion" sleep 30 @@ -132,28 +132,28 @@ jobs: if: success() || failure() working-directory: tests/integration run: | - python3 llm/sagemaker-endpoint-tests.py gpt-j-6b djl ${{ github.event.inputs.mode }} + python3 llm/sagemaker-endpoint-tests.py gpt-j-6b djl ${{ github.event.inputs.mode || 'nightly' }} echo "sleep 30 seconds to allow endpoint deletion" sleep 30 - name: Test gpt-neo-2.7b no code DeepSpeed if: success() || failure() working-directory: tests/integration run: | - python3 llm/sagemaker-endpoint-tests.py gpt-neo-2-7-b no_code ${{ github.event.inputs.mode }} + python3 llm/sagemaker-endpoint-tests.py gpt-neo-2-7-b no_code ${{ github.event.inputs.mode || 'nightly' }} echo "sleep 30 seconds to allow endpoint deletion" sleep 30 - name: Test bloom-7b1 no code FasterTransformer if: success() || failure() working-directory: tests/integration run: | - python3 llm/sagemaker-endpoint-tests.py bloom-7b1 no_code ${{ github.event.inputs.mode }} + python3 llm/sagemaker-endpoint-tests.py bloom-7b1 no_code ${{ github.event.inputs.mode || 'nightly' }} echo "sleep 30 seconds to allow endpoint deletion" sleep 30 - name: Test DeepSpeed pythia-12b if: success() || failure() working-directory: tests/integration run: | - python3 llm/sagemaker-endpoint-tests.py pythia-12b djl ${{ github.event.inputs.mode }} + python3 llm/sagemaker-endpoint-tests.py pythia-12b djl ${{ github.event.inputs.mode || 'nightly' }} echo "sleep 30 seconds to allow endpoint deletion" sleep 30