Merged
Conversation
…Runtime installation
… requirements-cuda.txt for NVIDIA GPU support
Contributor
There was a problem hiding this comment.
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.txtwith NVIDIA GPU-specific dependencies includingonnxruntime-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>
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.
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.txtfor 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:
requirements-cuda.txtfile that includesonnxruntime-gpuand other dependencies for NVIDIA GPU acceleration.README.mdto instruct users to select the appropriate requirements file (requirements.txtfor CPU,requirements-cuda.txtfor CUDA) and clarified installation steps for both environments, including notes on mutual exclusivity of ONNX packages. [1] [2]Release workflow improvements:
.github/workflows/release-build.ymlto build and release both CPU and CUDA Windows variants by specifying the ONNX runtime package in the build matrix.