ktransformers icon indicating copy to clipboard operation
ktransformers copied to clipboard

How to configure the correct startup parameters and file paths?

Open ArYuZzz opened this issue 1 year ago • 3 comments

Hello everyone, thanks the contribution of ktransformers team. I met some problem while trying to run up. Can anyone correct me? Does the --model_path flag is necessary? python3.11 -m ktransformers.local_chat --gguf_path /data/DeepSeek-R1-UD-Q2_K_XL --prompt_file prompt.txt --cpu_infer 48 --max_new_tokens 4096 --force_think true

Image

ArYuZzz avatar Feb 11 '25 08:02 ArYuZzz

Hello everyone, thanks the contribution of ktransformers team. I met some problem while trying to run up. Can anyone correct me? python3.11 -m ktransformers.local_chat --gguf_path /data/DeepSeek-R1-UD-Q2_K_XL --prompt_file prompt.txt --cpu_infer 48 --max_new_tokens 4096 --force_think true

Image

You should specify the --model_path, which can be downloaded from hf (no need to download the safetensor file, just set GIT_LFS_SKIP_SMUDGE=1). Or you can simply use online version use --model_path deepseek-ai/Deepseek-R1 And it is very necessary

KMSorSMS avatar Feb 11 '25 09:02 KMSorSMS

The --model_path flag is necessary. You are supposed to pass deepseek-ai/DeepSeek-R1 to this flag, and pass your gguf folder to --gguf_path

Azure-Tang avatar Feb 11 '25 09:02 Azure-Tang

Thanks, it works now.

ArYuZzz avatar Feb 11 '25 09:02 ArYuZzz