[TRT] Support New SD IMG2IMG PipeLine #453
Merged
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.
This pull request introduces several enhancements and new features to the Lite AI Toolkit, particularly focusing on the TensorRT-based face fusion and image processing pipelines. The most significant changes include the addition of a new face fusion pipeline, improvements to the Stable Diffusion pipeline, and updates to the configuration and utility files.
New Features and Enhancements:
Face Fusion Pipeline:
trt_facefusion_pipeline_gpu.handtrt_facefusion_pipeline_gpu.cpp, including methods for model initialization, detection, and landmark processing. [1] [2]Stable Diffusion Pipeline:
trt_pipeline.cppandtrt_pipeline.h. [1] [2] [3] [4]trt_unet.cppandtrt_unet.h. [1] [2] [3]Configuration and Utility Updates:
Configuration Files:
trt_config.hto define pipeline modes using an enum class for better type safety.Header Inclusions:
lite.hto ensure all configurations are properly included.These changes collectively enhance the functionality and robustness of the Lite AI Toolkit, particularly in the areas of face fusion and image processing using TensorRT.