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

Copy over the env from build machine to reduce runtime of test runners. #118

Merged
merged 1 commit into from
Dec 18, 2024
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/generate-model-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
rm artifact.tar
for a in `ls -1 *.tar`; do tar -xvf $a; rm $a; done

- name: Display structure of downloaded file
- name: Display structure of downloaded dir
working-directory: ${{ steps.strings.outputs.test-output-dir }}
run: |
ls -R ${{ steps.strings.outputs.test-output-dir }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This workflow automates running model tests.

name: Nighty Tests
name: Nightly Tests

on:
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-uplift.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow automates creation of uplift pull requests.
# Uplift PR is created daily to uplift the submodule to the latest version.

name: Nighty Uplift
name: Nightly Uplift

on:
schedule:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/run-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,13 @@ jobs:
cp -r ${{ steps.strings.outputs.work-dir }}/third_party/tt-mlir/src/tt-mlir/third_party/tt-metal/src/tt-metal/ttnn tt-metal/
cp -r ${{ steps.strings.outputs.work-dir }}/third_party/tt-mlir/src/tt-mlir/third_party/tt-metal/src/tt-metal/runtime tt-metal/

- name: Copy venv directory
shell: bash
working-directory: ${{ steps.strings.outputs.install-output-dir }}
run: |
mkdir env
cp -r ${{ steps.strings.outputs.work-dir }}/env env

- name: 'Tar install directory'
shell: bash
working-directory: ${{ steps.strings.outputs.install-output-dir }}
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/run-model-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,19 @@ jobs:
working-directory: ${{ steps.strings.outputs.install-output-dir }}
run: tar xvf artifact.tar

- name: make tt-metal directory
- name: make directories
shell: bash
working-directory: ${{ steps.strings.outputs.install-output-dir }}
run: mkdir -p ${{ steps.strings.outputs.work-dir }}/third_party/tt-mlir/src/tt-mlir/third_party/tt-metal/src/tt-metal
run: |
mkdir -p ${{ steps.strings.outputs.work-dir }}/third_party/tt-mlir/src/tt-mlir/third_party/tt-metal/src/tt-metal
mkdir -p ${{ steps.strings.outputs.work-dir }}/env

- name: copy tt-metal dirs
- name: copy tt-metal and env dirs
shell: bash
working-directory: ${{ steps.strings.outputs.install-output-dir }}
run: |
cp -r ${{ steps.strings.outputs.install-output-dir }}/tt-metal/* ${{ steps.strings.outputs.work-dir }}/third_party/tt-mlir/src/tt-mlir/third_party/tt-metal/src/tt-metal
cp -r ${{ steps.strings.outputs.install-output-dir }}/env/env/* ${{ steps.strings.outputs.work-dir }}/env

- name: Run Model Tests
shell: bash
Expand Down
Loading