Skip to content

ImportError: cannot import name 'clear_device_cache' from 'accelerate.utils.memory' (/content/miniconda/lib/python3.12/site-packages/accelerate/utils/memory.py) #103

Description

@timovroom

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions