From 92abf3b924d6fc6045f6ab63faffe45729a90b31 Mon Sep 17 00:00:00 2001 From: Vincent Tang Date: Tue, 23 Apr 2024 22:50:48 +0000 Subject: [PATCH] #0: TESTING - all post-commit --- .github/actions/install-python-deps/action.yml | 2 +- .github/workflows/build-and-unit-tests.yaml | 5 ++++- .github/workflows/build-artifact.yaml | 2 -- metal_install.sh | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/actions/install-python-deps/action.yml b/.github/actions/install-python-deps/action.yml index 7a2734353668..a26b90544159 100644 --- a/.github/actions/install-python-deps/action.yml +++ b/.github/actions/install-python-deps/action.yml @@ -23,4 +23,4 @@ runs: shell: bash run: | source ${{ github.workspace }}/python_env/bin/activate - ./metal_install.sh + pip install -e ttnn diff --git a/.github/workflows/build-and-unit-tests.yaml b/.github/workflows/build-and-unit-tests.yaml index 73a377090faf..da12eab97967 100644 --- a/.github/workflows/build-and-unit-tests.yaml +++ b/.github/workflows/build-and-unit-tests.yaml @@ -36,7 +36,10 @@ jobs: with: name: TTMetal_build_${{ matrix.runner-info.arch }} - name: Extract files - run: tar -xvf ttm_${{ matrix.runner-info.arch }}.tar + run: | + tar -xvf ttm_${{ matrix.runner-info.arch }}.tar + cmake -B build + cmake --install build --component tt_pybinds - uses: ./.github/actions/install-python-deps - name: Run pre/post regression tests timeout-minutes: 15 diff --git a/.github/workflows/build-artifact.yaml b/.github/workflows/build-artifact.yaml index 6c367ccde075..3626084b1604 100644 --- a/.github/workflows/build-artifact.yaml +++ b/.github/workflows/build-artifact.yaml @@ -25,11 +25,9 @@ jobs: - uses: ./.github/actions/install-python-deps - name: Build tt-metal and libs run: | - free -h nproc cmake -DCMAKE_BUILD_TYPE=ci -DCONFIG=ci -B build cmake --build build --target tests -- -j`nproc` - ls -la build/tt_eager/tt_lib cmake --install build --component tt_build_artifacts - name: 'Tar files' diff --git a/metal_install.sh b/metal_install.sh index 4cd79b131849..87e67916ab2c 100755 --- a/metal_install.sh +++ b/metal_install.sh @@ -1,5 +1,5 @@ echo "Building/installing tt-metal" -pip install -e . # -> already called in ./create_venv.sh +# pip install -e . # -> already called in ./create_venv.sh pip install -e ttnn stubgen -m tt_lib -m tt_lib.device -m tt_lib.profiler -m tt_lib.tensor -m tt_lib.operations -m tt_lib.operations.primary -m tt_lib.operations.primary.transformers -o tt_eager stubgen -p ttnn._ttnn -o ttnn