trt-llm-rag-windows icon indicating copy to clipboard operation
trt-llm-rag-windows copied to clipboard

[BUG] Installing CLIP model breaks ChatRTX

Open sloomingbla opened this issue 1 year ago • 2 comments

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.

sloomingbla avatar Jun 19 '24 20:06 sloomingbla

i will check this issue

anujj avatar Jun 24 '24 05:06 anujj

Please verify pre-requisites and move to newly released 0.5 version. There is no such known issue in 0.5 version. let us know if you are facing issue on 0.5 version.

akaanupkumar avatar Apr 10 '25 10:04 akaanupkumar