LLMLingua
LLMLingua copied to clipboard
[Bug]: cannot import name 'PromptCompressor' from partially initialized module 'llmlingua'
Describe the bug
I pip installed llmlingua in the conda environment. Its version is llmlingua-0.2.2. I created a new python file with the code:
from llmlingua import PromptCompressor
It reported an error:
ImportError: cannot import name 'PromptCompressor' from partially initialized module 'llmlingua' (most likely due to a circular import).
I checked your source code and didn't see any obvious circular import problem. Could you tell me how to solve it?
Steps to reproduce
No response
Expected Behavior
No response
Logs
No response
Additional Information
No response