[AMD] Add Support to test and generate CPU and Vulkan builds for Linux and Windows#3691
Open
iswaryaalex wants to merge 29 commits intoggml-org:masterfrom
Open
[AMD] Add Support to test and generate CPU and Vulkan builds for Linux and Windows#3691iswaryaalex wants to merge 29 commits intoggml-org:masterfrom
iswaryaalex wants to merge 29 commits intoggml-org:masterfrom
Conversation
* Added VitisAI encoder module placeholder files * VitisAI build integration * VitisAI encoder offload functional * Clean up vitisai integration * Add c++17 requirement for Windows * Enabled preemption for windows runs * Add model cache override option * Remove vitisai premature log message * Add rai support through file mapping * Fixed flatbuffer loading * Fixed Windows file mapping issue * Update FlexmlRT resolution * Use Flexmlrt wheel pkg to build VitisAI plugin * Clean up * Remove prints * Change flexmlrt target from Shared to Interface * Add c++17 requirement for Windows * Enabled preemption for windows runs * Add rai support through file mapping * Fixed flatbuffer loading * Fixed Windows file mapping issue * Update FlexmlRT resolution * Use Flexmlrt wheel pkg to build VitisAI plugin * Clean up * Remove prints * Change flexmlrt target from Shared to Interface * Cleanup FlexmlRT integration * format fix * Adding AMD Licenses * Update CMakeLists.txt Co-authored-by: Kumawat, Sachin <sachin.kumawat@amd.com> * Update src/CMakeLists.txt Co-authored-by: Kumawat, Sachin <sachin.kumawat@amd.com> * Update whisper.cpp * Added VitisAI encoder readme section * Remove license headers from common files to whisper.cpp --------- Co-authored-by: Sachin Kumawat <sachink@amd.com> Co-authored-by: Jeff Lin <jeffylin@xilinx.com> Co-authored-by: Lin <jefflin@amd.com> Co-authored-by: Lin, Jeff (DCG-ENG) <jeff.lin@amd.com> Co-authored-by: Iswarya Alex <iswaryaalex96@gmail.com> Co-authored-by: Alex, Iswarya <Iswarya.Alex@amd.com>
Add support for NPU/iGPU backend builds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds CI jobs that build and publish Vulkan and CPU whisper binaries for Linux and Windows, and updates docs/CI for Vulkan. It also fixes workflow
ifcondition parsing so job triggers evaluate correctly.Key changes
1. New workflow jobs (
.github/workflows/build.yml)linux-x64-cpu– Linux x64 CPU-only build. Builds with CMake, packages binaries and.sofiles, uploadswhisper-bin-linux-x64-cpu.zip.linux-x64-vulkan– Linux x64 Vulkan build. Installs Vulkan deps (libvulkan-dev,vulkan-tools,glslc/shaderc), configures with-DGGML_VULKAN=ON, validates Vulkan artifacts, packages and uploadswhisper-bin-linux-x64-vulkan.zip.windows-vulkan– Windows x64 Vulkan build. Uses Vulkan SDK (viawinget), SDL2, and MSBuild; builds with-DGGML_VULKAN=ONand-DWHISPER_SDL2=ON; copiesSDL2.dlland uploadswhisper-bin-x64-vulkan.zip.2. Release job
linux-x64-cpu,linux-x64-vulkan, andwindows-vulkan, so these artifacts are included when creating a release.3. CI documentation and script
ci/README.md– Added a “with Vulkan” example:GG_BUILD_VULKAN=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt.ci/run.sh– Added Vulkan to the sample usage comments and included “VULKAN” in the bench config whensystem_infocontainsVULKAN = 1.Artifacts produced
linux-x64-cpuwhisper-bin-linux-x64-cpu.ziplinux-x64-vulkanwhisper-bin-linux-x64-vulkan.zipwindows-vulkanwhisper-bin-x64-vulkan.zipFiles changed
.github/workflows/build.yml– New jobs, release deps, and condition fixes.ci/README.md– Vulkan run example.ci/run.sh– Vulkan usage comment and Vulkan in bench config.