Hello I use a q4_0 13B of llama on Hugging Face : https://huggingface.co/decapoda-research/llama-13b-hf
My config is:
16go ram
i5 10400f
rx6000xt amd
Windows 11 pro
I use llama on python because on llama.cpp I cant write any letter (my mouse disapear on the terminal and I cant wrote) and when I want to do a completion this take something like 10 min to resolve
Python code:
from llama_cpp import Llama
llm = Llama("D:\\ia\\ia\\llama.cpp\\models\\13B\\ggml-model-q4_0-llama-13B.bin")
while True:
output = llm(input(">>> "), max_tokens=100)
print(output)
Terminal:
llama_model_load_internal: format = ggjt v1 (latest)
llama_model_load_internal: n_vocab = 32000
llama_model_load_internal: n_ctx = 512
llama_model_load_internal: n_embd = 5120
llama_model_load_internal: n_mult = 256
llama_model_load_internal: n_head = 40
llama_model_load_internal: n_layer = 40
llama_model_load_internal: n_rot = 128
llama_model_load_internal: ftype = 2 (mostly Q4_0)
llama_model_load_internal: n_ff = 13824
llama_model_load_internal: n_parts = 1
llama_model_load_internal: model size = 13B
llama_model_load_internal: ggml ctx size = 73.73 KB
llama_model_load_internal: mem required = 9807.47 MB (+ 1608.00 MB per state)
llama_init_from_file: kv self size = 400.00 MB
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 = 0 | SSE3 = 1 | VSX = 0 |
>>> Hey !
I dont know why is very slow when I load the model (1min) and why when I do a completion it takes a lot of time (~+10min) and why I can't write anything with llama.cpp.
Xd a lot of probleme !
I hope you know a solution !
Thanks in advance !
Labo.
PS:I'm not very good in english ^^
Hello I use a q4_0 13B of llama on Hugging Face : https://huggingface.co/decapoda-research/llama-13b-hf
My config is:
16go ram
i5 10400f
rx6000xt amd
Windows 11 pro
I use llama on python because on llama.cpp I cant write any letter (my mouse disapear on the terminal and I cant wrote) and when I want to do a completion this take something like 10 min to resolve
Python code:
Terminal:
I dont know why is very slow when I load the model (1min) and why when I do a completion it takes a lot of time (~+10min) and why I can't write anything with llama.cpp.
Xd a lot of probleme !
I hope you know a solution !
Thanks in advance !
Labo.
PS:I'm not very good in english ^^