SeargeDP / ComfyUI_Searge_LLM

Custom nodes for ComfyUI that utilize a language model to generate text-to-image prompts
MIT License
47 stars 5 forks source link

Install issues - not a supported wheel on this platform #8

Open jdwheatonius opened 2 months ago

jdwheatonius commented 2 months ago

Hi guys, I'm getting these errors when trying manually install this: Windows 11 64-bit. Thanks for any help.

PowerShell 7.4.5 PS C:\Windows\System32> python -m pip install https://github.com/oobabooga/llama-cpp-python-cuBLAS-wheels/releases/download/cpu/llama_cpp_python-0.2.89+cpuavx2-cp311-cp311-win_amd64.whl ERROR: llama_cpp_python-0.2.89+cpuavx2-cp311-cp311-win_amd64.whl is not a supported wheel on this platform. PS C:\Windows\System32> python -m pip install https://github.com/oobabooga/llama-cpp-python-cuBLAS-wheels/releases/download/textgen-webui/llama_cpp_python_cuda-0.2.89+cu121-cp311-cp311-win_amd64.whl ERROR: llama_cpp_python_cuda-0.2.89+cu121-cp311-cp311-win_amd64.whl is not a supported wheel on this platform.

SeargeDP commented 2 months ago

If you are using the portable version of ComfyUI, you have to run these commands in its python_embeded directory, not in C:\Windows\System32.

jdwheatonius commented 2 months ago

Thanks for the reply, I re-ran the commands from that directory and got the same message:

C:\StableDiffusion\ComfyUI_windows_portable\python_embeded>python -m pip install https://github.com/oobabooga/llama-cpp-python-cuBLAS-wheels/releases/download/cpu/llama_cpp_python-0.2.89+cpuavx2-cp311-cp311-win_amd64.whl ERROR: llama_cpp_python-0.2.89+cpuavx2-cp311-cp311-win_amd64.whl is not a supported wheel on this platform.

C:\StableDiffusion\ComfyUI_windows_portable\python_embeded>python -m pip install https://github.com/oobabooga/llama-cpp-python-cuBLAS-wheels/releases/download/textgen-webui/llama_cpp_python_cuda-0.2.89+cu121-cp311-cp311-win_amd64.whl ERROR: llama_cpp_python_cuda-0.2.89+cu121-cp311-cp311-win_amd64.whl is not a supported wheel on this platform.

C:\StableDiffusion\ComfyUI_windows_portable\python_embeded>

I'd love any other ideas you might have, I really would love to use this node!

ialhabbal commented 2 months ago

This custom node is built specifically for Python 3.11 and will not work on 3.10.

jdwheatonius commented 2 months ago

Thank you, that got me past the install errors, so thank you for that! Unfortunately, I'm still getting an error when I try to use it in ComfyUI image

In my manager it says "(IMPORT FAILED) Searge-LLM for ComfyUI v1.0"

I'm happy to troubleshoot if you can give me some more guidance. Thanks.

dancemanUK commented 2 months ago

https://github.com/oobabooga/llama-cpp-python-cuBLAS-wheels/releases

llama_cpp_python_cuda_tensorcores-0.2.90+cu121-cp310-cp310-win_amd64.whl for pyth310

jdwheatonius commented 2 months ago

https://github.com/oobabooga/llama-cpp-python-cuBLAS-wheels/releases

llama_cpp_python_cuda_tensorcores-0.2.90+cu121-cp310-cp310-win_amd64.whl for pyth310

Thanks for this, unfortunately, I already upgraded to Python 3.11.9 and I'm still getting the errors when I run ComfyUI with Searge. Maybe I'll have to wait for future updates since I just can't seem to get this worked out with my knowledge.