leejet / stable-diffusion.cpp

Stable Diffusion and Flux in pure C/C++
MIT License
3.56k stars 307 forks source link

Cuda build with only AVX instruct detection bug. #276

Open tomudo opened 6 months ago

tomudo commented 6 months ago

Run and quit immediately. Build on intel 2600k support only AVX.

With -v debug info.

System Info:
    BLAS = 1
    SSE3 = 1
    AVX = 1
    AVX2 = 1
    AVX512 = 0
    AVX512_VBMI = 0
    AVX512_VNNI = 0
    FMA = 1
    NEON = 0
    ARM_FMA = 0
    F16C = 1
    FP16_VA = 0
    WASM_SIMD = 0
    VSX = 0
tomudo commented 6 months ago

from this -> https://github.com/leejet/stable-diffusion.cpp/issues/39#issuecomment-1705208304

edit stable-diffusion.cpp/ggml/src/CMakeLists.txt file by comment all avx2 and build. It will works with my AVX only CPU.