Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

找不到llama_cpp模块 #97

Open
smashdog opened this issue Nov 28, 2024 · 1 comment
Open

找不到llama_cpp模块 #97

smashdog opened this issue Nov 28, 2024 · 1 comment

Comments

@smashdog
Copy link

image

@AlekPet
Copy link
Owner

AlekPet commented Nov 28, 2024

Hi. This is not my extension, most likely you need to read here https://github.com/thisjam/comfyui-sixgod_prompt , how to install lllama.cpp , it's all there. How to compile using cmake and so on...

大模型配置(可用于翻译和随机灵感)
安装 llama_cpp_python

方式一、参考:https://github.com/abetlen/llama-cpp-python
方式二、(推荐)llama-cpp-python的gpu离线包下载地址,自行下载对于版本下载安装
https://abetlen.github.io/llama-cpp-python/whl/cu121/
https://abetlen.github.io/llama-cpp-python/whl/cu122/
https://abetlen.github.io/llama-cpp-python/whl/cu123/
https://abetlen.github.io/llama-cpp-python/whl/cu124/
大模型下载(需要.gguf格式)

建议千问大模型,推荐qwen1_5-4b-chat-q2_k.gguf
地址:https://huggingface.co/Qwen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants