Hi - Just got Deepseek V3.1 IQ4_k working for now Build: is Xeon 8480+ ES version fully populated 512 gigs 8 channel at 5600mhz and a 3090 mobo is Asus W790E Sage
I am Trying to get this to run on my system via wsl
when i execute
cmake --build build --config Release -j $(nproc)
i get
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.43.0")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- OpenMP found
-- Using optimized iqk matrix multiplications
-- Enabling IQK Flash Attention kernels
-- Using llamafile
-- Found CUDAToolkit: /usr/include (found version "12.0.140")
-- CUDA found
-- Using CUDA architectures: native
-- The CUDA compiler identification is NVIDIA 12.0.140
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /usr/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- CUDA host compiler is GNU 12.4.0
-- ccache found, compilation results will be cached. Disable with GGML_CCACHE=OFF.
-- CMAKE_SYSTEM_PROCESSOR: x86_64
-- x86 detected
-- ARCH_FLAGS = -march=native
-- Configuring done (9.4s)
-- Generating done (7.2s)
-- Build files have been written to: /mnt/c/wslmodel/ik_llama.cpp/build
root@Burak2025:/mnt/c/wslmodel/ik_llama.cpp# cmake --build build --config Release -j $(nproc)
[ 0%] Generating build details from Git
-- Found Git: /usr/bin/git (found version "2.43.0")
[ 1%] Building C object examples/gguf-hash/CMakeFiles/sha1.dir/deps/sha1/sha1.c.o
[ 1%] Building C object examples/gguf-hash/CMakeFiles/sha256.dir/deps/sha256/sha256.c.o
[ 1%] Building C object examples/gguf-hash/CMakeFiles/xxhash.dir/deps/xxhash/xxhash.c.o
[ 1%] Building CXX object common/CMakeFiles/build_info.dir/build-info.cpp.o
[ 1%] Built target build_info
In function ‘SHA1Update’,
inlined from ‘SHA1Final’ at /mnt/c/wslmodel/ik_llama.cpp/examples/gguf-hash/deps/sha1/sha1.c:265:5:
/mnt/c/wslmodel/ik_llama.cpp/examples/gguf-hash/deps/sha1/sha1.c:219:13: warning: ‘SHA1Transform’ reading 64 bytes from a region of size 0 [-Wstringop-overread]
219 | SHA1Transform(context->state, &data[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/c/wslmodel/ik_llama.cpp/examples/gguf-hash/deps/sha1/sha1.c:219:13: note: referencing argument 2 of type ‘const unsigned char[64]’
/mnt/c/wslmodel/ik_llama.cpp/examples/gguf-hash/deps/sha1/sha1.c: In function ‘SHA1Final’:
/mnt/c/wslmodel/ik_llama.cpp/examples/gguf-hash/deps/sha1/sha1.c:54:6: note: in a call to function ‘SHA1Transform’
54 | void SHA1Transform(
| ^~~~~~~~~~~~~
In function ‘SHA1Update’,
inlined from ‘SHA1Final’ at /mnt/c/wslmodel/ik_llama.cpp/examples/gguf-hash/deps/sha1/sha1.c:269:9:
/mnt/c/wslmodel/ik_llama.cpp/examples/gguf-hash/deps/sha1/sha1.c:219:13: warning: ‘SHA1Transform’ reading 64 bytes from a region of size 0 [-Wstringop-overread]
219 | SHA1Transform(context->state, &data[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/c/wslmodel/ik_llama.cpp/examples/gguf-hash/deps/sha1/sha1.c:219:13: note: referencing argument 2 of type ‘const unsigned char[64]’
/mnt/c/wslmodel/ik_llama.cpp/examples/gguf-hash/deps/sha1/sha1.c: In function ‘SHA1Final’:
/mnt/c/wslmodel/ik_llama.cpp/examples/gguf-hash/deps/sha1/sha1.c:54:6: note: in a call to function ‘SHA1Transform’
54 | void SHA1Transform(
| ^~~~~~~~~~~~~
[ 1%] Built target sha1
[ 1%] Built target sha256
[ 2%] Building C object ggml/src/CMakeFiles/ggml.dir/ggml.c.o
[ 2%] Building C object ggml/src/CMakeFiles/ggml.dir/ggml-alloc.c.o
[ 2%] Building CXX object ggml/src/CMakeFiles/ggml.dir/ggml-backend.cpp.o
[ 3%] Building C object ggml/src/CMakeFiles/ggml.dir/ggml-quants.c.o
[ 3%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/acc.cu.o
[ 3%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/add-id.cu.o
[ 4%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/arange.cu.o
[ 4%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/argsort.cu.o
[ 4%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/binbcast.cu.o
[ 5%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/clamp.cu.o
[ 5%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/concat.cu.o
[ 5%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/conv-transpose-1d.cu.o
[ 5%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/convert.cu.o
[ 6%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/cpy.cu.o
[ 6%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/diagmask.cu.o
[ 6%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/dmmv.cu.o
[ 7%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-mma-f16.cu.o
[ 7%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-new-mma.cu.o
[ 7%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-tile-f16.cu.o
[ 8%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-vec-f16.cu.o
[ 8%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-tile-f32.cu.o
[ 8%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-vec-f32.cu.o
[ 9%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-wmma-f16.cu.o
[ 9%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn.cu.o
[ 9%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/getrows.cu.o
[ 9%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/im2col.cu.o
[ 10%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/iqk_mmvq.cu.o
[ 10%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/mmq.cu.o
[ 10%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/mmq_id.cu.o
[ 11%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/mmvq.cu.o
[ 11%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/norm.cu.o
[ 11%] Built target xxhash
[ 11%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/pad.cu.o
[ 12%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/pool2d.cu.o
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:174: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/argsort.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:132: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/acc.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:146: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/add-id.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:202: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/clamp.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:188: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/binbcast.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:216: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/concat.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:160: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/arange.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:230: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/conv-transpose-1d.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:244: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/convert.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:272: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/diagmask.cu.o] Error 1
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:258: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/cpy.cu.o] Error 1
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:286: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/dmmv.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:300: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-mma-f16.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:314: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-new-mma.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:328: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-tile-f16.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:342: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-tile-f32.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:356: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-vec-f16.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:398: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:370: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-vec-f32.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:384: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-wmma-f16.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:412: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/getrows.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:426: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/im2col.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:440: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/iqk_mmvq.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:454: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/mmq.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:496: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/norm.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:468: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/mmq_id.cu.o] Error 1
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:482: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/mmvq.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:510: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/pad.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:524: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/pool2d.cu.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1609: ggml/src/CMakeFiles/ggml.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
root@Burak2025:/mnt/c/wslmodel/ik_llama.cpp# apt-get install git build-essential cmake ccache nvidia-cuda-toolkit
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
git is already the newest version (1:2.43.0-1ubuntu7.3).
build-essential is already the newest version (12.10ubuntu1).
cmake is already the newest version (3.28.3-1build7).
ccache is already the newest version (4.9.1-1).
nvidia-cuda-toolkit is already the newest version (12.0.140~12.0.1-4build4).
The following package was automatically installed and is no longer required:
libllvm19
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
root@Burak2025:/mnt/c/wslmodel/ik_llama.cpp# apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
libllvm19
0 upgraded, 0 newly installed, 1 to remove and 28 not upgraded.
After this operation, 129 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 59209 files and directories currently installed.)
Removing libllvm19:amd64 (1:19.1.1-1ubuntu1~24.04.2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.6) ...
root@Burak2025:/mnt/c/wslmodel/ik_llama.cpp# cmake -B build -DCMAKE_BUILD_TYPE=Release -DGGML_CUDA=ON -DGGML_SCHED_MAX_COPIES=1
-- OpenMP found
-- Using optimized iqk matrix multiplications
-- Enabling IQK Flash Attention kernels
-- Using llamafile
-- CUDA found
-- Using CUDA architectures: native
-- CUDA host compiler is GNU 12.4.0
-- ccache found, compilation results will be cached. Disable with GGML_CCACHE=OFF.
-- CMAKE_SYSTEM_PROCESSOR: x86_64
-- x86 detected
-- ARCH_FLAGS = -march=native
-- Configuring done (1.8s)
-- Generating done (7.9s)
-- Build files have been written to: /mnt/c/wslmodel/ik_llama.cpp/build
root@Burak2025:/mnt/c/wslmodel/ik_llama.cpp# cmake --build build --config Release -j $(nproc)
[ 0%] Built target build_info
[ 0%] Built target sha1
[ 0%] Built target sha256
[ 1%] Built target xxhash
[ 1%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/acc.cu.o
[ 1%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/add-id.cu.o
[ 2%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/arange.cu.o
[ 2%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/argsort.cu.o
[ 2%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/binbcast.cu.o
[ 3%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/clamp.cu.o
[ 3%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/concat.cu.o
[ 3%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/conv-transpose-1d.cu.o
[ 3%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/convert.cu.o
[ 4%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/cpy.cu.o
[ 4%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/diagmask.cu.o
[ 4%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/dmmv.cu.o
[ 5%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-mma-f16.cu.o
[ 5%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-new-mma.cu.o
[ 5%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-tile-f16.cu.o
[ 6%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-tile-f32.cu.o
[ 6%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-vec-f16.cu.o
[ 6%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-vec-f32.cu.o
[ 7%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-wmma-f16.cu.o
[ 7%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn.cu.o
[ 7%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/getrows.cu.o
[ 7%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/im2col.cu.o
[ 8%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/iqk_mmvq.cu.o
[ 8%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/mmq.cu.o
[ 8%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/mmq_id.cu.o
[ 9%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/mmvq.cu.o
[ 9%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/norm.cu.o
[ 9%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/pad.cu.o
[ 10%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/quantize.cu.o
[ 10%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/pool2d.cu.o
[ 10%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/quantize_id.cu.o
[ 11%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/rope.cu.o
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:216: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/concat.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:272: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/diagmask.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:230: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/conv-transpose-1d.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:146: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/add-id.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:188: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/binbcast.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:160: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/arange.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:244: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/convert.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:202: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/clamp.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:258: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/cpy.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:314: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-new-mma.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:132: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/acc.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:286: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/dmmv.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:174: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/argsort.cu.o] Error 1
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:328: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-tile-f16.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:300: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-mma-f16.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:342: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-tile-f32.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:356: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-vec-f16.cu.o] Error 1
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:370: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-vec-f32.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:384: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn-wmma-f16.cu.o] Error 1
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:398: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/fattn.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:412: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/getrows.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:426: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/im2col.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:440: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/iqk_mmvq.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:454: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/mmq.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
nvcc fatal : Unsupported gpu architecture 'compute_120'
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:468: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/mmq_id.cu.o] Error 1
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:482: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/mmvq.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:496: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/norm.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:510: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/pad.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:524: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/pool2d.cu.o] Error 1
nvcc fatal : Unsupported gpu architecture 'compute_120'
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:538: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/quantize.cu.o] Error 1
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:552: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/quantize_id.cu.o] Error 1
gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:566: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/rope.cu.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1609: ggml/src/CMakeFiles/ggml.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
I did not do anything special. Just used the commands in the right order
This is the cude version i have on my Ubuntu 24.04 ditro
git is already the newest version (1:2.43.0-1ubuntu7.3).
build-essential is already the newest version (12.10ubuntu1).
cmake is already the newest version (3.28.3-1build7).
ccache is already the newest version (4.9.1-1).
nvidia-cuda-toolkit is already the newest version (12.0.140~12.0.1-4build4).
Are you running a 5000 series GPU? If so, your cuda version is too old, you’d need cuda 12.8. AFAIK ggml tries to build for the native compute version, hence why you’re seeing this error.
Found a similar issue elsewhere where they gave the workaround of specifying an older compute capability:
And also this one with a nicer explanation that what I had said above:
I’m thinking about picking up the Nvidia Jeston Orin Nano Super, because it’s dirt cheap right now. I could get it through SeeedStudio for $250, and see how things go with it for smaller, or quantized, models. I have also been thinking of attempting of taking it off script later on down the road, to see what it’s like as a “normal” arm based mini pc.
I write software that compiles for an Orin Nano Super at work. I tend to think of it like a Raspberry Pi that is also capable of Computer Vision tasks (pose estimation, object recognition, etc.). I wouldn’t get one for running text-generation LLMs.
Hi all, bit of a noob question.
I’m testing this on my windows machine (not ideal I know).
Running a 5090 and 128gb system ram @4800MT(can’t get any higher to be stable).
I played around a bit with loading some more layers on the gpu to better utilise the 32gb of vram. But no matter what I do, my system ram is completely filled the moment I start the server.
Which naturally leaves the system unresponsive. Is there a setting I’m missing? The model is stated being around 130gb, so I assumed it would fit comfortably. Or is it the context window being too large pushing it over? Thanks ahead for any insight.
I think Windows has problems handling large models with these backends, in that for all of them I’ve seen so far, layers and blocks offloaded into the VRAM still occupies system RAM.
Switch to any recent Linux distro if possible, and see if things improve.
Ok finally got this running on my other machine. I moved 1 of my 3090 to this recycled dual Xeon. Old 6154 Xeon thrown out of the cloud and 384GB claimed new “WEIMU” DDR4 ECC. Using proxmox and GPU passthrough I then put 320GB of 384GB… I didn’t realize how ZFS eats RAM. There are 2 other small VMs in it each with 6GB each. Anyway after compiling and w/o any tuning got GLM 4.6 (357B param) model running. How should I tune this?
Only getting about 15% GPU util, maybe 75% CPU util, all cores are loaded but they aren’t using it to 205w max per CPU. I can get CPUs to max TDP with xmrig.
Got the ik_llama.cpp running on a multi-gpu box with an old intel processor on it, thanks for the guide. Because - I think - I have the NVIDIA repo added, I pulled in the cuda-toolkit from them, it installed in /usr/local, and I ran into all kinds of build issues (EVEN THOUGH ldconfig knew perfectly well about the libraries thus installed. Well. Good ol’ fashioned ln -sf hackery in /usr/lib to the rescue.
I couldn’t run this model running, because I’ve only got 32G RAM and got stuck in swapfile hell, but it did try and load. I did get MaziyarPanahi/Mistral-7B-Instruct-v0.3-GGUF running!
First time ever doing anything like this. May stuff more RAM in this machine, which I originally built for F@H.
sorry typo, more like 3200 mhz still, 6.8 tokens per seconds is OK by me . I’m running DeepSeek-R1-0528-IQ1_S_R4 and it takes roughly 3-4 mins to load that Q1 model, both GPU temp does not go above 35 degrees cel. CPU temp 45 degrees at full load, running all day as my personal Jarvin. I’m getting faster tokens/sec with Qwen3-480B-A35B-Instruct-IQ1_KT.
wondering how many tokens per sec I’ll get if I upgrade to an AM5 with 128gc (2x64gb) DDR5 with a single 4090?
I’m trying to get this up and running on a Fedora-based distro (Nobara) and I’m encountering a bug where the CUDA Toolkit is on an outdated version of the GNU C Library. It seems like Arch suffers from this issue as well.
There’s a workaround but I’m unable to get that to stick, so I’m wondering if anyone could help me with a couple OS/distro questions:
It sounds like Windows is a lousy OS for this use case, I can imagine why BUT- would user-friendly, GUI-centric Linux distros have a similar degradation in performance? e.g. I’m trying this on Nobara, which is a gaming/creation centric Fedora derivative and I’m using the uh, not… gnome… UI thing.
Should I abandon soul-searching for my one true Linux distro and reach for something LTS? Optimized local LLM is pretty much my one significant use case left for the Linux side (my main hobbies are racing simulators and audio/video production, I’m well and truly cursed)
Whenever I do get it working, I’ll definitely share notes on all the queries which got me there.
I got it working on a wsl2 vm in Windows 11 with Ubuntu (but you have to get a different specific cuda toolkit) and that works but it has issues.
About 8t/s on ubergarms iq2-smol. I’m going to switch to dualboot to test it there though.
I don’t know if this is relevant, but I came across this today,
I am having issues with ROCM as well. Hopefully I will have time to try Ubuntu this weekend. I have debated trying it for a few weeks, since I found some documentation from AMD and llama.cpp going that direction. Regardless I will have a guide/log as I have a habit of documenting my projects.
I had some time this afternoon and was able to get ROCm and llama.cpp working with a 9070 XT on Fedora 43. There are packages for ROCm(rocm) and llama.cpp(llama-cpp) in the package manager. I can not speak for other distros from experience.
So would it be worth buying two 32gb R9700s for the price of a single 5090 and then run this or a model like it on that machine as a server? That would allow me to offload AI tasks from my gaming PC by putting my 256gb gskill kit into a separate machine with the 2x R9700s and keeping my single 5090 in my gaming PC with a faster set of 128gb RAM?
I just started running local llms with open webui, msty, lm studio, llama.cpp, etc, and I didn’t even remember this video until just now, which lead me back to this thread and this guide. This seems like the perfect setup for my am5 256gb system, if I can get rocm to work for a much larger context window. I also then wouldn’t have to give up use of my 5090 to do compute.