Skip to content

feat: add PyTorch setup script for modular installation #312

feat: add PyTorch setup script for modular installation

feat: add PyTorch setup script for modular installation #312

Workflow file for this run

name: cpu-image
on: # yamllint disable-line rule:truthy
push:
branches:
- main
paths:
- .github/workflows/cpu-image.yml
- dockerfiles/Dockerfile.triton-cpu
- scripts/entrypoint.sh
- scripts/devinstall_software.sh
- scripts/ldpretend.sh
- scripts/devinstall_torch.sh
- scripts/devinstall_triton.sh
- scripts/devcreate_user.sh
- scripts/devsetup.sh
pull_request:
paths:
- .github/workflows/cpu-image.yml
- dockerfiles/Dockerfile.triton-cpu
- scripts/entrypoint.sh
- scripts/devinstall_software.sh
- scripts/ldpretend.sh
- scripts/devinstall_torch.sh
- scripts/devinstall_triton.sh
- scripts/devcreate_user.sh
- scripts/devsetup.sh
schedule:
- cron: '0 0 * * 0' # Runs every Sunday at midnight UTC
workflow_dispatch:
jobs:
cpu-image-build:
uses: ./.github/workflows/image-build.yml
with:
image-name: cpu
image-tag: latest
dockerfile: dockerfiles/Dockerfile.triton-cpu
build-args: |
USERNAME=triton
CUSTOM_LLVM=false
platforms: linux/amd64
secrets:
qt_username: ${{ secrets.qt_username }}
qt_password: ${{ secrets.qt_password }}
cpu-image-sbom:
needs: cpu-image-build
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
uses: ./.github/workflows/image-sbom.yml
with:
image-name: cpu
image-tag: latest
secrets:
qt_username: ${{ secrets.qt_username }}
qt_password: ${{ secrets.qt_password }}