NVIDIA / ChatRTX

A developer reference project for creating Retrieval Augmented Generation (RAG) chatbots on Windows using TensorRT-LLM
Other
2.57k stars 291 forks source link

[BUG] Installing CLIP model breaks ChatRTX #74

Open sloomingbla opened 1 month ago

sloomingbla commented 1 month ago

After installing CLIP, I get this error

File "C:\Users\sloom\AppData\Local\NVIDIA\ChatRTX\env_nvd_rag\lib\site-packages\transformers\image_transforms.py", line 386, in normalize raise ValueError(f"mean must have {num_channels} elements if it is an iterable, got {len(mean)}") ValueError: mean must have 1 elements if it is an iterable, got 3

among many others. If I close ChatRTX after this I need to run a clean install to fix it.

Otherwise, if I remove CLIP from my aimodels, once I restart it will start working again.

anujj commented 1 month ago

i will check this issue