From 04f4510bc41dd07c8023c4bcccead23c55b2cd91 Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 13:32:51 +0200 Subject: [PATCH 01/36] Create weekly_sync.yml --- .github/workflows/weekly_sync.yml | 55 +++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 .github/workflows/weekly_sync.yml diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml new file mode 100644 index 00000000000..d58629418d2 --- /dev/null +++ b/.github/workflows/weekly_sync.yml @@ -0,0 +1,55 @@ +name: rocMLIR main weekly sync + +on: +# schedule: +# - cron: '10 17 * * 5' + workflow_dispatch: + +jobs: + createPullRequest: + name: Update and create pull request + runs-on: ubuntu-latest + steps: + - name: get_date + run: echo todays_date="$(date +'%Y-%m-%d')" >> $GITHUB_ENV + + - name: extract_sha1 + run: echo rocmlirsha="$(git ls-remote https://github.com/ROCm/rocMLIR.git develop | awk '{print $1}')" >> $GITHUB_ENV + + - uses: actions/checkout@v4.1.1 + with: + ref: develop + + - name: update_file + run: sed -i "s/ROCmSoftwarePlatform\/rocMLIR@.* -DBUILD_FAT_LIBROCKCOMPILER=On/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }} -DBUILD_FAT_LIBROCKCOMPILER=On/g" requirements.txt + + - name: Make changes to pull request + uses: peter-evans/create-pull-request@v4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + commit-message: Update rocMLIR main ${{ env.rocmlirsha }} + committer: Github + author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> + signoff: false + branch: rocMLIR-sync-${{ env.todays_date }} + delete-branch: true + title: 'rocMLIR Weekly Sync ${{ env.todays_date }}' + body: | + Update rocMLIR version + - Updated with changes from ${{ env.todays_date }} + - Auto-generated by [create-pull-request][1] + - Update requirements.txt to rocMLIR@${{ env.rocmlirsha }} + + [1]: https://github.com/peter-evans/create-pull-request + labels: | + onnxruntime + dependencies + automated + skip bot checks + assignees: | + TedThemistokleous + reviewers: | + TedThemistokleous + causten + draft: false + base: develop From 75fab474938bdf8b178dfea95e3a45aa869a51d3 Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 13:40:29 +0200 Subject: [PATCH 02/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index d58629418d2..2a83dfc7938 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -24,7 +24,7 @@ jobs: run: sed -i "s/ROCmSoftwarePlatform\/rocMLIR@.* -DBUILD_FAT_LIBROCKCOMPILER=On/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }} -DBUILD_FAT_LIBROCKCOMPILER=On/g" requirements.txt - name: Make changes to pull request - uses: peter-evans/create-pull-request@v4 + uses: peter-evans/create-pull-request@v4.1.1 with: token: ${{ secrets.GITHUB_TOKEN }} commit-message: Update rocMLIR main ${{ env.rocmlirsha }} From c4781e7bc667f67c2c03f437d9424800d85c14bf Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 13:56:16 +0200 Subject: [PATCH 03/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index 2a83dfc7938..b22e42aa4c6 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -23,6 +23,9 @@ jobs: - name: update_file run: sed -i "s/ROCmSoftwarePlatform\/rocMLIR@.* -DBUILD_FAT_LIBROCKCOMPILER=On/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }} -DBUILD_FAT_LIBROCKCOMPILER=On/g" requirements.txt + - name: check_updates + run: requirements.txt + - name: Make changes to pull request uses: peter-evans/create-pull-request@v4.1.1 with: From 2d9170e490ed61a7b0e34c1d170799cd3be5be67 Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 13:57:57 +0200 Subject: [PATCH 04/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index b22e42aa4c6..9e2274e384b 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -19,7 +19,9 @@ jobs: - uses: actions/checkout@v4.1.1 with: ref: develop - + - name: where + run: pwd + - name: update_file run: sed -i "s/ROCmSoftwarePlatform\/rocMLIR@.* -DBUILD_FAT_LIBROCKCOMPILER=On/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }} -DBUILD_FAT_LIBROCKCOMPILER=On/g" requirements.txt From e0fc5b0787a183e5f1d4eb1a9ce660874f548971 Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 13:59:20 +0200 Subject: [PATCH 05/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index 9e2274e384b..6ff237f6ad7 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -19,14 +19,12 @@ jobs: - uses: actions/checkout@v4.1.1 with: ref: develop - - name: where - run: pwd - name: update_file run: sed -i "s/ROCmSoftwarePlatform\/rocMLIR@.* -DBUILD_FAT_LIBROCKCOMPILER=On/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }} -DBUILD_FAT_LIBROCKCOMPILER=On/g" requirements.txt - name: check_updates - run: requirements.txt + run: cat requirements.txt - name: Make changes to pull request uses: peter-evans/create-pull-request@v4.1.1 From 3ea8b387631e2698b263fba538e1526659e1d60c Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 14:04:45 +0200 Subject: [PATCH 06/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index 6ff237f6ad7..4a40c14f2b0 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -21,10 +21,9 @@ jobs: ref: develop - name: update_file - run: sed -i "s/ROCmSoftwarePlatform\/rocMLIR@.* -DBUILD_FAT_LIBROCKCOMPILER=On/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }} -DBUILD_FAT_LIBROCKCOMPILER=On/g" requirements.txt - - - name: check_updates - run: cat requirements.txt + run: | + sed -i "s/ROCmSoftwarePlatform\/rocMLIR@.* -DBUILD_FAT_LIBROCKCOMPILER=On/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }} -DBUILD_FAT_LIBROCKCOMPILER=On/g" requirements.txt + cat requirements.txt - name: Make changes to pull request uses: peter-evans/create-pull-request@v4.1.1 From 19b9fb94a86b71aa4463f9202e4d938e541d91ed Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 14:06:12 +0200 Subject: [PATCH 07/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index 4a40c14f2b0..1096144a012 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -22,6 +22,8 @@ jobs: - name: update_file run: | + pwd + cat requirements.txt sed -i "s/ROCmSoftwarePlatform\/rocMLIR@.* -DBUILD_FAT_LIBROCKCOMPILER=On/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }} -DBUILD_FAT_LIBROCKCOMPILER=On/g" requirements.txt cat requirements.txt From 08238ec3d5b0bcc4d8b4389c55b0ef547e75a27a Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 14:11:05 +0200 Subject: [PATCH 08/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index 1096144a012..bf9322db7b6 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -22,8 +22,9 @@ jobs: - name: update_file run: | + cd $GITHUB_WORKSPACE pwd - cat requirements.txt + #cat requirements.txt sed -i "s/ROCmSoftwarePlatform\/rocMLIR@.* -DBUILD_FAT_LIBROCKCOMPILER=On/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }} -DBUILD_FAT_LIBROCKCOMPILER=On/g" requirements.txt cat requirements.txt From 12df0b96861be760e22feb0a63e39529865906ed Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 14:13:50 +0200 Subject: [PATCH 09/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index bf9322db7b6..292836343e0 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -22,10 +22,10 @@ jobs: - name: update_file run: | - cd $GITHUB_WORKSPACE - pwd + #cd $GITHUB_WORKSPACE + #pwd #cat requirements.txt - sed -i "s/ROCmSoftwarePlatform\/rocMLIR@.* -DBUILD_FAT_LIBROCKCOMPILER=On/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }} -DBUILD_FAT_LIBROCKCOMPILER=On/g" requirements.txt + sed -i "s/ROCmSoftwarePlatform\/rocMLIR@.* -DBUILD_FAT_LIBROCKCOMPILER=On/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }} -DBUILD_FAT_LIBROCKCOMPILER=On/g" $GITHUB_WORKSPACE/requirements.txt cat requirements.txt - name: Make changes to pull request From 0f5f18d83d641a18dd5b89a97265c0bfd9de20b9 Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 14:15:47 +0200 Subject: [PATCH 10/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index 292836343e0..ab80cbf9902 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -8,7 +8,7 @@ on: jobs: createPullRequest: name: Update and create pull request - runs-on: ubuntu-latest + runs-on: self-hosted steps: - name: get_date run: echo todays_date="$(date +'%Y-%m-%d')" >> $GITHUB_ENV From 0bdb33f84863e28a02547d397682a3206da59e09 Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 14:22:10 +0200 Subject: [PATCH 11/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index ab80cbf9902..c575f737314 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -8,7 +8,7 @@ on: jobs: createPullRequest: name: Update and create pull request - runs-on: self-hosted + runs-on: ubuntu-latest steps: - name: get_date run: echo todays_date="$(date +'%Y-%m-%d')" >> $GITHUB_ENV @@ -19,6 +19,7 @@ jobs: - uses: actions/checkout@v4.1.1 with: ref: develop + fetch-depth: 10 - name: update_file run: | From 7e621355044666d91a9bc95bd146b3da5300a12b Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 14:29:22 +0200 Subject: [PATCH 12/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index c575f737314..b83f75eb62e 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -19,13 +19,13 @@ jobs: - uses: actions/checkout@v4.1.1 with: ref: develop - fetch-depth: 10 - name: update_file run: | #cd $GITHUB_WORKSPACE #pwd #cat requirements.txt + ls -l requirements.txt sed -i "s/ROCmSoftwarePlatform\/rocMLIR@.* -DBUILD_FAT_LIBROCKCOMPILER=On/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }} -DBUILD_FAT_LIBROCKCOMPILER=On/g" $GITHUB_WORKSPACE/requirements.txt cat requirements.txt From 22b9dc457a0b64bb76867a4b337fe18aa16d121b Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 14:36:50 +0200 Subject: [PATCH 13/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index b83f75eb62e..b34645a222c 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -26,6 +26,8 @@ jobs: #pwd #cat requirements.txt ls -l requirements.txt + chmod 777 requirements.txt + ls -l requirements.txt sed -i "s/ROCmSoftwarePlatform\/rocMLIR@.* -DBUILD_FAT_LIBROCKCOMPILER=On/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }} -DBUILD_FAT_LIBROCKCOMPILER=On/g" $GITHUB_WORKSPACE/requirements.txt cat requirements.txt From 79bf36f1a035e8c86a30959f714a4bdd4967f50c Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 14:57:19 +0200 Subject: [PATCH 14/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index b34645a222c..706ae07c628 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -28,7 +28,7 @@ jobs: ls -l requirements.txt chmod 777 requirements.txt ls -l requirements.txt - sed -i "s/ROCmSoftwarePlatform\/rocMLIR@.* -DBUILD_FAT_LIBROCKCOMPILER=On/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }} -DBUILD_FAT_LIBROCKCOMPILER=On/g" $GITHUB_WORKSPACE/requirements.txt + sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt cat requirements.txt - name: Make changes to pull request From a88957935cf7fcf0a802d1d9e0b1a0e28b29ba8f Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 15:21:21 +0200 Subject: [PATCH 15/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index 706ae07c628..862077cc662 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -28,7 +28,8 @@ jobs: ls -l requirements.txt chmod 777 requirements.txt ls -l requirements.txt - sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt + #sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt + awk '{sub(/ROCmSoftwarePlatform\/rocMLIR@[^[:space:]]+/, "ROCmSoftwarePlatform/rocMLIR@" ${{ env.rocmlirsha }},$0); print}' requirements.txt > temp_file && mv temp_file requirements.txt cat requirements.txt - name: Make changes to pull request From b49434862eee6bb1d60a0f0cf1df052e5af5aa1d Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 15:24:24 +0200 Subject: [PATCH 16/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index 862077cc662..11bec4ad0c6 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -29,7 +29,7 @@ jobs: chmod 777 requirements.txt ls -l requirements.txt #sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt - awk '{sub(/ROCmSoftwarePlatform\/rocMLIR@[^[:space:]]+/, "ROCmSoftwarePlatform/rocMLIR@" ${{ env.rocmlirsha }},$0); print}' requirements.txt > temp_file && mv temp_file requirements.txt + awk '{sub(/ROCmSoftwarePlatform\/rocMLIR@[^[:space:]]+/, "ROCmSoftwarePlatform/rocMLIR@${{ env.rocmlirsha }}",$0); print}' requirements.txt > temp_file && mv temp_file requirements.txt cat requirements.txt - name: Make changes to pull request From 5cbf62aa330431880dd5710820e567d668f62463 Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 15:57:48 +0200 Subject: [PATCH 17/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index 11bec4ad0c6..f35d5bc6d77 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -30,6 +30,7 @@ jobs: ls -l requirements.txt #sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt awk '{sub(/ROCmSoftwarePlatform\/rocMLIR@[^[:space:]]+/, "ROCmSoftwarePlatform/rocMLIR@${{ env.rocmlirsha }}",$0); print}' requirements.txt > temp_file && mv temp_file requirements.txt + ls -l requirements.txt cat requirements.txt - name: Make changes to pull request @@ -59,6 +60,5 @@ jobs: TedThemistokleous reviewers: | TedThemistokleous - causten draft: false base: develop From dd96e5b7a722634a28808c6cf122383ff4ce6ba1 Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 16:26:11 +0200 Subject: [PATCH 18/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index f35d5bc6d77..10a04100171 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -25,14 +25,26 @@ jobs: #cd $GITHUB_WORKSPACE #pwd #cat requirements.txt - ls -l requirements.txt - chmod 777 requirements.txt - ls -l requirements.txt + #ls -l requirements.txt + #chmod 777 requirements.txt + #ls -l requirements.txt #sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt - awk '{sub(/ROCmSoftwarePlatform\/rocMLIR@[^[:space:]]+/, "ROCmSoftwarePlatform/rocMLIR@${{ env.rocmlirsha }}",$0); print}' requirements.txt > temp_file && mv temp_file requirements.txt - ls -l requirements.txt + #awk '{sub(/ROCmSoftwarePlatform\/rocMLIR@[^[:space:]]+/, "ROCmSoftwarePlatform/rocMLIR@${{ env.rocmlirsha }}",$0); print}' requirements.txt > temp_file && mv temp_file requirements.txt + #ls -l requirements.txt cat requirements.txt + - name: action_replace + uses: Nambers/ReplaceStringInFile@v1.3 + with: + path: ${{ github.workspace }}/requirements.txt + # The regex of old string, which should be replaced + oldString: ROCmSoftwarePlatform/rocMLIR@(/S+) + # Replace old string to this string + newString: ROCmSoftwarePlatform/rocMLIR@${{ env.rocmlirsha }} + # Print out file content after replacement + showFileContent: true + + - name: Make changes to pull request uses: peter-evans/create-pull-request@v4.1.1 with: From 0feb35bcd5a0ec56c84cdc26b01bd45f1a4e6e89 Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 16:28:47 +0200 Subject: [PATCH 19/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index 10a04100171..4470c10ea26 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -25,13 +25,13 @@ jobs: #cd $GITHUB_WORKSPACE #pwd #cat requirements.txt - #ls -l requirements.txt - #chmod 777 requirements.txt + ls -l requirements.txt + chmod 777 requirements.txt #ls -l requirements.txt #sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt #awk '{sub(/ROCmSoftwarePlatform\/rocMLIR@[^[:space:]]+/, "ROCmSoftwarePlatform/rocMLIR@${{ env.rocmlirsha }}",$0); print}' requirements.txt > temp_file && mv temp_file requirements.txt #ls -l requirements.txt - cat requirements.txt + #cat requirements.txt - name: action_replace uses: Nambers/ReplaceStringInFile@v1.3 From 240e77a5f49c48778f17b29a28d50e54073489d5 Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 17:31:02 +0200 Subject: [PATCH 20/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index 4470c10ea26..4c7bf4eeade 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -17,8 +17,6 @@ jobs: run: echo rocmlirsha="$(git ls-remote https://github.com/ROCm/rocMLIR.git develop | awk '{print $1}')" >> $GITHUB_ENV - uses: actions/checkout@v4.1.1 - with: - ref: develop - name: update_file run: | @@ -26,27 +24,27 @@ jobs: #pwd #cat requirements.txt ls -l requirements.txt - chmod 777 requirements.txt + #chmod 777 requirements.txt #ls -l requirements.txt - #sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt + sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt #awk '{sub(/ROCmSoftwarePlatform\/rocMLIR@[^[:space:]]+/, "ROCmSoftwarePlatform/rocMLIR@${{ env.rocmlirsha }}",$0); print}' requirements.txt > temp_file && mv temp_file requirements.txt #ls -l requirements.txt #cat requirements.txt - - name: action_replace - uses: Nambers/ReplaceStringInFile@v1.3 - with: - path: ${{ github.workspace }}/requirements.txt - # The regex of old string, which should be replaced - oldString: ROCmSoftwarePlatform/rocMLIR@(/S+) - # Replace old string to this string - newString: ROCmSoftwarePlatform/rocMLIR@${{ env.rocmlirsha }} - # Print out file content after replacement - showFileContent: true + #- name: action_replace + # uses: Nambers/ReplaceStringInFile@v1.3 + # with: + # path: ${{ github.workspace }}/requirements.txt + # The regex of old string, which should be replaced + # oldString: ROCmSoftwarePlatform/rocMLIR@(/S+) + # Replace old string to this string + # newString: ROCmSoftwarePlatform/rocMLIR@${{ env.rocmlirsha }} + # Print out file content after replacement + # showFileContent: true - name: Make changes to pull request - uses: peter-evans/create-pull-request@v4.1.1 + uses: peter-evans/create-pull-request@v6.0.4 with: token: ${{ secrets.GITHUB_TOKEN }} commit-message: Update rocMLIR main ${{ env.rocmlirsha }} From 359f3c167a232cb5287884cad1a6f8a6d6ac7ba4 Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 17:32:09 +0200 Subject: [PATCH 21/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index 4c7bf4eeade..0d93dc87fed 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -29,7 +29,7 @@ jobs: sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt #awk '{sub(/ROCmSoftwarePlatform\/rocMLIR@[^[:space:]]+/, "ROCmSoftwarePlatform/rocMLIR@${{ env.rocmlirsha }}",$0); print}' requirements.txt > temp_file && mv temp_file requirements.txt #ls -l requirements.txt - #cat requirements.txt + cat requirements.txt #- name: action_replace # uses: Nambers/ReplaceStringInFile@v1.3 From 779111729717f93a5033cd9e6d4a095db42fda68 Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 17:34:39 +0200 Subject: [PATCH 22/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index 0d93dc87fed..eadfbd4fc50 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -24,8 +24,8 @@ jobs: #pwd #cat requirements.txt ls -l requirements.txt - #chmod 777 requirements.txt - #ls -l requirements.txt + chmod 644 requirements.txt + ls -l requirements.txt sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt #awk '{sub(/ROCmSoftwarePlatform\/rocMLIR@[^[:space:]]+/, "ROCmSoftwarePlatform/rocMLIR@${{ env.rocmlirsha }}",$0); print}' requirements.txt > temp_file && mv temp_file requirements.txt #ls -l requirements.txt From 5fc456547e10ddd454d35b14d8713f081021ac9b Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 17:49:34 +0200 Subject: [PATCH 23/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index eadfbd4fc50..79f5e7f0c89 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -30,6 +30,8 @@ jobs: #awk '{sub(/ROCmSoftwarePlatform\/rocMLIR@[^[:space:]]+/, "ROCmSoftwarePlatform/rocMLIR@${{ env.rocmlirsha }}",$0); print}' requirements.txt > temp_file && mv temp_file requirements.txt #ls -l requirements.txt cat requirements.txt + echo "Test line" >> requirements.txt + cat requirements.txt #- name: action_replace # uses: Nambers/ReplaceStringInFile@v1.3 From 71a35c2dd0bc841e19ab2ff0acc7f8a36f771e9d Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 17:53:21 +0200 Subject: [PATCH 24/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index 79f5e7f0c89..189e4b5d09b 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -32,6 +32,8 @@ jobs: cat requirements.txt echo "Test line" >> requirements.txt cat requirements.txt + sed -i '$d' requirements.txt + cat requirements.txt #- name: action_replace # uses: Nambers/ReplaceStringInFile@v1.3 From 91025ae556d8c94b3d73da7fbd283ca65f5749c0 Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 17:57:53 +0200 Subject: [PATCH 25/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index 189e4b5d09b..3c35b70d16c 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -30,10 +30,11 @@ jobs: #awk '{sub(/ROCmSoftwarePlatform\/rocMLIR@[^[:space:]]+/, "ROCmSoftwarePlatform/rocMLIR@${{ env.rocmlirsha }}",$0); print}' requirements.txt > temp_file && mv temp_file requirements.txt #ls -l requirements.txt cat requirements.txt - echo "Test line" >> requirements.txt - cat requirements.txt + last_line=$(tail -n 1 requirements.txt) + echo $last_line sed -i '$d' requirements.txt cat requirements.txt + #- name: action_replace # uses: Nambers/ReplaceStringInFile@v1.3 @@ -70,9 +71,5 @@ jobs: dependencies automated skip bot checks - assignees: | - TedThemistokleous - reviewers: | - TedThemistokleous draft: false base: develop From 290e947ffd8272966ca81e7c3454277a6414cad5 Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Thu, 18 Apr 2024 18:05:57 +0200 Subject: [PATCH 26/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index 3c35b70d16c..fda48a50b8c 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -26,7 +26,7 @@ jobs: ls -l requirements.txt chmod 644 requirements.txt ls -l requirements.txt - sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt + #sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt #awk '{sub(/ROCmSoftwarePlatform\/rocMLIR@[^[:space:]]+/, "ROCmSoftwarePlatform/rocMLIR@${{ env.rocmlirsha }}",$0); print}' requirements.txt > temp_file && mv temp_file requirements.txt #ls -l requirements.txt cat requirements.txt @@ -34,6 +34,9 @@ jobs: echo $last_line sed -i '$d' requirements.txt cat requirements.txt + updated=$(echo $last_line | sed -E 's/(ROCmSoftwarePlatform\/rocMLIR@)[^[:space:]]+/\1'"updated_string"'/') + echo "+++++++++++++++++++" + echo $updated #- name: action_replace From 0518bc8e9ca2f39333cd0a167118bc71a51619d0 Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Fri, 19 Apr 2024 09:56:11 +0200 Subject: [PATCH 27/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index fda48a50b8c..9c4291bb7c8 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -23,20 +23,24 @@ jobs: #cd $GITHUB_WORKSPACE #pwd #cat requirements.txt - ls -l requirements.txt - chmod 644 requirements.txt - ls -l requirements.txt + #ls -l requirements.txt + #chmod 644 requirements.txt + #ls -l requirements.txt #sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt #awk '{sub(/ROCmSoftwarePlatform\/rocMLIR@[^[:space:]]+/, "ROCmSoftwarePlatform/rocMLIR@${{ env.rocmlirsha }}",$0); print}' requirements.txt > temp_file && mv temp_file requirements.txt #ls -l requirements.txt + #cat requirements.txt + #last_line=$(tail -n 1 requirements.txt) + #echo $last_line + #sed -i '$d' requirements.txt + #cat requirements.txt + #updated=$(echo $last_line | sed -E 's/(ROCmSoftwarePlatform\/rocMLIR@)[^[:space:]]+/\1'"updated_string"'/') + #echo "+++++++++++++++++++" + #echo $updated + ls -l requirements.txt + sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt + ls -l requirements.txt cat requirements.txt - last_line=$(tail -n 1 requirements.txt) - echo $last_line - sed -i '$d' requirements.txt - cat requirements.txt - updated=$(echo $last_line | sed -E 's/(ROCmSoftwarePlatform\/rocMLIR@)[^[:space:]]+/\1'"updated_string"'/') - echo "+++++++++++++++++++" - echo $updated #- name: action_replace From f816643b8544aaa824b9fe0cad34c3eb6a5a805d Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Fri, 19 Apr 2024 10:15:16 +0200 Subject: [PATCH 28/36] Create update_file.yml --- .github/workflows/update_file.yml | 53 +++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .github/workflows/update_file.yml diff --git a/.github/workflows/update_file.yml b/.github/workflows/update_file.yml new file mode 100644 index 00000000000..2ebb4690370 --- /dev/null +++ b/.github/workflows/update_file.yml @@ -0,0 +1,53 @@ +name: Update file + +on: + workflow_dispatch: + +jobs: + UpdateFile: + name: Update file test + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.1.1 + + - name: get_date + run: echo todays_date="$(date +'%Y-%m-%d')" >> $GITHUB_ENV + + - name: extract_sha1 + run: echo rocmlirsha="$(git ls-remote https://github.com/ROCm/rocMLIR.git develop | awk '{print $1}')" >> $GITHUB_ENV + + - name: Update + run: | + pwd + ls -l requirements.txt + sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt + ls -l requirements.txt + cat requirements.txt + + - name: Make changes to pull request + uses: peter-evans/create-pull-request@v6.0.4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + commit-message: Update rocMLIR main ${{ env.rocmlirsha }} + committer: Github + author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> + signoff: false + branch: rocMLIR-sync-${{ env.todays_date }} + delete-branch: true + title: 'rocMLIR Weekly Sync ${{ env.todays_date }}' + body: | + Update rocMLIR version + - Updated with changes from ${{ env.todays_date }} + - Auto-generated by [create-pull-request][1] + - Update requirements.txt to rocMLIR@${{ env.rocmlirsha }} + + [1]: https://github.com/peter-evans/create-pull-request + labels: | + onnxruntime + dependencies + automated + skip bot checks + draft: false + base: develop + From a562c73d3b260135038f3935dc56bd9457015a7f Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Fri, 19 Apr 2024 10:27:31 +0200 Subject: [PATCH 29/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index 9c4291bb7c8..a19d4c7ffe8 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -27,20 +27,18 @@ jobs: #chmod 644 requirements.txt #ls -l requirements.txt #sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt - #awk '{sub(/ROCmSoftwarePlatform\/rocMLIR@[^[:space:]]+/, "ROCmSoftwarePlatform/rocMLIR@${{ env.rocmlirsha }}",$0); print}' requirements.txt > temp_file && mv temp_file requirements.txt + awk '{sub(/ROCmSoftwarePlatform\/rocMLIR@[^[:space:]]+/, "ROCmSoftwarePlatform/rocMLIR@${{ env.rocmlirsha }}",$0); print}' requirements.txt > temp_file + cat temp_file + mv temp_file requirements.txt #ls -l requirements.txt #cat requirements.txt #last_line=$(tail -n 1 requirements.txt) #echo $last_line #sed -i '$d' requirements.txt - #cat requirements.txt + cat requirements.txt #updated=$(echo $last_line | sed -E 's/(ROCmSoftwarePlatform\/rocMLIR@)[^[:space:]]+/\1'"updated_string"'/') #echo "+++++++++++++++++++" #echo $updated - ls -l requirements.txt - sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt - ls -l requirements.txt - cat requirements.txt #- name: action_replace From 26eec88dd8859819b463512b8e0ee1c84364f7d5 Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Fri, 19 Apr 2024 10:44:16 +0200 Subject: [PATCH 30/36] Update update_file.yml --- .github/workflows/update_file.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update_file.yml b/.github/workflows/update_file.yml index 2ebb4690370..451d525cd22 100644 --- a/.github/workflows/update_file.yml +++ b/.github/workflows/update_file.yml @@ -21,7 +21,7 @@ jobs: run: | pwd ls -l requirements.txt - sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt + sed -i "s/ROCm\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt ls -l requirements.txt cat requirements.txt From 72ba0411768f7279bef022c98a811d61a3773eee Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Fri, 19 Apr 2024 10:47:23 +0200 Subject: [PATCH 31/36] Update weekly_sync.yml --- .github/workflows/weekly_sync.yml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/.github/workflows/weekly_sync.yml b/.github/workflows/weekly_sync.yml index a19d4c7ffe8..389c2954e3e 100644 --- a/.github/workflows/weekly_sync.yml +++ b/.github/workflows/weekly_sync.yml @@ -20,25 +20,8 @@ jobs: - name: update_file run: | - #cd $GITHUB_WORKSPACE - #pwd - #cat requirements.txt - #ls -l requirements.txt - #chmod 644 requirements.txt - #ls -l requirements.txt - #sed -i "s/ROCmSoftwarePlatform\/rocMLIR@[^ ]*/ROCmSoftwarePlatform\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt - awk '{sub(/ROCmSoftwarePlatform\/rocMLIR@[^[:space:]]+/, "ROCmSoftwarePlatform/rocMLIR@${{ env.rocmlirsha }}",$0); print}' requirements.txt > temp_file - cat temp_file - mv temp_file requirements.txt - #ls -l requirements.txt - #cat requirements.txt - #last_line=$(tail -n 1 requirements.txt) - #echo $last_line - #sed -i '$d' requirements.txt + sed -i "s/ROCm\/rocMLIR@[^ ]*/ROCm\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt cat requirements.txt - #updated=$(echo $last_line | sed -E 's/(ROCmSoftwarePlatform\/rocMLIR@)[^[:space:]]+/\1'"updated_string"'/') - #echo "+++++++++++++++++++" - #echo $updated #- name: action_replace From bf12e49a75390712bdcb5204101e179ce7acd447 Mon Sep 17 00:00:00 2001 From: IgorMirosavljevicHTEC Date: Fri, 19 Apr 2024 08:47:45 +0000 Subject: [PATCH 32/36] Update rocMLIR main 813e6f0e8e77e98da701b48daa99c7e2d148f32e --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 556304c426b..d99d12208fd 100755 --- a/requirements.txt +++ b/requirements.txt @@ -28,4 +28,4 @@ pybind/pybind11@d159a563383d10c821ba7b2a71905d1207db6de4 --build msgpack/msgpack-c@cpp-3.3.0 -DMSGPACK_BUILD_TESTS=Off sqlite3@3.43.2 -DCMAKE_POSITION_INDEPENDENT_CODE=On ROCm/composable_kernel@57cdd70b7cb14e5e3b60cd9a5f96ba8dc343763e -DCK_BUILD_JIT_LIB=On -DCMAKE_POSITION_INDEPENDENT_CODE=On -ROCm/rocMLIR@ede6eff5dd3d33b34e48e1b429e8c0b0acac68e6 -DBUILD_FAT_LIBROCKCOMPILER=On +ROCm/rocMLIR@813e6f0e8e77e98da701b48daa99c7e2d148f32e -DBUILD_FAT_LIBROCKCOMPILER=On From 755ac75b76931dba6fdd5e5206e5ee208056c96e Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Fri, 19 Apr 2024 21:25:59 +0200 Subject: [PATCH 33/36] Update sync-onnxrt-main.yaml --- .github/workflows/sync-onnxrt-main.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sync-onnxrt-main.yaml b/.github/workflows/sync-onnxrt-main.yaml index 096dc91f7ad..d1d58b6ffe0 100644 --- a/.github/workflows/sync-onnxrt-main.yaml +++ b/.github/workflows/sync-onnxrt-main.yaml @@ -1,9 +1,10 @@ name: Onnxruntime main weekly sync on: - schedule: - - cron: '07 17 * * 5' - + #schedule: + # - cron: '07 17 * * 5' + workflow_dispatch: + jobs: createPullRequest: name: Update and create pull request @@ -54,4 +55,4 @@ jobs: TedThemistokleous causten draft: false - base: develop \ No newline at end of file + base: develop From 8e3c0cd86c95d285e29053b5d5da3750803d10f6 Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Mon, 22 Apr 2024 11:35:08 +0200 Subject: [PATCH 34/36] Update performance.yaml --- .github/workflows/performance.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/performance.yaml b/.github/workflows/performance.yaml index 42e92e6dc2b..ae96783eaa1 100644 --- a/.github/workflows/performance.yaml +++ b/.github/workflows/performance.yaml @@ -16,11 +16,11 @@ on: performance_reports_repo: description: Repository where performance reports are stored required: true - default: 'ROCm/migraphx-reports' + default: 'IgorMirosavljevicHTEC/migraphx-reports' benchmark_utils_repo: description: Repository where benchmark utils are stored required: true - default: "ROCm/migraphx-benchmark-utils" + default: "IgorMirosavljevicHTEC/migraphx-benchmark-utils" organization: description: Organization based on which location of files will be different required: true @@ -36,7 +36,7 @@ on: performance_backup_repo: description: Repository for backup required: true - default: migraphx-benchmark/performance-backup + default: IgorMirosavljevicHTEC/performance-backup flags: description: -m for Max value; -s for Std dev; -r for Threshold file required: true @@ -48,14 +48,14 @@ concurrency: jobs: release: - uses: ROCm/migraphx-benchmark/.github/workflows/perf-test.yml@main + uses: IgorMirosavljevicHTEC/migraphx-benchmark/.github/workflows/perf-test.yml@main with: rocm_release: ${{ github.event.inputs.rocm_release || '6.0.2' }} result_number: ${{ github.event.inputs.result_number || '10' }} flags: ${{ github.event.inputs.flags || '-r' }} - performance_reports_repo: ${{ github.event.inputs.performance_reports_repo || 'ROCm/migraphx-reports' }} + performance_reports_repo: ${{ github.event.inputs.performance_reports_repo || 'IgorMirosavljevicHTEC/migraphx-reports' }} performance_backup_repo: ${{ github.event.inputs.performance_backup_repo || 'migraphx-benchmark/performance-backup' }} - benchmark_utils_repo: ${{ github.event.inputs.benchmark_utils_repo || 'ROCm/migraphx-benchmark-utils' }} + benchmark_utils_repo: ${{ github.event.inputs.benchmark_utils_repo || 'IgorMirosavljevicHTEC/migraphx-benchmark-utils' }} organization: ${{ github.event.inputs.organization || 'AMD' }} model_timeout: ${{ github.event.inputs.model_timeout || '30m' }} secrets: From 18f47686e33930d0b267e494827d62aa467e21b9 Mon Sep 17 00:00:00 2001 From: IgorMirosavljevicHTEC Date: Mon, 22 Apr 2024 12:36:38 +0000 Subject: [PATCH 35/36] Update rocMLIR main 87a55290b7f89f9f8b97c611e0cf929399a9e0c5 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index d99d12208fd..1ff157d6d27 100755 --- a/requirements.txt +++ b/requirements.txt @@ -28,4 +28,4 @@ pybind/pybind11@d159a563383d10c821ba7b2a71905d1207db6de4 --build msgpack/msgpack-c@cpp-3.3.0 -DMSGPACK_BUILD_TESTS=Off sqlite3@3.43.2 -DCMAKE_POSITION_INDEPENDENT_CODE=On ROCm/composable_kernel@57cdd70b7cb14e5e3b60cd9a5f96ba8dc343763e -DCK_BUILD_JIT_LIB=On -DCMAKE_POSITION_INDEPENDENT_CODE=On -ROCm/rocMLIR@813e6f0e8e77e98da701b48daa99c7e2d148f32e -DBUILD_FAT_LIBROCKCOMPILER=On +ROCm/rocMLIR@87a55290b7f89f9f8b97c611e0cf929399a9e0c5 -DBUILD_FAT_LIBROCKCOMPILER=On From 3b64d0964e3560180b4c73ba17daf498e6126414 Mon Sep 17 00:00:00 2001 From: Igor Mirosavljevic <104914075+IgorMirosavljevicHTEC@users.noreply.github.com> Date: Mon, 22 Apr 2024 14:53:01 +0200 Subject: [PATCH 36/36] Update dev-requirements.txt