Closed shannonlal closed 5 months ago
Apologies for the delayed response. The issue stems from the 'accelerate' library.
To resolve it, you should restart your session after installing 'accelerate.' For further details, please refer to this solution on Stack Overflow: https://stackoverflow.com/questions/76902752/importerror-using-low-cpu-mem-usage-true-or-a-device-map-requires-accelerat.
I am trying to run the Retrieval Notebook and when I get an error about accelerate not being installed; however, as you can see from my logs below it is installed
Notebook: https://github.com/microsoft/LLMLingua/blob/main/examples/Retrieval.ipynb
I get the following error
Machine: Colab with I have tried running this on colab with a L4 GPU.
Library Versions: Here are the version of my library. I did a !pip show
Version Output
I also can confirm that I have a GPU on the box
Output
Is anyone else seeing this? Does anyone know how to solve this?