From b387cdb3372773ec5c8a0d24cc3a2c74a8ccf36f Mon Sep 17 00:00:00 2001 From: Mathieu Broillet Date: Mon, 23 Sep 2024 18:29:56 +0200 Subject: [PATCH] update rocm to 6.2 --- .../build-and_publish-prebuilts-whl.yml | 2 +- build.sh | 0 build.spec | 38 ------------------- prebuilts/build.sh | 2 +- prebuilts/extract_build.sh | 2 +- 5 files changed, 3 insertions(+), 41 deletions(-) mode change 100644 => 100755 build.sh delete mode 100644 build.spec diff --git a/.github/workflows/build-and_publish-prebuilts-whl.yml b/.github/workflows/build-and_publish-prebuilts-whl.yml index d1d05e0..7e69869 100644 --- a/.github/workflows/build-and_publish-prebuilts-whl.yml +++ b/.github/workflows/build-and_publish-prebuilts-whl.yml @@ -1,4 +1,4 @@ -name: Build and Publish Artifacts +name: Build and Publish Prebuilts Artifacts on: workflow_dispatch: diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 diff --git a/build.spec b/build.spec deleted file mode 100644 index 38f2e70..0000000 --- a/build.spec +++ /dev/null @@ -1,38 +0,0 @@ -# -*- mode: python ; coding: utf-8 -*- - - -a = Analysis( - ['main.py'], - pathex=[], - binaries=[], - datas=[('services', 'services')], - hiddenimports=[], - hookspath=[], - hooksconfig={}, - runtime_hooks=[], - excludes=[], - noarchive=False, - optimize=0, -) -pyz = PYZ(a.pure) - -exe = EXE( - pyz, - a.scripts, - a.binaries, - a.datas, - [], - name='ai-suite-rocm_linux_x86_64', - debug=False, - bootloader_ignore_signals=False, - strip=False, - upx=True, - upx_exclude=[], - runtime_tmpdir=None, - console=True, - disable_windowed_traceback=False, - argv_emulation=False, - target_arch=None, - codesign_identity=None, - entitlements_file=None, -) diff --git a/prebuilts/build.sh b/prebuilts/build.sh index 60c4523..83e9867 100755 --- a/prebuilts/build.sh +++ b/prebuilts/build.sh @@ -1 +1 @@ -docker build . -t 'prebuilts-rocm:6.1.2' -f Dockerfile +docker build . -t 'prebuilts-rocm:6.2' -f Dockerfile diff --git a/prebuilts/extract_build.sh b/prebuilts/extract_build.sh index 38dd117..233fcbf 100755 --- a/prebuilts/extract_build.sh +++ b/prebuilts/extract_build.sh @@ -1,7 +1,7 @@ #!/bin/bash # Set variables -IMAGE_NAME="prebuilts-rocm:6.1.2" +IMAGE_NAME="prebuilts-rocm:6.2" CONTAINER_NAME="prebuilts-rocm" FILES_TO_COPY=["/tmp/bitsandbytes/dist/", "/tmp/llama-cpp-python/dist/"] WHERE_TO_PASTE="./build_output/"