Skip to content

Feat: Windows CUDA build#40

Merged
duartebarbosadev merged 3 commits intomainfrom
feat-windows-cuda-build
Sep 7, 2025
Merged

Feat: Windows CUDA build#40
duartebarbosadev merged 3 commits intomainfrom
feat-windows-cuda-build

Conversation

@duartebarbosadev
Copy link
Copy Markdown
Owner

This pull request improves support for hardware-accelerated AI features by streamlining ONNX Runtime package selection for CPU and CUDA environments. It introduces a dedicated requirements-cuda.txt for NVIDIA GPU acceleration, updates the documentation to clarify installation procedures, and modifies the release workflow to build both CPU and CUDA variants automatically.

Hardware acceleration and dependency management:

  • Added a new requirements-cuda.txt file that includes onnxruntime-gpu and other dependencies for NVIDIA GPU acceleration.
  • Updated README.md to instruct users to select the appropriate requirements file (requirements.txt for CPU, requirements-cuda.txt for CUDA) and clarified installation steps for both environments, including notes on mutual exclusivity of ONNX packages. [1] [2]

Release workflow improvements:

  • Modified .github/workflows/release-build.yml to build and release both CPU and CUDA Windows variants by specifying the ONNX runtime package in the build matrix.
  • Ensured the correct ONNX Runtime package is installed during CI builds by adding a step to force-reinstall the matrix-specified package.

Copilot AI review requested due to automatic review settings September 7, 2025 17:39
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds support for building CUDA-accelerated Windows variants by introducing dedicated dependency management for CPU and GPU acceleration options and updating the build pipeline to generate both variants automatically.

  • Added requirements-cuda.txt with NVIDIA GPU-specific dependencies including onnxruntime-gpu
  • Updated installation documentation to guide users in selecting appropriate requirements files for CPU vs CUDA environments
  • Modified CI/CD workflow to build both CPU and CUDA Windows variants using a build matrix

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
requirements-cuda.txt New dependency file specifying CUDA-specific packages including onnxruntime-gpu
README.md Updated installation instructions to clarify CPU vs CUDA setup procedures
.github/workflows/release-build.yml Enhanced build matrix to generate both CPU and CUDA Windows variants

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@duartebarbosadev duartebarbosadev merged commit 89a9d4c into main Sep 7, 2025
5 of 6 checks passed
@duartebarbosadev duartebarbosadev deleted the feat-windows-cuda-build branch September 7, 2025 20:07
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.

2 participants