abetlen / abetlen/llama-cpp-python

GPU Utilization zero when evaluating GGUFs through lm-evaluation

Offen
#1,510 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
10.6k
Forks
1.4k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

i'm enabling gpu-acceleration during installation as suggested in readme:
`CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1
pip install 'llama-cpp-python[server]'`
Then activating the local server by:
`python3 -m llama_cpp.server --model models/7B/llama-model.gguf --n_gpu_layers -1`
and then finally using lm-evaluation for evaluating:

`lm_eval --model gguf --model_args base_url=http://localhost:8000 --tasks multimedqa`

....this just runs evaluation without using any GPU

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.