I was able to launch Paints undo on Google Colab.
I successfully uploaded an image in STEP 1, but I got stuck at STEP 2.
The following error appeared. Does anyone know how to fix it?
ImportError: cannot import name 'clear_device_cache' from 'accelerate.utils.memory' (/content/miniconda/lib/python3.12/site-packages/accelerate/utils/memory.py)
I was able to launch Paints undo on Google Colab.
I successfully uploaded an image in STEP 1, but I got stuck at STEP 2.
The following error appeared. Does anyone know how to fix it?
ImportError: cannot import name 'clear_device_cache' from 'accelerate.utils.memory' (/content/miniconda/lib/python3.12/site-packages/accelerate/utils/memory.py)