Open pplmx opened 1 month ago
Hi, did you try using the non-cuda-sub-packages
setting? See this section of the README for details.
cublas
is required by my project
If I use the following configuration:
- uses: Jimver/cuda-toolkit@v0.2.18
id: cuda-toolkit
with:
log-file-suffix: ${{ matrix.os }}.txt
cuda: '12.6.2'
method: 'network'
sub-packages: '["nvcc", "cudart"]'
non-cuda-sub-packages: '["libcublas"]'
I encounter the following errors during the CMake build process:
CMake Error at CMakeLists.txt:67 (target_link_libraries):
Target "example_cuda_cmake_lib" links to:
CUDA::cublas
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
And similar errors for other targets:
CMake Error at CMakeLists.txt:84 (target_link_libraries):
Target "example-cuda-cmake" links to:
CUDA::cublas
but the target was not found.
CMake Error at tests/CMakeLists.txt:39 (target_link_libraries):
Target "example-cuda-cmake-tests" links to:
CUDA::cublas
but the target was not found.
Description:
When using
v0.2.17
of thecuda-toolkit
action with the following configuration:I consistently encounter the following error:
What I've Tried:
v0.2.17
with CUDA version12.5.0
.v0.2.15
and using CUDA12.2.0
.Both approaches result in the same error regarding the
cuda-cublas
package.Expected Behavior:
The action should successfully install the specified CUDA sub-packages, including
cublas
, without errors.Environment:
0.2.17
(and0.2.15
)network
Additional Notes:
Has anyone else encountered this issue with these specific CUDA versions and sub-packages? Any insights or suggested fixes would be appreciated.