# cmake -B build --preset "MLX CUDA 13" > ~/cmake.mt 2>&1 -- The C compiler identification is GNU 15.2.0 -- The CXX compiler identification is GNU 15.2.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 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- ccache found, compilation results will be cached. Disable with GGML_CCACHE=OFF. -- CMAKE_SYSTEM_PROCESSOR: x86_64 -- GGML_SYSTEM_ARCH: x86 -- Including CPU backend -- x86 detected -- Adding CPU backend variant ggml-cpu-x64: -- x86 detected -- Adding CPU backend variant ggml-cpu-sse42: -msse4.2 GGML_SSE42 -- x86 detected -- Adding CPU backend variant ggml-cpu-sandybridge: -msse4.2;-mavx GGML_SSE42;GGML_AVX -- x86 detected -- Adding CPU backend variant ggml-cpu-haswell: -msse4.2;-mf16c;-mfma;-mbmi2;-mavx;-mavx2 GGML_SSE42;GGML_F16C;GGML_FMA;GGML_BMI2;GGML_AVX;GGML_AVX2 -- x86 detected -- Adding CPU backend variant ggml-cpu-skylakex: -msse4.2;-mf16c;-mfma;-mbmi2;-mavx;-mavx2;-mavx512f;-mavx512cd;-mavx512vl;-mavx512dq;-mavx512bw GGML_SSE42;GGML_F16C;GGML_FMA;GGML_BMI2;GGML_AVX;GGML_AVX2;GGML_AVX512 -- x86 detected -- Adding CPU backend variant ggml-cpu-icelake: -msse4.2;-mf16c;-mfma;-mbmi2;-mavx;-mavx2;-mavx512f;-mavx512cd;-mavx512vl;-mavx512dq;-mavx512bw;-mavx512vbmi;-mavx512vnni GGML_SSE42;GGML_F16C;GGML_FMA;GGML_BMI2;GGML_AVX;GGML_AVX2;GGML_AVX512;GGML_AVX512_VBMI;GGML_AVX512_VNNI -- x86 detected -- Adding CPU backend variant ggml-cpu-alderlake: -msse4.2;-mf16c;-mfma;-mbmi2;-mavx;-mavx2;-mavxvnni GGML_SSE42;GGML_F16C;GGML_FMA;GGML_BMI2;GGML_AVX;GGML_AVX2;GGML_AVX_VNNI -- Looking for a CUDA compiler -- Looking for a CUDA compiler - /usr/local/cuda-13.2/bin/nvcc -- Found CUDAToolkit: /usr/local/cuda-13.2/targets/x86_64-linux/include;/usr/local/cuda-13.2/targets/x86_64-linux/include/cccl (found version "13.2.51") -- CUDA Toolkit found -- Using CUDA architectures: 75-virtual;80-virtual;86-virtual;87-virtual;89-virtual;90-virtual;90a-virtual;100-virtual;103-virtual;110-virtual;120-virtual;121-virtual -- The CUDA compiler identification is NVIDIA 13.2.51 with host compiler GNU 15.2.0 -- Detecting CUDA compiler ABI info -- Detecting CUDA compiler ABI info - done -- Check for working CUDA compiler: /usr/local/cuda-13.2/bin/nvcc - skipped -- Detecting CUDA compile features -- Detecting CUDA compile features - done -- Looking for a HIP compiler -- Looking for a HIP compiler - NOTFOUND -- Found Vulkan: /usr/lib64/libvulkan.so (found version "1.4.341") found components: glslc glslangValidator -- Vulkan found -- GL_KHR_cooperative_matrix supported by glslc -- GL_NV_cooperative_matrix2 supported by glslc -- GL_EXT_integer_dot_product supported by glslc -- GL_EXT_bfloat16 supported by glslc -- Setting up MLX (this takes a while...) -- Non-macOS platform detected. Setting MLX_BUILD_METAL=OFF -- Using CUDNN_INCLUDE_PATH from environment: /usr/share/cuda/include -- Using CUDNN_LIBRARY_PATH from environment: /usr/share/cuda/lib64 -- Enabling MLX CUDA backend with architectures: 86;89;90;90a;100;103;75-virtual;80-virtual;110-virtual;120-virtual;121-virtual -- Building MLX for x86_64 processor on Linux -- Found CCache: /usr/bin/ccache -- Found CUDNN: /usr/share/cuda/include -- Accelerate not found, using default backend. -- Looking for sgemm_ -- Looking for sgemm_ - not found -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib64/libopenblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- Found LAPACK: /usr/lib64/libopenblas.so;-lm;-ldl -- Lapack lib /usr/lib64/libopenblas.so-lm-ldl -- Lapack include /usr/include -- Blas lib /usr/lib64/libopenblas.so -- Blas include /usr/include -- Downloading json -- Using the multi-header code from /home/daniel/Projects/ML-LLMs-and-CUDA/ollama.git/build/_deps/json-src/include/ -- Could NOT find NCCL (missing: NCCL_INCLUDE_DIRS NCCL_LIBRARIES) -- NCCL not found, using stubs. To run distributed with NCCL backend, install NCCL. -- CUDA architectures: 86;89;90;90a;100;103;75-virtual;80-virtual;110-virtual;120-virtual;121-virtual -- {fmt} version: 12.1.0 -- Build type: Release -- MLX version (local dev): 0.30.6-0-g185b06d -- Configuring done (52.6s) -- Generating done (0.1s) -- Build files have been written to: /home/daniel/Projects/ML-LLMs-and-CUDA/ollama.git/build