forked from EleutherAI/DeeperSpeed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Diffusers attention script update triton2.1 (microsoft#4573)
deepspeed/ops/transformer/inference/triton_ops.py updated from https://github.com/openai/triton/blob/release/2.1.x/python/tutorials/06-fused-attention.py Inference time (text to image) reduced 2.6 sec to 2.49 sec on A100 model : stabilityai_stable-diffusion-2 @jithunnair-amd @loadams @rraminen IS_CAUSAL = False gives same image output as not using deepspeed inference engine , IS_CAUSAL = True gives noise as output --------- Co-authored-by: Lev Kurilenko <[email protected]> Co-authored-by: Lev Kurilenko <[email protected]> Co-authored-by: Michael Wyatt <[email protected]>
- Loading branch information
1 parent
8ad50cf
commit 3b1cf1f
Showing
1 changed file
with
64 additions
and
44 deletions.
There are no files selected for viewing
This file contains 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