Closed
Description
Git commit
Operating systems
Linux
GGML backends
CUDA
Problem description & steps to reproduce
NVIDIA GeForce RTX 4090
Driver Version: 570.124.04
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
First Bad Commit
No response
Compile command
cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release
Relevant log output
root # > cmake -B build -DGGML_CUDA=ON 141 ⨯
-- Warning: ccache not found - consider installing it for faster compilation or disable this warning with GGML_CCACHE=OFF
-- CMAKE_SYSTEM_PROCESSOR: x86_64
-- Including CPU backend
-- x86 detected
-- Adding CPU backend variant ggml-cpu: -march=native
-- CUDA Toolkit found
-- Using CUDA architectures: 50;61;70;75;80
-- CUDA host compiler is GNU 11.4.0
-- Including CUDA backend
-- Configuring done
-- Generating done
root # > cmake --build build --config Release
Consolidate compiler generated dependencies of target ggml-base
[ 2%] Built target ggml-base
[ 2%] Building CUDA object ggml/src/ggml-cuda/CMakeFiles/ggml-cuda.dir/acc.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
gcc-11: error: unrecognized command-line option '-compress-mode=size'
gmake[2]: *** [ggml/src/ggml-cuda/CMakeFiles/ggml-cuda.dir/build.make:76: ggml/src/ggml-cuda/CMakeFiles/ggml-cuda.dir/acc.cu.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1788: ggml/src/ggml-cuda/CMakeFiles/ggml-cuda.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2