Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
tapspatel committed Aug 26, 2024
1 parent f880865 commit dd6dc0f
Showing 1 changed file with 46 additions and 46 deletions.
92 changes: 46 additions & 46 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,52 +122,52 @@ jobs:
name: build-artifacts
path: build

#get-system-descs:
# strategy:
# fail-fast: false
# matrix:
# build: [
# {runs-on: n150},
# {runs-on: n300},
# ]
#
# runs-on:
# - self-hosted
# - ${{ matrix.build.runs-on }}
#
# container:
# image: ghcr.io/${{ github.repository }}/tt-mlir-ubuntu-22-04:latest
# options: --user root --device /dev/tenstorrent/0
# volumes:
# - /dev/hugepages:/dev/hugepages
# - /dev/hugepages-1G:/dev/hugepages-1G
# - /etc/udev/rules.d:/etc/udev/rules.d
# - /lib/modules:/lib/modules
# - /opt/tt_metal_infra/provisioning/provisioning_env:/opt/tt_metal_infra/provisioning/provisioning_env
#
# steps:
# - name: Download ttrt runtime whls
# uses: actions/download-artifact@v4
# with:
# name: ttrt-whl-runtime.whl
#
# - name: Install ttrt runtime whls
# shell: bash
# run: |
# python3 -m venv whls_env
# source whls_env/bin/activate
# pip install *.whl --force-reinstall
#
# - name: Generate system descriptor
# run: |
# source whls_env/bin/activate
# ttrt query --save-artifacts
#
# - name: Upload system descriptor
# uses: actions/upload-artifact@v4
# with:
# name: system-desc-${{ matrix.build.runs-on }}.ttsys
# path: ttrt-artifacts/system-desc.ttsys
get-system-descs:
strategy:
fail-fast: false
matrix:
build: [
{runs-on: n150},
{runs-on: n300},
]

runs-on:
- self-hosted
- ${{ matrix.build.runs-on }}

container:
image: ghcr.io/${{ github.repository }}/tt-mlir-ubuntu-22-04:latest
options: --user root --device /dev/tenstorrent/0
volumes:
- /dev/hugepages:/dev/hugepages
- /dev/hugepages-1G:/dev/hugepages-1G
- /etc/udev/rules.d:/etc/udev/rules.d
- /lib/modules:/lib/modules
- /opt/tt_metal_infra/provisioning/provisioning_env:/opt/tt_metal_infra/provisioning/provisioning_env

steps:
- name: Download ttrt runtime whls
uses: actions/download-artifact@v4
with:
name: ttrt-whl-runtime.whl

- name: Install ttrt runtime whls
shell: bash
run: |
python3 -m venv whls_env
source whls_env/bin/activate
pip install *.whl --force-reinstall
- name: Generate system descriptor
run: |
source whls_env/bin/activate
ttrt query --save-artifacts
- name: Upload system descriptor
uses: actions/upload-artifact@v4
with:
name: system-desc-${{ matrix.build.runs-on }}.ttsys
path: ttrt-artifacts/system-desc.ttsys
#
#generate-tests:
# strategy:
Expand Down

0 comments on commit dd6dc0f

Please sign in to comment.