Skip to content

ClBlast - no gpu load, no perfomans difference. #1217

@Folko-Ven

Description

@Folko-Ven

How i build:

  1. I use w64devkit
  2. I download CLBlast and OpenCL-SDK
  3. Put folders lib and include from CLBlast and OpenCL-SDK to w64devkit_1.18.0\x86_64-w64-mingw32
  4. Using w64devkit.exe cd to llama.cpp
  5. make LLAMA_CLBLAST=1
  6. Put clblast.dll near main.exe

When load i got this:

Initializing CLBlast (First Run)...
Attempting to use: Platform=0, Device=0 (If invalid, program will crash)
Using Platform: AMD Accelerated Parallel Processing Device: gfx90c
llama_init_from_file: kv self size = 1600.00 MB

system_info: n_threads = 7 / 16 | 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 | BLAS = 1 | SSE3 = 1 | VSX = 0 |
main: interactive mode on.
Reverse prompt: '### Human:'
Reverse prompt: '### Instruction:

But no gpu load, no perfomans difference. Btw when i use koboldcpp i got ~40-60% gpu load.

What could have gone wrong? And how build CLBlast with static libraries?

P.S. I use ryzen 5700u without dgpu.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildCompilation issueshardwareHardware relatedperformanceSpeed related topics

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions