-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove: macOS 11のサポートを切り、CUDA & cuDNNをアップデート (#41)
* remove: macOS 11のサポートを切る * CUDA v12.5.0 & cuDNN v8.9.7.29 * fixup! CUDA v12.5.0 & cuDNN v8.9.7.29 * CUDA v12.4.1 * fixup! CUDA v12.4.1
- Loading branch information
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,11 +41,11 @@ jobs: | |
release_config: Release | ||
- artifact_name: onnxruntime-win-x64-gpu | ||
os: windows-2022 | ||
cuda_version: 12.2.2 | ||
cuda_version: 12.4.1 | ||
# Windowsの場合デフォルトのパッケージ群では不十分であるため、必要そうなパッケージを指定する。ただしいくつかは不要かもしれない | ||
cuda_sub_packages: '["cudart", "cuobjdump", "nvcc", "nvdisasm", "thrust", "cublas_dev", "cufft_dev", "curand_dev", "cusolver_dev", "cusparse_dev", "visual_studio_integration"]' | ||
cudnn_url: https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/windows-x86_64/cudnn-windows-x86_64-8.9.2.26_cuda12-archive.zip | ||
build_opts: --cmake_extra_defines CMAKE_SYSTEM_NAME=Windows CMAKE_SYSTEM_PROCESSOR=x86_64 --config Release --parallel --compile_no_warning_as_error --update --build --build_shared_lib --use_dml --use_cuda --cuda_version 12.2 | ||
cudnn_url: https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/windows-x86_64/cudnn-windows-x86_64-8.9.7.29_cuda12-archive.zip | ||
build_opts: --cmake_extra_defines CMAKE_SYSTEM_NAME=Windows CMAKE_SYSTEM_PROCESSOR=x86_64 --config Release --parallel --compile_no_warning_as_error --update --build --build_shared_lib --use_dml --use_cuda --cuda_version 12.4 | ||
result_dir: build/Release | ||
release_config: Release | ||
- artifact_name: onnxruntime-win-x86 | ||
|
@@ -60,9 +60,9 @@ jobs: | |
release_config: Release | ||
- artifact_name: onnxruntime-linux-x64-gpu | ||
os: ubuntu-20.04 | ||
cuda_version: 12.2.2 | ||
cuda_version: 12.4.1 | ||
cuda_sub_packages: "[]" # デフォルト | ||
cudnn_url: https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-x86_64/cudnn-linux-x86_64-8.9.2.26_cuda12-archive.tar.xz | ||
cudnn_url: https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-x86_64/cudnn-linux-x86_64-8.9.7.29_cuda12-archive.tar.xz | ||
build_opts: --cmake_extra_defines CMAKE_SYSTEM_NAME=Linux CMAKE_SYSTEM_PROCESSOR=x86_64 --config Release --parallel --compile_no_warning_as_error --update --build --build_shared_lib --use_cuda | ||
result_dir: build | ||
release_config: Release | ||
|
@@ -85,12 +85,12 @@ jobs: | |
result_dir: build | ||
release_config: Release | ||
- artifact_name: onnxruntime-osx-arm64 | ||
os: macos-11 | ||
os: macos-12 | ||
build_opts: --cmake_extra_defines CMAKE_SYSTEM_NAME=Darwin CMAKE_OSX_ARCHITECTURES=arm64 --config Release --parallel --compile_no_warning_as_error --update --build --build_shared_lib | ||
result_dir: build | ||
release_config: Release | ||
- artifact_name: onnxruntime-osx-x86_64 | ||
os: macos-11 | ||
os: macos-12 | ||
build_opts: --cmake_extra_defines CMAKE_SYSTEM_NAME=Darwin CMAKE_OSX_ARCHITECTURES=x86_64 --config Release --parallel --compile_no_warning_as_error --update --build --build_shared_lib | ||
result_dir: build | ||
release_config: Release | ||
|
@@ -213,7 +213,7 @@ jobs: | |
- name: Set up CUDA | ||
if: steps.cache-build-result.outputs.cache-hit != 'true' && matrix.cuda_version && matrix.cudnn_url | ||
uses: Jimver/[email protected].15 | ||
uses: Jimver/[email protected].16 | ||
with: | ||
cuda: ${{ matrix.cuda_version }} | ||
sub-packages: ${{ matrix.cuda_sub_packages }} | ||
|