Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-ami.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
version: "1.10.1"

- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4
uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6.1.1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_BUILD_AMI }}
aws-secret-access-key: ${{ secrets.AWS_ACCESS_KEY_SECRET_BUILD_AMI }}
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:

- name: Slack Notification on Failure
id: slack
uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0
uses: slackapi/slack-github-action@45a88b9581bfab2566dc881e2cd66d334e621e2c # v3.0.3
if: ${{ failure() && github.event_name == 'schedule' }}
with:
channel-id: 'C06GAEQJLNN' #copied from slack channel
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-vllm-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,22 @@ jobs:
echo "ON_VERSION=${ON_VERSION}">> $GITHUB_ENV
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
-
name: Login to ghcr.io
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to DockerHub
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
-
name: Build and push
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
with:
context: .
file: docker/vllm/Dockerfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cache_diffusion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Run sanity check
uses: ./.github/actions/sanity-check
with:
Expand All @@ -55,7 +55,7 @@ jobs:
]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install Neuronx runtime
uses: ./.github/actions/install_neuronx_runtime
- name: Setup virtual environment
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cache_llm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Run sanity check
uses: ./.github/actions/sanity-check
with:
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install Neuronx runtime
uses: ./.github/actions/install_neuronx_runtime
- name: Setup virtual environment
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
PR_CLONE_URL: ${{ github.event.pull_request.head.repo.clone_url }}

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '20'
cache-dependency-path: "kit/package-lock.json"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/doc-pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
PR_CLONE_URL: ${{ github.event.pull_request.head.repo.clone_url }}

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '20'
cache-dependency-path: "kit/package-lock.json"
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
echo ${{ env.COMMIT_SHA }} > ./commit_sha
echo ${{ env.PR_NUMBER }} > ./pr_number

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: doc-build-artifact
path: neuron-doc-build/
2 changes: 1 addition & 1 deletion .github/workflows/doc-pr-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build:
uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@9ad2de8582b56c017cb530c1165116d40433f1c6 # main
uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@b0f9a6e3b6aa912656cbda9f74896eb721d29421 # main
with:
package_name: optimum-neuron
secrets:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
with:
fetch-depth: 0
- name: Secret Scanning
uses: trufflesecurity/trufflehog@6bd2d14f7a4bc1e569fa3550efa7ec632a4fa67b # main
uses: trufflesecurity/trufflehog@37b77001d0174ebec2fcca2bd83ff83a6d45a3ab # main
with:
extra_args: --results=verified,unknown
2 changes: 1 addition & 1 deletion .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
- uses: actions/stale@v10.2.0
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-pr-message: 'This PR is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_cpu_only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Run sanity check
uses: ./.github/actions/sanity-check
with:
Expand All @@ -70,7 +70,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install Neuronx runtime
uses: ./.github/actions/install_neuronx_runtime
- name: Setup virtual environment
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_inf2_diffusers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Run sanity check
uses: ./.github/actions/sanity-check
with:
Expand All @@ -55,7 +55,7 @@ jobs:
group: aws-inf2-8xlarge
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install Neuronx runtime
uses: ./.github/actions/install_neuronx_runtime
- name: Install cv2 dependencies
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
group: aws-inf2-8xlarge
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install Neuronx runtime
uses: ./.github/actions/install_neuronx_runtime
- name: Install cv2 dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_inf2_export.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Run sanity check
uses: ./.github/actions/sanity-check
with:
Expand All @@ -63,7 +63,7 @@ jobs:
group: aws-inf2-8xlarge
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install Neuronx runtime
uses: ./.github/actions/install_neuronx_runtime
- name: Setup virtual environment
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test_inf2_llm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Run sanity check
uses: ./.github/actions/sanity-check
with:
Expand All @@ -83,7 +83,7 @@ jobs:
group: aws-inf2-8xlarge
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Export test models
uses: ./.github/actions/export_test_models
with:
Expand All @@ -96,7 +96,7 @@ jobs:
group: aws-inf2-8xlarge
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install Neuronx runtime
uses: ./.github/actions/install_neuronx_runtime
- name: Setup virtual environment
Expand All @@ -116,7 +116,7 @@ jobs:
group: aws-inf2-8xlarge
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install Neuronx runtime
uses: ./.github/actions/install_neuronx_runtime
- name: Setup virtual environment
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
group: aws-inf2-8xlarge
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install Neuronx runtime
uses: ./.github/actions/install_neuronx_runtime
- name: Setup virtual environment
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_inf2_seq2seq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Run sanity check
uses: ./.github/actions/sanity-check
with:
Expand All @@ -51,7 +51,7 @@ jobs:
group: aws-inf2-8xlarge
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install Neuronx runtime
uses: ./.github/actions/install_neuronx_runtime
- name: Setup virtual environment
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_inf2_slow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Run sanity check
uses: ./.github/actions/sanity-check
with:
Expand All @@ -63,7 +63,7 @@ jobs:
group: aws-inf2-8xlarge
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install Neuronx runtime
uses: ./.github/actions/install_neuronx_runtime
- name: Setup virtual environment
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_inf2_transformers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Run sanity check
uses: ./.github/actions/sanity-check
with:
Expand All @@ -61,7 +61,7 @@ jobs:
group: aws-inf2-8xlarge
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install Neuronx runtime
uses: ./.github/actions/install_neuronx_runtime
- name: Setup virtual environment
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
group: aws-inf2-8xlarge
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install Neuronx runtime
uses: ./.github/actions/install_neuronx_runtime
- name: Setup virtual environment
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test_inf2_vllm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Run sanity check
uses: ./.github/actions/sanity-check
with:
Expand All @@ -85,7 +85,7 @@ jobs:
group: aws-inf2-8xlarge
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Export test models
uses: ./.github/actions/export_test_models
with:
Expand All @@ -99,7 +99,7 @@ jobs:
group: aws-inf2-8xlarge
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install Neuronx runtime
uses: ./.github/actions/install_neuronx_runtime
- name: Setup virtual environment
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
group: aws-inf2-8xlarge
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install Neuronx runtime
uses: ./.github/actions/install_neuronx_runtime
- name: Setup virtual environment
Expand All @@ -149,7 +149,7 @@ jobs:
group: aws-inf2-8xlarge
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install Neuronx runtime
uses: ./.github/actions/install_neuronx_runtime
- name: Setup virtual environment
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sagemaker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install Neuronx runtime
uses: ./.github/actions/install_neuronx_runtime
- name: Setup virtual environment
uses: ./.github/actions/setup_venv
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@v6
with:
role-to-assume: ${{ secrets.AWS_ASSUME_SANDBOX_GITHUB_CI_PUSH_ECR}}
aws-region: us-east-1
Expand Down
Loading