NVIDIA / NVIDIA/TensorRT

demo_txt2img take up too much memory

Open
#2,861 6 comments 0 reactions 1 assignee View on GitHub

@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 :
image
the memory is:
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.