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

Add workflow to auto create uplift PR #935

Merged
merged 2 commits into from
Oct 18, 2024
Merged

Conversation

vmilosevic
Copy link
Contributor

@vmilosevic vmilosevic commented Oct 17, 2024

Auto uplift overview CI-CD-Guide

How to add PR automation to the project

  • add "nightly-uplift.yml" workflow to project
  • adjust "Update reference" part of the script

In project settings

  • add create PR PAT secret GH_TOKEN
  • add create PR PAT secret GH_APPROVE_TOKEN
  • set required tests
  • enable "auto merge" policy

@vmilosevic vmilosevic requested a review from nsmithtt as a code owner October 17, 2024 14:34
@vmilosevic vmilosevic requested a review from tapspatel October 17, 2024 14:34
@vmilosevic
Copy link
Contributor Author

I tried building locally with the latest tt-metal to see if it works (9baa11413561e57878264374313cf4fe5ff4765b)
It fails in the build install step

[5/6] Performing install step for 'tt-metal'
FAILED: /localdev/vmilosevic/tt-mlir/third_party/tt-metal/src/tt-metal-stamp/tt-metal-install 
cd /localdev/vmilosevic/tt-mlir/third_party/tt-metal/src/tt-metal-build && /opt/ttmlir-toolchain/venv/lib/python3.10/site-packages/cmake/data/bin/cmake --build . --target install && /opt/ttmlir-toolchain/venv/lib/python3.10/site-packages/cmake/data/bin/cmake -E touch /localdev/vmilosevic/tt-mlir/third_party/tt-metal/src/tt-metal-stamp/tt-metal-install
[0/2] Re-checking globbed directories...
[0/1] Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/lib/libfmt.so.11.0.1
CMake Error at _deps/fmt-build/cmake_install.cmake:57 (file):
  file INSTALL cannot copy file
  "/localdev/vmilosevic/tt-mlir/third_party/tt-metal/src/tt-metal-build/_deps/fmt-build/libfmt.so.11.0.1"
  to "/usr/local/lib/libfmt.so.11.0.1": Permission denied.
Call Stack (most recent call first):
  cmake_install.cmake:102 (include)

Not sure why it tries to install to "/usr/local/lib/libfmt.so.11.0.1" shouldn't it install to toolcahin folder?

@tapspatel tapspatel self-requested a review October 17, 2024 19:34
@vmilosevic vmilosevic merged commit ede24ed into main Oct 18, 2024
12 checks passed
@vmilosevic vmilosevic deleted the vmilosevic/auto-uplift branch January 20, 2025 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants