From 68131e056a072afe13b85dffe081bfb0d8e088a7 Mon Sep 17 00:00:00 2001 From: Yury Date: Sun, 4 Aug 2024 16:22:28 +0300 Subject: [PATCH] Bundle bat files to lock freqs for CUDA --- .github/workflows/build-executable.yml | 4 ++++ .github/workflows/make-release.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/build-executable.yml b/.github/workflows/build-executable.yml index 55c973649..425f40127 100644 --- a/.github/workflows/build-executable.yml +++ b/.github/workflows/build-executable.yml @@ -79,6 +79,10 @@ jobs: - name: Building executable run: pyinstaller --clean -y --dist ./dist --workpath /tmp MMVCServerSIO.spec working-directory: ./server + - name: Copy utils + run: cp ./server/{force_gpu_clocks.bat,reset_gpu_clocks.bat} ./server/dist/ + shell: bash + if: matrix.os == 'windows-latest' && matrix.backend == 'cuda' - name: Pack artifact shell: bash run: | diff --git a/.github/workflows/make-release.yml b/.github/workflows/make-release.yml index d7afcc57a..abdc38437 100644 --- a/.github/workflows/make-release.yml +++ b/.github/workflows/make-release.yml @@ -118,6 +118,10 @@ jobs: - name: Building executable run: pyinstaller --clean -y --dist ./dist --workpath /tmp MMVCServerSIO.spec working-directory: ./server + - name: Copy utils + run: cp ./server/{force_gpu_clocks.bat,reset_gpu_clocks.bat} ./server/dist/ + shell: bash + if: matrix.os == 'windows-latest' && matrix.backend == 'cuda' - name: Pack artifact shell: bash run: |