update stable diffusion script and doc#15846
Merged
Conversation
cloudhan
reviewed
May 8, 2023
onnxruntime/python/tools/transformers/models/stable_diffusion/README.md
Outdated
Show resolved
Hide resolved
cloudhan
reviewed
May 8, 2023
onnxruntime/python/tools/transformers/models/stable_diffusion/README.md
Outdated
Show resolved
Hide resolved
cloudhan
reviewed
May 8, 2023
onnxruntime/python/tools/transformers/models/stable_diffusion/README.md
Outdated
Show resolved
Hide resolved
cloudhan
reviewed
May 9, 2023
Comment on lines
+131
to
+134
| pip install numpy packaging "wheel>=0.35.1" | ||
| wget --quiet https://github.com/Kitware/CMake/releases/download/v3.26.3/cmake-3.26.3-linux-x86_64.tar.gz | ||
| tar zxf cmake-3.26.3-linux-x86_64.tar.gz | ||
| export PATH=${PWD}/cmake-3.26.3-linux-x86_64/bin:${PATH} |
Contributor
There was a problem hiding this comment.
How about
pip install numpy packaging "wheel>=0.35.1" cmake==3.26.3
Contributor
Author
There was a problem hiding this comment.
I'll have a try and update it later if it is working.
fs-eire
pushed a commit
that referenced
this pull request
May 12, 2023
### Description Update script: (1) change some float16 verbose logging to debug level. (2) Let requirements-cuda.txt includes requirements.txt (3) Use an environment variable ORT_DISABLE_TRT_FLASH_ATTENTION=1 to avoid black image in 2.1 model. Update benchmark and doc. (4) Update document to include command lines to build ORT rocm from source. (5) Update optimize_pipeline.py so that user can disable packed qkv/kv from command line options. (6) Update document to use torch < 2.0 for onnx export. ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
prathikr
pushed a commit
that referenced
this pull request
May 16, 2023
### Description Update script: (1) change some float16 verbose logging to debug level. (2) Let requirements-cuda.txt includes requirements.txt (3) Use an environment variable ORT_DISABLE_TRT_FLASH_ATTENTION=1 to avoid black image in 2.1 model. Update benchmark and doc. (4) Update document to include command lines to build ORT rocm from source. (5) Update optimize_pipeline.py so that user can disable packed qkv/kv from command line options. (6) Update document to use torch < 2.0 for onnx export. ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Update script:
(1) change some float16 verbose logging to debug level.
(2) Let requirements-cuda.txt includes requirements.txt
(3) Use an environment variable ORT_DISABLE_TRT_FLASH_ATTENTION=1 to avoid black image in 2.1 model. Update benchmark and doc.
(4) Update document to include command lines to build ORT rocm from source.
(5) Update optimize_pipeline.py so that user can disable packed qkv/kv from command line options.
(6) Update document to use torch < 2.0 for onnx export.
Motivation and Context