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

Dockerize device perf workflow #17005

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
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
15 changes: 13 additions & 2 deletions .github/workflows/perf-device-models-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,25 @@ jobs:
]
name: "${{ matrix.test-info.name }} device perf"
env:
TT_METAL_ENV: ${{ vars.TT_METAL_ENV }}
ARCH_NAME: ${{ matrix.test-info.arch }}
LOGURU_LEVEL: INFO
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib
runs-on: ${{ matrix.test-info.runs-on }}
container:
image: ghcr.io/tenstorrent/tt-metal/tt-metalium/ubuntu-22.04-amd64:latest
env:
TT_METAL_HOME: ${{ github.workspace }}
ARCH_NAME: ${{ matrix.test-info.arch }}
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib
PYTHON_ENV_DIR: ${{ github.workspace }}/python_env
volumes:
- /dev/hugepages-1G:/dev/hugepages-1G
- /mnt/MLPerf:/mnt/MLPerf
options: --device /dev/tenstorrent
steps:
- name: Set safe directory for Git
run: git config --global --add safe.directory $GITHUB_WORKSPACE
- uses: tenstorrent/tt-metal/.github/actions/checkout-with-submodule-lfs@main
- uses: ./.github/actions/ensure-active-weka-mount
- name: Set up dynamic env vars for build
run: |
echo "TT_METAL_HOME=$(pwd)" >> $GITHUB_ENV
Expand Down
Loading