Skip to content

Commit

Permalink
#0: Set cpu governor to performance mode for t3k demo tests
Browse files Browse the repository at this point in the history
Signed-off-by: Salar Hosseini <[email protected]>
  • Loading branch information
skhorasganiTT committed May 23, 2024
1 parent 361d11b commit 4d5f90d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/t3000-demo-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
runs-on: ${{ matrix.test-group.runs-on }}
steps:
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected]
- name: Enable performance mode
run: |
sudo cpupower frequency-set -g performance
- name: Set up dynamic env vars for build
run: |
echo "TT_METAL_HOME=$(pwd)" >> $GITHUB_ENV
Expand All @@ -50,3 +53,7 @@ jobs:
cd $TT_METAL_HOME
export PYTHONPATH=$TT_METAL_HOME
${{ matrix.test-group.cmd }}
- name: Disable performance mode
if: always()
run: |
sudo cpupower frequency-set -g ondemand

0 comments on commit 4d5f90d

Please sign in to comment.