Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FT Deps] allow to just build for 1 flow #2798

Merged
merged 1 commit into from
Oct 6, 2023
Merged
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
9 changes: 7 additions & 2 deletions .github/workflows/build_triton_and_ft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ on:
description: 'fastertransformer branch/tag version'
required: true
default: 'main'
build_triton_only:
description: 'whether to just build triton library'
required: false
type: boolean
default: false
is_llama_build:
description: 'whether to build custom llama source'
required: false
Expand Down Expand Up @@ -47,7 +52,7 @@ jobs:
aws cloudfront create-invalidation --distribution-id E371VB8JQ6NRVY --paths "/tritonserver/${{ github.event.inputs.triton }}/*"

create-runner:
if: github.repository == 'deepjavalibrary/djl'
if: ${{ github.repository == 'deepjavalibrary/djl' && ! github.event.inputs.build_triton_only }}
runs-on: [ self-hosted, scheduler ]
steps:
- name: Create new CPU instance
Expand All @@ -64,7 +69,7 @@ jobs:


build-fastertransformer:
if: github.repository == 'deepjavalibrary/djl'
if: ${{ github.repository == 'deepjavalibrary/djl' }}
runs-on: [ self-hosted, cpu ]
container: deepjavalibrary/djl-serving:fastertransformer-nightly
timeout-minutes: 60
Expand Down
Loading