demo_txt2img take up too much memory
Open
@zerollzeng is already working on this.
Since Apr 10, 2023.
triaged
- Dominant language
- C++
- Stars
- 13.4k
- Forks
- 2.4k
- Avg merge
- 5d 3h
- Merged PRs (30d)
- 2
Description
I run demo about demo_txt2img.It can work,but the memory consume very hign , about 20G
my configuration is rtx8000, my environment build by docker
my command is :python3 demo_txt2img.py "a beautiful photograph of Mt. Fuji during cherry blossom" --scheduler=EulerA --hf-token=$HF_TOKEN -v
the time consume is :

the memory is:

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.