Skip to content

Commit

Permalink
fix: add symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
varshith15 committed Dec 12, 2024
1 parent e5123b6 commit 88bd756
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ai-runner-live-pipelines-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
with:
fetch-depth: 50
ref: ${{ github.event.pull_request.head.sha }}
clean: false

- name: Get changed files
id: changed-files
Expand Down Expand Up @@ -91,7 +90,6 @@ jobs:
with:
fetch-depth: 50
ref: ${{ github.event.pull_request.head.sha }}
clean: false

- name: Get changed files
id: changed-files
Expand Down Expand Up @@ -177,7 +175,6 @@ jobs:
with:
fetch-depth: 50
ref: ${{ github.event.pull_request.head.sha }}
clean: false

- name: Get changed files
id: changed-files
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/ai-runner-pipelines-fps-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,39 @@ concurrency:

jobs:
setup:
runs-on: ubuntu-latest
runs-on: gpu-amd64
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
clean: false

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.23.3"

- name: Create symlink for models directory
run: |
mkdir -p /home/user/models
rm -rf runner/models
ln -s /home/user/models runner/models
- name: Download Checkpoints
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
sudo pip install huggingface_hub[cli,hf_transfer] hf_transfer
sudo -E runner/dl_checkpoints.sh --tensorrt
cd runner
sudo -E dl_checkpoints.sh --tensorrt
cd ..
- name: Install packages
run: |
sudo sh -c "apt-get update && apt-get install -y libzmq3-dev && rm -rf /var/lib/apt/lists/*"
run-fps-test:
runs-on: ubuntu-latest
runs-on: gpu-amd64
needs: setup
strategy:
max-parallel: 1
Expand Down

0 comments on commit 88bd756

Please sign in to comment.