-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FLUX.1 text-to-image pipeline for Gaudi
* Enabled and tested FLUX pipeline on Gaudi for FLUX.1 class of models * Enabled HPU graphs mode * Enabled batching in inference * Added support for quantization (fp8 and hybrid) * Incorporated Gaudi profiler and HPU Synchronization for performance analysis * Boosted performance with Fused SDPA * Added Fused RoPE * Documented FLUX.1 samples * Upgraded and pinned diffusers in Optimum-Habana to official release 0.31.0 * Resolved issues in other pipelines due to diffusers upgrade * Added CI tests (2 unit tests, 1 slow test for perf and quality) Signed-off-by: Daniel Socek <daniel.socek@intel.com> Co-authored-by: Baochen Yang <baochen.yang@intel.com> Co-authored-by: Huijuan Zhou <huijuan.zhou@intel.com> Co-authored-by: Sergey Plotnikov <sergey.plotnikov@intel.com> Co-authored-by: Deepak Narayana <deepak.narayana@intel.com>
- Loading branch information
1 parent
f98688d
commit bb360ba
Showing
16 changed files
with
1,230 additions
and
135 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
5 changes: 5 additions & 0 deletions
5
examples/stable-diffusion/quantization/flux/measure_config.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"method": "HOOKS", | ||
"mode": "MEASURE", | ||
"dump_stats_path": "quantization/flux/measure_all/fp8" | ||
} |
6 changes: 6 additions & 0 deletions
6
examples/stable-diffusion/quantization/flux/quantize_config.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"method": "HOOKS", | ||
"mode": "QUANTIZE", | ||
"scale_method": "maxabs_hw_opt_weight", | ||
"dump_stats_path": "quantization/flux/measure_all/fp8" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
opencv-python | ||
compel | ||
compel | ||
sentencepiece |
Oops, something went wrong.