Open MrTBH opened 5 months ago
Hi. I've been trying to use LLM Lingua on CPU Linux Machine. When I start by python file. it just stops like the attached screenshot
The code I'm using is as simple as following:
PromptCompressor(device_map="cpu")
Hi @MrTBH, it looks like out of memory. You might want to try using a smaller model like lgaalves/gpt2-dolly or a quantized version of the model.
lgaalves/gpt2-dolly
Hi. I've been trying to use LLM Lingua on CPU Linux Machine. When I start by python file. it just stops like the attached screenshot![Screenshot_1](https://github.com/microsoft/LLMLingua/assets/81750015/d5e6cb95-1d25-4c77-90c1-78906e6ed1fe)
The code I'm using is as simple as following: