Sung Kim
Sung Kim
The code I am getting error may be here: from FlagEmbedding import LayerWiseFlagLLMReranker reranker = LayerWiseFlagLLMReranker('BAAI/bge-reranker-v2-minicpm-layerwise', use_fp16=True) or here: scores = [reranker.compute_score([query, passage], cutoff_layers=cutoff_layers) for query, passage in pairs]
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 3/3 [00:04
I am calling literally sample code from fastapi code and I get this error. Any resolution since I am not using multiprocessing.
I have tried the following: - mulitprocessing - concurrent.futures - threading to get around this problem. Now, I am about to try Celery to go around this problem.
The code fails here with this error when called from fastapi -> daemonic processes are not allowed to have children scores = [reranker.compute_score([query, passage], cutoff_layers=cutoff_layers) for query, passage in pairs]
ok. I found the culprit - it is hypercorn. Your code conflicts with hypercorn.
Closing this issue since it is not error with FlagEmbedding.
This behavior is forcing me to uninstall atuin. This is really annoying.
I have a question - what I want is when I press UP key to see history then select a command using TAB to modify that command. I want that...
Can we have the option to click on a response that opens up embedding results, which is pandas data frame for example? There can be multiple results so we will...