PromtEngineer / localGPT-Vision

Chat with your documents using Vision Language Models. This repo implements an End to End RAG pipeline with both local and proprietary VLMs
334 stars 65 forks source link

Installation on MacBook Pro M3 Notebook with errors (Modules not in file in requirement.txt AND Failed to import from vllm._C!) #4

Open hklein42 opened 1 week ago

hklein42 commented 1 week ago

Hi,

Installations errors:

Modules not in file in requirement.txt: 1023 pip install byaldi 1025 pip install docx2pdf 1027 pip install vllm 1029 pip install google.generativeai 1031 pip install groq 1033 pip install markdown 1035 pip install vllm._C

Log: localgpt-vision) hklein42@mcbox localGPT-Vision % python app.py
WARNING 10-09 18:02:00 _custom_ops.py:18] Failed to import from vllm._C with ModuleNotFoundError("No module named 'vllm._C'") INFO 10-09 18:02:00 importing.py:10] Triton not installed; certain GPU-related functions will not be available. 2024-10-09 18:02:01,351 - INFO - main - Application started.

BG Heinzpeter

PromtEngineer commented 1 week ago

@hklein42 can you help me understand the first part. The packages mentioned in the issue are in the requirements.txt . Are you running into issues while installing from requirements.txt?

vLLM is not supported on macOs but shouldn't be an issue. On MacOs you will not be able to use Pixtral, and Molmo because of their dependcy on certain packages that are not supported. But you should be able to run llama and qwen.

deadsunrise commented 1 week ago

@hklein42 can you provide more info, it's working fine for me on a Macstudio M2 Max 192GB on the latest sequoia dev beta

sputnick commented 1 week ago

Same issue on an M1 but it fails most likely because vllm>=0.6.1.post1 stops pip with an error and then you need to manually install the rest. Moving it to the end of the file didn't solve the issue.

hklein42 commented 1 week ago

ThxVielen Dank im Voraus Mit freundlichen Grüßen / with kind regardsHeinzpeter KleinMobil :  +49 (151) 23056041mail @. E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte  Kopieren sowie die unbefugte Weitergabe dieser E-Mail sind nicht gestattet.Am 10.10.2024 um 15:03 schrieb Eirikur S. Hrafnsson @.>: Same issue on an M1 but it fails most likely because vllm>=0.6.1.post1 stops pip with an error and then you need to manually install the rest. Moving it to the end of the file didn't solve the issue.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>