-
Notifications
You must be signed in to change notification settings - Fork 77
Updated python version #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
gblong1
added a commit
that referenced
this pull request
Aug 20, 2024
* Initial commit * Initial commit of gimp-ml with semantic seg powered by OV * Added OV based deblur plugin * Added super-resolution OV based plugin supports esrgan & sr_1033 * Initial version for OV Inpainting * Replaced checkboxes with drop down list & added edsr model support to superres * Added ov style transfer filter * Super-res changes * Adding weights folder * Added initial version of stable diffusion * automated stable difussion model paths * Initial commit of gimp-ov * Removed unwanted files * Removed unwanted files * Fixed semseg and removed unwanted code * Removed unwanted dependencies * Added screenshot and removed unwanted files * Updated Readme * Updated Readme * Updated Readme * Updated Readme * Updated Readme * Updated Readme * Updated Readme * Delete LICENSE * Added thirdparty license and copyrights notices * Create LICENSE.md * Updated Readme * Delete testscases/.ipynb_checkpoints directory * Updated Readme * Added missing gdown during install * Added missing gdown during install * Changed license to Apache * Removed VPU device from mainline and deleted deblur plugin * Removed unused function and files after checkmarx scan * Commented out the exc_info to fix the Information_Exporsure issue in checkmarx * Replaced gimpov from the entire code base * Updated the GUI screen shot for readme * Renamed gimpov folder * Replaced GIMP-OV to GIMP-OpenVINO & gimpopenvino * Removed md5 and html related blacklisted items for bandit * Removed use of pickle from the plugin infrastructure * Replace readlines from text with json format for semantic seg * Replaced readlines method with json * Updated OpenVino to 2022.3.0 * Updated transformer version * Added copyright header to all source files * staging for final upstream part1 * final staging part2 * Modify readme * modify readme * Added more gifs * replaced the links * updated readme * updated readme * updated readme * updated sem-seg gif * updated readme * updated readme * updated readme * updated readme * Added new web * Final push * Added in-painting to main branch of open-source * Added model conversion support for SD1.5 Inpainting * Added inital image from canvas support * Modified mask creation step, fixed bug in load model, updated readme * small readme update * small readme update * small readme update * small readme update * Added controlnet-openpose * First version of updated internal version with external & internal controlnet, external inpainting * Optimized pipeline - moving infer_request.wait() * updated pipeline to N=2 controlnet-pose IR * Added Super-Res workflow in SD for acer * Latest optimized pipeline wirh share_outputs = True etc. * updated pipeline to use ergan and set SR resolution to landscape 2240x1400 * keeping final cache.png image * updated to run esrgan on GPU * Added inpainting internal version and updated device list to show NPU instead of VPUX * updated transformer version and removed unwanted debug prints * Update stable-diffusion-ov-server.py * Added model caching for SR model to reduce the load time * Added model caching for SR model to reduce the load time * Added padding as input image is square and output landscape * fixed a bug in SR standalone plugin * Fixed a bug in style transfer and semseg * fixed progress bar update in controlnet-pose, added model caching for other plugins and updated model setup * Updates for VPUX/VPU to NPU transition * Removed direct SR support from SD gui for release * Added controlnet-canny internal blob support * Updates to the path specification to be cross platform compatible * Updating paths to be cross platform compatible * Update to OV 2023.0.2 * Cleanup of _NEW and _org files * Combined StableDiffusion engines into one module * Run Inference becomes Generate, Internal becomes Advanced. * Replaced model conversion with model download from hugging face, some change in directory structure, added canny-edge batch2, scribble batch1 and batch2 * fixed a bug in repo-id for HF download * bug fix around shutil.copytree * uncomment the delete HF model cache * Fixed few more bugs * Fixed a typo * Removed UniPCM scheduler from local file for all batch-size 2 controlnet * Fixed corrupt image issue with landscape and portrait models: * Moved NPU to INT8 and added LCM * Updated import of diffusion pipeline for diffusers 0.23.0 * Initial checkin of working LCM * Updated to OV 2023.1.0 and diffusers 0.23.0. Added accelerate * removed some debug statements. * Moving install to use requirements.txt to ease linux/windows parity Added activation/deactivation of gimpenv3 on Windows during install * Updates for the UI to hide non-needed elements for LCM * Removed old class, other LCM updates * Adding LCM Scheduler and removing unneeded prints. * Updated Latent_Consistency to SD_1.5_lcm * Removed HF pull of scheduler for LCM. Commented out scheduler log print for now, until i find a better way to do it. * updated LCM model dir to be in square_lcm * added lcm in model download * update tensorflow version for scan issue * update onnx version for scan issue * update README * Fixed tabs v spaces * Added model_setup to Linux install script. * Updated to be linux compatible. added functions, and put back the "all" option * Update README.md Fixed Linux instructions, other edits to add LCM as supported. * Update model_setup.py to remove token Models are now public and downloads tested with access_token = None * Fixed device list parsing due to bug found in systmed with dGPU * updated to match public repo * updated to match public repo * Initial commit * Rebase to http://github.com/intel/openvino-ai-plugins-gimp * removed gimpml dir, not needed. * Fixed installer location bug. * initial set of changes to support config files for models to determine device list * Adding driver detection for NPU * more updates for powermodes * fixed few issues, including revision * Adding LCM under my idsid * Updating LCM to use config.json and load blobs for NPU * Updating setup to point to my private repo for testing. * Removed blob and swap flags, as they are no longer needed. * Removed blob and swap flags, as they are no longer needed. * Updated links in README.md * Removing current direcotry echo as not needed. * Initial checkin of SD3 support * Update power mode support checking. Still needs work, though... * Fixing typo in MTL NPU arch naming * Adding config file and code to download models from the revision adding ubuntu distro check * Updating model setup for LNL. * SAI Logo adding for SD3.0 * Bug fixes for Linux. * Added default for config.json, and better dGPU handling * trimming down plugin requirements * Pulling updates from opensource. * Rolled back SAI logo addition * Moved spinner to avoid horizontal shifts in the UI. Moved the license to over by the new logo location. * Update model_setup.py with spectral comment * Update model_setup.py * Update model_setup.py * Update model_setup.py * Update model_setup.py * Update model_setup_config.json * fixed typo * Removed repeated code. * Update for testing configs * Fixed issues with platform detection. * fixing tab alignment * Fixing case issue with SD which was root cause of neg prompt still showing up in LCM menu. * update for merge to main. * Updating testcases * removing unneeded files * Updated test case with all SD models. * Reduced redunant redundancies. * Aligned around image instead of init_image to be consistent with other controlnet engines * Added more engine support * Added FP16 support for NPU * fixing powermode ui logic * Added Decoder info for LCM model. * updating result naming to make comparing the same seed images easier. * Adding blob compilation to model setup * remove key from model setup * Removing chmod call for deprecated features. * update model_setup to compile 2T for Unet INT8 * add CLI options for model weights directory location * removed reliance on driver versions. * removed win32com which is no longer needed. * Create README.md * Update README.md * Model Loading and Compiling are multithreaded, mainly on SD1.5 INT8 * Adding multithreading for compile and load * tweaks for perf * adding back in exit * Fixing naming * Syncing with internal snapshot * Syncing with internal snapshot * Merge WW30 Snapshot into Main (#38) * Fixing initilization bug * Adding better default config.json support and fixed a bug in the device_list parsing in the case there are more than one GPU in the system. * updating dgpu device choosing logic * Bug fixes for Linux. * Fixed paths * update branch info for LCM for Linux * Fix issue with Vulkan and OV giving more than 1 GPU. * light refactoring, and removing NPU from SuperRes device list (for now). * created function for handling inference result * aligned on lowercase sd_, SD UI tweaks. * Deleting unneeded files. * Reorganzing tree to make installation easier. * Add workaround for caching issue in GPU for SR * updated path due to dir structure changes. * updated to reflect case changes. * Updated windows install. Plugin path is no longer needed to be modified. * Refactor install.sh * Updated documentation to reflect Windows install changes. * Major overhall of installation. Blobs are now created after model download. * Updated windows install documenation * More documenation updates * updated UI elements * bug fixes for SR * syncing with v2.99-R3 * Adding support for comma separated list * Spaces are better than commas * Simplifying flow by not giving option to skip setup. Users can just exit right away, if needed * Updated install flow * switched from xcopy to robocopy * removed unneeded lines * removing cls for now * whitespace changes * remove files not needed. * Renamed files to be consistent with pythonic module nameing convention. * Add model setup back to install * Fixed logo paths for inclusion * more dash to underscore fixes * updated complete install * updating linux installer * fixed missed merge conflict * Whitespace changes. * added back exit * Removing tile specific config for compilation. now using default. * Needed to be recongnized as a module * Removing unused files * Fixed logo paths * updating testcase to align with new module organization. * Updated documentation to reflect 2.99.16 and new model setup flow. * Updated documentation to reflect 2.99.16 and new model setup flow. * updating screenshot * Resizing and removing figs not needed. * Update user_guide_for_windows_users.md * Fixing Super Resolution naming. * Model Loading and Compiling are multithreaded, mainly on SD1.5 INT8 * Adding multithreading for model compilation and load. * removed blank line at the start of the file. * Removed unused function. * fixed botched merge. * fixed botched merge * Bug fixes * Removing redundant print * minor update * Fixed FP16 powermode issue --------- Co-authored-by: arisha07 <arisha.kumar@intel.com> Co-authored-by: Siwoo Park <spdumie@gmail.com> * Correcting capitalization * Npu turbo feature (#40) * Fixing initilization bug * Adding better default config.json support and fixed a bug in the device_list parsing in the case there are more than one GPU in the system. * updating dgpu device choosing logic * Bug fixes for Linux. * Fixed paths * update branch info for LCM for Linux * Fix issue with Vulkan and OV giving more than 1 GPU. * light refactoring, and removing NPU from SuperRes device list (for now). * created function for handling inference result * aligned on lowercase sd_, SD UI tweaks. * Deleting unneeded files. * Reorganzing tree to make installation easier. * Add workaround for caching issue in GPU for SR * updated path due to dir structure changes. * updated to reflect case changes. * Updated windows install. Plugin path is no longer needed to be modified. * Refactor install.sh * Updated documentation to reflect Windows install changes. * Major overhall of installation. Blobs are now created after model download. * Updated windows install documenation * More documenation updates * updated UI elements * bug fixes for SR * syncing with v2.99-R3 * Adding support for comma separated list * Spaces are better than commas * Simplifying flow by not giving option to skip setup. Users can just exit right away, if needed * Updated install flow * switched from xcopy to robocopy * removed unneeded lines * removing cls for now * whitespace changes * remove files not needed. * Renamed files to be consistent with pythonic module nameing convention. * Add model setup back to install * Fixed logo paths for inclusion * more dash to underscore fixes * updated complete install * updating linux installer * fixed missed merge conflict * Whitespace changes. * added back exit * Removing tile specific config for compilation. now using default. * Needed to be recongnized as a module * Removing unused files * Fixed logo paths * updating testcase to align with new module organization. * Updated documentation to reflect 2.99.16 and new model setup flow. * Updated documentation to reflect 2.99.16 and new model setup flow. * updating screenshot * Resizing and removing figs not needed. * Update user_guide_for_windows_users.md * Fixing Super Resolution naming. * Model Loading and Compiling are multithreaded, mainly on SD1.5 INT8 * Adding multithreading for model compilation and load. * removed blank line at the start of the file. * Removed unused function. * fixed botched merge. * fixed botched merge * Bug fixes * Removing redundant print * minor update * Fixed FP16 powermode issue * Fixing issue with pytorch 2.4.0 * Added exit after opton 12. fixed ref-only download. * Adding turbo mode. * relocated art. * Adding wmi for driver version detection on Windows * Added platform info logging for easier tracking * Add back initial SD3.0 support. * Updated Turbo mode and removed Artwork which could cause issues on some systems. * Moving OV version to 2024.3.0 * Gating NPU turbo DEVICE_ARCHITECTURE. * Test case tweaks to add timestamps to images generated. * removing pip upgrade. may cause SSL errors. --------- Co-authored-by: arisha07 <arisha.kumar@intel.com> Co-authored-by: Siwoo Park <spdumie@gmail.com> * Fixing default steps and min guidance. * fixing NPU turbo to not fail if not enabled in the plugin * Adding flash SD3 and hardcoding dev version of OV (for now). * Fix sys.path extend calls to for openvino_utils/tools folder * Updating sd3 implementation from Alpha to sd3-medium * update default prompt * Set openvino release * Removing unused files. * freezing requirements.txt --------- Co-authored-by: Arisha Kumar <arisha.kumar@intel.com> Co-authored-by: RyanMetcalfeInt8 <107415876+RyanMetcalfeInt8@users.noreply.github.com> Co-authored-by: Luke Lin <luke1.lin@intel.com> Co-authored-by: ymangukiya <yamik.mangukiya@intel.com> Co-authored-by: nschaper-intel <neil.schaper@intel.com> Co-authored-by: Siwoo Park <spdumie@gmail.com> Co-authored-by: Metcalfe, Ryan <ryan.metcalfe@intel.com>
gblong1
added a commit
that referenced
this pull request
Sep 2, 2024
* Fix issue with Vulkan and OV giving more than 1 GPU. * light refactoring, and removing NPU from SuperRes device list (for now). * created function for handling inference result * aligned on lowercase sd_, SD UI tweaks. * Deleting unneeded files. * Reorganzing tree to make installation easier. * Add workaround for caching issue in GPU for SR * updated path due to dir structure changes. * updated to reflect case changes. * Updated windows install. Plugin path is no longer needed to be modified. * Refactor install.sh * Updated documentation to reflect Windows install changes. * Major overhall of installation. Blobs are now created after model download. * Updated windows install documenation * More documenation updates * updated UI elements * bug fixes for SR * Renamed files to be consistent with pythonic module nameing convention. * Add model setup back to install * Fixed logo paths for inclusion * more dash to underscore fixes * updated complete install * updating linux installer * Removing unused files * Fixed logo paths * Enabling multiple models for download. * V2.99 r3 staging (#126) * Adding multithreading for compile and load * tweaks for perf * adding back in exit * Fixing naming * Syncing with internal snapshot * Syncing with internal snapshot * Correcting capitalization * Doc update * Update user_guide_for_windows_users.md * Fixed model download bug. * Fix issue with torch 2.4.0 * Auto exit if a user chooses option 12. * Remove debug statements * V2.99 r3 staging update (#131) * Initial commit * Initial commit of gimp-ml with semantic seg powered by OV * Added OV based deblur plugin * Added super-resolution OV based plugin supports esrgan & sr_1033 * Initial version for OV Inpainting * Replaced checkboxes with drop down list & added edsr model support to superres * Added ov style transfer filter * Super-res changes * Adding weights folder * Added initial version of stable diffusion * automated stable difussion model paths * Initial commit of gimp-ov * Removed unwanted files * Removed unwanted files * Fixed semseg and removed unwanted code * Removed unwanted dependencies * Added screenshot and removed unwanted files * Updated Readme * Updated Readme * Updated Readme * Updated Readme * Updated Readme * Updated Readme * Updated Readme * Delete LICENSE * Added thirdparty license and copyrights notices * Create LICENSE.md * Updated Readme * Delete testscases/.ipynb_checkpoints directory * Updated Readme * Added missing gdown during install * Added missing gdown during install * Changed license to Apache * Removed VPU device from mainline and deleted deblur plugin * Removed unused function and files after checkmarx scan * Commented out the exc_info to fix the Information_Exporsure issue in checkmarx * Replaced gimpov from the entire code base * Updated the GUI screen shot for readme * Renamed gimpov folder * Replaced GIMP-OV to GIMP-OpenVINO & gimpopenvino * Removed md5 and html related blacklisted items for bandit * Removed use of pickle from the plugin infrastructure * Replace readlines from text with json format for semantic seg * Replaced readlines method with json * Updated OpenVino to 2022.3.0 * Updated transformer version * Added copyright header to all source files * staging for final upstream part1 * final staging part2 * Modify readme * modify readme * Added more gifs * replaced the links * updated readme * updated readme * updated readme * updated sem-seg gif * updated readme * updated readme * updated readme * updated readme * Added new web * Final push * Added in-painting to main branch of open-source * Added model conversion support for SD1.5 Inpainting * Added inital image from canvas support * Modified mask creation step, fixed bug in load model, updated readme * small readme update * small readme update * small readme update * small readme update * Added controlnet-openpose * First version of updated internal version with external & internal controlnet, external inpainting * Optimized pipeline - moving infer_request.wait() * updated pipeline to N=2 controlnet-pose IR * Added Super-Res workflow in SD for acer * Latest optimized pipeline wirh share_outputs = True etc. * updated pipeline to use ergan and set SR resolution to landscape 2240x1400 * keeping final cache.png image * updated to run esrgan on GPU * Added inpainting internal version and updated device list to show NPU instead of VPUX * updated transformer version and removed unwanted debug prints * Update stable-diffusion-ov-server.py * Added model caching for SR model to reduce the load time * Added model caching for SR model to reduce the load time * Added padding as input image is square and output landscape * fixed a bug in SR standalone plugin * Fixed a bug in style transfer and semseg * fixed progress bar update in controlnet-pose, added model caching for other plugins and updated model setup * Updates for VPUX/VPU to NPU transition * Removed direct SR support from SD gui for release * Added controlnet-canny internal blob support * Updates to the path specification to be cross platform compatible * Updating paths to be cross platform compatible * Update to OV 2023.0.2 * Cleanup of _NEW and _org files * Combined StableDiffusion engines into one module * Run Inference becomes Generate, Internal becomes Advanced. * Replaced model conversion with model download from hugging face, some change in directory structure, added canny-edge batch2, scribble batch1 and batch2 * fixed a bug in repo-id for HF download * bug fix around shutil.copytree * uncomment the delete HF model cache * Fixed few more bugs * Fixed a typo * Removed UniPCM scheduler from local file for all batch-size 2 controlnet * Fixed corrupt image issue with landscape and portrait models: * Moved NPU to INT8 and added LCM * Updated import of diffusion pipeline for diffusers 0.23.0 * Initial checkin of working LCM * Updated to OV 2023.1.0 and diffusers 0.23.0. Added accelerate * removed some debug statements. * Moving install to use requirements.txt to ease linux/windows parity Added activation/deactivation of gimpenv3 on Windows during install * Updates for the UI to hide non-needed elements for LCM * Removed old class, other LCM updates * Adding LCM Scheduler and removing unneeded prints. * Updated Latent_Consistency to SD_1.5_lcm * Removed HF pull of scheduler for LCM. Commented out scheduler log print for now, until i find a better way to do it. * updated LCM model dir to be in square_lcm * added lcm in model download * update tensorflow version for scan issue * update onnx version for scan issue * update README * Fixed tabs v spaces * Added model_setup to Linux install script. * Updated to be linux compatible. added functions, and put back the "all" option * Update README.md Fixed Linux instructions, other edits to add LCM as supported. * Update model_setup.py to remove token Models are now public and downloads tested with access_token = None * Fixed device list parsing due to bug found in systmed with dGPU * updated to match public repo * updated to match public repo * Initial commit * Rebase to http://github.com/intel/openvino-ai-plugins-gimp * removed gimpml dir, not needed. * Fixed installer location bug. * initial set of changes to support config files for models to determine device list * Adding driver detection for NPU * more updates for powermodes * fixed few issues, including revision * Adding LCM under my idsid * Updating LCM to use config.json and load blobs for NPU * Updating setup to point to my private repo for testing. * Removed blob and swap flags, as they are no longer needed. * Removed blob and swap flags, as they are no longer needed. * Updated links in README.md * Removing current direcotry echo as not needed. * Initial checkin of SD3 support * Update power mode support checking. Still needs work, though... * Fixing typo in MTL NPU arch naming * Adding config file and code to download models from the revision adding ubuntu distro check * Updating model setup for LNL. * SAI Logo adding for SD3.0 * Bug fixes for Linux. * Added default for config.json, and better dGPU handling * trimming down plugin requirements * Pulling updates from opensource. * Rolled back SAI logo addition * Moved spinner to avoid horizontal shifts in the UI. Moved the license to over by the new logo location. * Update model_setup.py with spectral comment * Update model_setup.py * Update model_setup.py * Update model_setup.py * Update model_setup.py * Update model_setup_config.json * fixed typo * Removed repeated code. * Update for testing configs * Fixed issues with platform detection. * fixing tab alignment * Fixing case issue with SD which was root cause of neg prompt still showing up in LCM menu. * update for merge to main. * Updating testcases * removing unneeded files * Updated test case with all SD models. * Reduced redunant redundancies. * Aligned around image instead of init_image to be consistent with other controlnet engines * Added more engine support * Added FP16 support for NPU * fixing powermode ui logic * Added Decoder info for LCM model. * updating result naming to make comparing the same seed images easier. * Adding blob compilation to model setup * remove key from model setup * Removing chmod call for deprecated features. * update model_setup to compile 2T for Unet INT8 * add CLI options for model weights directory location * removed reliance on driver versions. * removed win32com which is no longer needed. * Create README.md * Update README.md * Model Loading and Compiling are multithreaded, mainly on SD1.5 INT8 * Adding multithreading for compile and load * tweaks for perf * adding back in exit * Fixing naming * Syncing with internal snapshot * Syncing with internal snapshot * Merge WW30 Snapshot into Main (#38) * Fixing initilization bug * Adding better default config.json support and fixed a bug in the device_list parsing in the case there are more than one GPU in the system. * updating dgpu device choosing logic * Bug fixes for Linux. * Fixed paths * update branch info for LCM for Linux * Fix issue with Vulkan and OV giving more than 1 GPU. * light refactoring, and removing NPU from SuperRes device list (for now). * created function for handling inference result * aligned on lowercase sd_, SD UI tweaks. * Deleting unneeded files. * Reorganzing tree to make installation easier. * Add workaround for caching issue in GPU for SR * updated path due to dir structure changes. * updated to reflect case changes. * Updated windows install. Plugin path is no longer needed to be modified. * Refactor install.sh * Updated documentation to reflect Windows install changes. * Major overhall of installation. Blobs are now created after model download. * Updated windows install documenation * More documenation updates * updated UI elements * bug fixes for SR * syncing with v2.99-R3 * Adding support for comma separated list * Spaces are better than commas * Simplifying flow by not giving option to skip setup. Users can just exit right away, if needed * Updated install flow * switched from xcopy to robocopy * removed unneeded lines * removing cls for now * whitespace changes * remove files not needed. * Renamed files to be consistent with pythonic module nameing convention. * Add model setup back to install * Fixed logo paths for inclusion * more dash to underscore fixes * updated complete install * updating linux installer * fixed missed merge conflict * Whitespace changes. * added back exit * Removing tile specific config for compilation. now using default. * Needed to be recongnized as a module * Removing unused files * Fixed logo paths * updating testcase to align with new module organization. * Updated documentation to reflect 2.99.16 and new model setup flow. * Updated documentation to reflect 2.99.16 and new model setup flow. * updating screenshot * Resizing and removing figs not needed. * Update user_guide_for_windows_users.md * Fixing Super Resolution naming. * Model Loading and Compiling are multithreaded, mainly on SD1.5 INT8 * Adding multithreading for model compilation and load. * removed blank line at the start of the file. * Removed unused function. * fixed botched merge. * fixed botched merge * Bug fixes * Removing redundant print * minor update * Fixed FP16 powermode issue --------- Co-authored-by: arisha07 <arisha.kumar@intel.com> Co-authored-by: Siwoo Park <spdumie@gmail.com> * Correcting capitalization * Npu turbo feature (#40) * Fixing initilization bug * Adding better default config.json support and fixed a bug in the device_list parsing in the case there are more than one GPU in the system. * updating dgpu device choosing logic * Bug fixes for Linux. * Fixed paths * update branch info for LCM for Linux * Fix issue with Vulkan and OV giving more than 1 GPU. * light refactoring, and removing NPU from SuperRes device list (for now). * created function for handling inference result * aligned on lowercase sd_, SD UI tweaks. * Deleting unneeded files. * Reorganzing tree to make installation easier. * Add workaround for caching issue in GPU for SR * updated path due to dir structure changes. * updated to reflect case changes. * Updated windows install. Plugin path is no longer needed to be modified. * Refactor install.sh * Updated documentation to reflect Windows install changes. * Major overhall of installation. Blobs are now created after model download. * Updated windows install documenation * More documenation updates * updated UI elements * bug fixes for SR * syncing with v2.99-R3 * Adding support for comma separated list * Spaces are better than commas * Simplifying flow by not giving option to skip setup. Users can just exit right away, if needed * Updated install flow * switched from xcopy to robocopy * removed unneeded lines * removing cls for now * whitespace changes * remove files not needed. * Renamed files to be consistent with pythonic module nameing convention. * Add model setup back to install * Fixed logo paths for inclusion * more dash to underscore fixes * updated complete install * updating linux installer * fixed missed merge conflict * Whitespace changes. * added back exit * Removing tile specific config for compilation. now using default. * Needed to be recongnized as a module * Removing unused files * Fixed logo paths * updating testcase to align with new module organization. * Updated documentation to reflect 2.99.16 and new model setup flow. * Updated documentation to reflect 2.99.16 and new model setup flow. * updating screenshot * Resizing and removing figs not needed. * Update user_guide_for_windows_users.md * Fixing Super Resolution naming. * Model Loading and Compiling are multithreaded, mainly on SD1.5 INT8 * Adding multithreading for model compilation and load. * removed blank line at the start of the file. * Removed unused function. * fixed botched merge. * fixed botched merge * Bug fixes * Removing redundant print * minor update * Fixed FP16 powermode issue * Fixing issue with pytorch 2.4.0 * Added exit after opton 12. fixed ref-only download. * Adding turbo mode. * relocated art. * Adding wmi for driver version detection on Windows * Added platform info logging for easier tracking * Add back initial SD3.0 support. * Updated Turbo mode and removed Artwork which could cause issues on some systems. * Moving OV version to 2024.3.0 * Gating NPU turbo DEVICE_ARCHITECTURE. * Test case tweaks to add timestamps to images generated. * removing pip upgrade. may cause SSL errors. --------- Co-authored-by: arisha07 <arisha.kumar@intel.com> Co-authored-by: Siwoo Park <spdumie@gmail.com> * Fixing default steps and min guidance. * fixing NPU turbo to not fail if not enabled in the plugin * Adding flash SD3 and hardcoding dev version of OV (for now). * Fix sys.path extend calls to for openvino_utils/tools folder * Updating sd3 implementation from Alpha to sd3-medium * update default prompt * Set openvino release * Removing unused files. * freezing requirements.txt --------- Co-authored-by: Arisha Kumar <arisha.kumar@intel.com> Co-authored-by: RyanMetcalfeInt8 <107415876+RyanMetcalfeInt8@users.noreply.github.com> Co-authored-by: Luke Lin <luke1.lin@intel.com> Co-authored-by: ymangukiya <yamik.mangukiya@intel.com> Co-authored-by: nschaper-intel <neil.schaper@intel.com> Co-authored-by: Siwoo Park <spdumie@gmail.com> Co-authored-by: Metcalfe, Ryan <ryan.metcalfe@intel.com> * Add tile configuration to model setup * updating testcases with new default prompt and random seeds beyond the first image. * Adjusting model to IP mapping * Added guidance scale param * Removed unnecessary print. * Fixing git clone command. * updating threshold * updating tools path * remove unneeded print. * fixed model configs for FP16 and INT8 * typo and bug fix in controlnet models * Removing unneeded lines * I am once again updating the profile IP mapping. * fixed seed for SD3 * Fixed missing zero * Update model configs. * Adjust init image checkbox to not display for LCM. * freezing torch and torchvision versions. * Adapted stable_diffusion_engine.py and stable_diffusion_engine_tc.py for basic Linux (Ubuntu 22) support * Adding W8A16 support --------- Co-authored-by: Arisha Kumar <arisha.kumar@intel.com> Co-authored-by: RyanMetcalfeInt8 <107415876+RyanMetcalfeInt8@users.noreply.github.com> Co-authored-by: Luke Lin <luke1.lin@intel.com> Co-authored-by: ymangukiya <yamik.mangukiya@intel.com> Co-authored-by: nschaper-intel <neil.schaper@intel.com> Co-authored-by: Siwoo Park <spdumie@gmail.com> Co-authored-by: Metcalfe, Ryan <ryan.metcalfe@intel.com> Co-authored-by: Rafael Lago <rafael.lago@intel.com>
gblong1
added a commit
that referenced
this pull request
Sep 19, 2024
* Fixing initilization bug * Adding better default config.json support and fixed a bug in the device_list parsing in the case there are more than one GPU in the system. * updating dgpu device choosing logic * Bug fixes for Linux. * Fixed paths * update branch info for LCM for Linux * Fix issue with Vulkan and OV giving more than 1 GPU. * light refactoring, and removing NPU from SuperRes device list (for now). * created function for handling inference result * aligned on lowercase sd_, SD UI tweaks. * Deleting unneeded files. * Reorganzing tree to make installation easier. * Add workaround for caching issue in GPU for SR * updated path due to dir structure changes. * updated to reflect case changes. * Updated windows install. Plugin path is no longer needed to be modified. * Refactor install.sh * Updated documentation to reflect Windows install changes. * Major overhall of installation. Blobs are now created after model download. * Updated windows install documenation * More documenation updates * updated UI elements * bug fixes for SR * syncing with v2.99-R3 * Adding support for comma separated list * Spaces are better than commas * Simplifying flow by not giving option to skip setup. Users can just exit right away, if needed * Updated install flow * switched from xcopy to robocopy * removed unneeded lines * removing cls for now * whitespace changes * remove files not needed. * Renamed files to be consistent with pythonic module nameing convention. * Add model setup back to install * Fixed logo paths for inclusion * more dash to underscore fixes * updated complete install * updating linux installer * fixed missed merge conflict * Whitespace changes. * added back exit * Removing tile specific config for compilation. now using default. * Needed to be recongnized as a module * Removing unused files * Fixed logo paths * updating testcase to align with new module organization. * Updated documentation to reflect 2.99.16 and new model setup flow. * Updated documentation to reflect 2.99.16 and new model setup flow. * updating screenshot * Resizing and removing figs not needed. * Update user_guide_for_windows_users.md * Enabling multiple models for download. * Fixing Super Resolution naming. * Model Loading and Compiling are multithreaded, mainly on SD1.5 INT8 * Adding multithreading for model compilation and load. * removed blank line at the start of the file. * Removed unused function. * fixed botched merge. * fixed botched merge * Bug fixes * Removing redundant print * minor update * Fixed FP16 powermode issue * V2.99 r3 staging (#126) * Adding multithreading for compile and load * tweaks for perf * adding back in exit * Fixing naming * Syncing with internal snapshot * Syncing with internal snapshot * Correcting capitalization * Doc update * Update user_guide_for_windows_users.md * Fixed model download bug. * Fix issue with torch 2.4.0 * Auto exit if a user chooses option 12. * Fixing issue with pytorch 2.4.0 * Remove debug statements * Added exit after opton 12. fixed ref-only download. * fixing NPU turbo to not fail if not enabled in the plugin * Adding flash SD3 and hardcoding dev version of OV (for now). * Updating sd3 implementation from Alpha to sd3-medium * Stable Diffusion 3 Medium support * Removing SD2.1 and adding DPU groups config for NPU model compile. * updating default prompt * Correcting SD3 paths * V2.99 r3 staging update (#131) * Initial commit * Initial commit of gimp-ml with semantic seg powered by OV * Added OV based deblur plugin * Added super-resolution OV based plugin supports esrgan & sr_1033 * Initial version for OV Inpainting * Replaced checkboxes with drop down list & added edsr model support to superres * Added ov style transfer filter * Super-res changes * Adding weights folder * Added initial version of stable diffusion * automated stable difussion model paths * Initial commit of gimp-ov * Removed unwanted files * Removed unwanted files * Fixed semseg and removed unwanted code * Removed unwanted dependencies * Added screenshot and removed unwanted files * Updated Readme * Updated Readme * Updated Readme * Updated Readme * Updated Readme * Updated Readme * Updated Readme * Delete LICENSE * Added thirdparty license and copyrights notices * Create LICENSE.md * Updated Readme * Delete testscases/.ipynb_checkpoints directory * Updated Readme * Added missing gdown during install * Added missing gdown during install * Changed license to Apache * Removed VPU device from mainline and deleted deblur plugin * Removed unused function and files after checkmarx scan * Commented out the exc_info to fix the Information_Exporsure issue in checkmarx * Replaced gimpov from the entire code base * Updated the GUI screen shot for readme * Renamed gimpov folder * Replaced GIMP-OV to GIMP-OpenVINO & gimpopenvino * Removed md5 and html related blacklisted items for bandit * Removed use of pickle from the plugin infrastructure * Replace readlines from text with json format for semantic seg * Replaced readlines method with json * Updated OpenVino to 2022.3.0 * Updated transformer version * Added copyright header to all source files * staging for final upstream part1 * final staging part2 * Modify readme * modify readme * Added more gifs * replaced the links * updated readme * updated readme * updated readme * updated sem-seg gif * updated readme * updated readme * updated readme * updated readme * Added new web * Final push * Added in-painting to main branch of open-source * Added model conversion support for SD1.5 Inpainting * Added inital image from canvas support * Modified mask creation step, fixed bug in load model, updated readme * small readme update * small readme update * small readme update * small readme update * Added controlnet-openpose * First version of updated internal version with external & internal controlnet, external inpainting * Optimized pipeline - moving infer_request.wait() * updated pipeline to N=2 controlnet-pose IR * Added Super-Res workflow in SD for acer * Latest optimized pipeline wirh share_outputs = True etc. * updated pipeline to use ergan and set SR resolution to landscape 2240x1400 * keeping final cache.png image * updated to run esrgan on GPU * Added inpainting internal version and updated device list to show NPU instead of VPUX * updated transformer version and removed unwanted debug prints * Update stable-diffusion-ov-server.py * Added model caching for SR model to reduce the load time * Added model caching for SR model to reduce the load time * Added padding as input image is square and output landscape * fixed a bug in SR standalone plugin * Fixed a bug in style transfer and semseg * fixed progress bar update in controlnet-pose, added model caching for other plugins and updated model setup * Updates for VPUX/VPU to NPU transition * Removed direct SR support from SD gui for release * Added controlnet-canny internal blob support * Updates to the path specification to be cross platform compatible * Updating paths to be cross platform compatible * Update to OV 2023.0.2 * Cleanup of _NEW and _org files * Combined StableDiffusion engines into one module * Run Inference becomes Generate, Internal becomes Advanced. * Replaced model conversion with model download from hugging face, some change in directory structure, added canny-edge batch2, scribble batch1 and batch2 * fixed a bug in repo-id for HF download * bug fix around shutil.copytree * uncomment the delete HF model cache * Fixed few more bugs * Fixed a typo * Removed UniPCM scheduler from local file for all batch-size 2 controlnet * Fixed corrupt image issue with landscape and portrait models: * Moved NPU to INT8 and added LCM * Updated import of diffusion pipeline for diffusers 0.23.0 * Initial checkin of working LCM * Updated to OV 2023.1.0 and diffusers 0.23.0. Added accelerate * removed some debug statements. * Moving install to use requirements.txt to ease linux/windows parity Added activation/deactivation of gimpenv3 on Windows during install * Updates for the UI to hide non-needed elements for LCM * Removed old class, other LCM updates * Adding LCM Scheduler and removing unneeded prints. * Updated Latent_Consistency to SD_1.5_lcm * Removed HF pull of scheduler for LCM. Commented out scheduler log print for now, until i find a better way to do it. * updated LCM model dir to be in square_lcm * added lcm in model download * update tensorflow version for scan issue * update onnx version for scan issue * update README * Fixed tabs v spaces * Added model_setup to Linux install script. * Updated to be linux compatible. added functions, and put back the "all" option * Update README.md Fixed Linux instructions, other edits to add LCM as supported. * Update model_setup.py to remove token Models are now public and downloads tested with access_token = None * Fixed device list parsing due to bug found in systmed with dGPU * updated to match public repo * updated to match public repo * Initial commit * Rebase to http://github.com/intel/openvino-ai-plugins-gimp * removed gimpml dir, not needed. * Fixed installer location bug. * initial set of changes to support config files for models to determine device list * Adding driver detection for NPU * more updates for powermodes * fixed few issues, including revision * Adding LCM under my idsid * Updating LCM to use config.json and load blobs for NPU * Updating setup to point to my private repo for testing. * Removed blob and swap flags, as they are no longer needed. * Removed blob and swap flags, as they are no longer needed. * Updated links in README.md * Removing current direcotry echo as not needed. * Initial checkin of SD3 support * Update power mode support checking. Still needs work, though... * Fixing typo in MTL NPU arch naming * Adding config file and code to download models from the revision adding ubuntu distro check * Updating model setup for LNL. * SAI Logo adding for SD3.0 * Bug fixes for Linux. * Added default for config.json, and better dGPU handling * trimming down plugin requirements * Pulling updates from opensource. * Rolled back SAI logo addition * Moved spinner to avoid horizontal shifts in the UI. Moved the license to over by the new logo location. * Update model_setup.py with spectral comment * Update model_setup.py * Update model_setup.py * Update model_setup.py * Update model_setup.py * Update model_setup_config.json * fixed typo * Removed repeated code. * Update for testing configs * Fixed issues with platform detection. * fixing tab alignment * Fixing case issue with SD which was root cause of neg prompt still showing up in LCM menu. * update for merge to main. * Updating testcases * removing unneeded files * Updated test case with all SD models. * Reduced redunant redundancies. * Aligned around image instead of init_image to be consistent with other controlnet engines * Added more engine support * Added FP16 support for NPU * fixing powermode ui logic * Added Decoder info for LCM model. * updating result naming to make comparing the same seed images easier. * Adding blob compilation to model setup * remove key from model setup * Removing chmod call for deprecated features. * update model_setup to compile 2T for Unet INT8 * add CLI options for model weights directory location * removed reliance on driver versions. * removed win32com which is no longer needed. * Create README.md * Update README.md * Model Loading and Compiling are multithreaded, mainly on SD1.5 INT8 * Adding multithreading for compile and load * tweaks for perf * adding back in exit * Fixing naming * Syncing with internal snapshot * Syncing with internal snapshot * Merge WW30 Snapshot into Main (#38) * Fixing initilization bug * Adding better default config.json support and fixed a bug in the device_list parsing in the case there are more than one GPU in the system. * updating dgpu device choosing logic * Bug fixes for Linux. * Fixed paths * update branch info for LCM for Linux * Fix issue with Vulkan and OV giving more than 1 GPU. * light refactoring, and removing NPU from SuperRes device list (for now). * created function for handling inference result * aligned on lowercase sd_, SD UI tweaks. * Deleting unneeded files. * Reorganzing tree to make installation easier. * Add workaround for caching issue in GPU for SR * updated path due to dir structure changes. * updated to reflect case changes. * Updated windows install. Plugin path is no longer needed to be modified. * Refactor install.sh * Updated documentation to reflect Windows install changes. * Major overhall of installation. Blobs are now created after model download. * Updated windows install documenation * More documenation updates * updated UI elements * bug fixes for SR * syncing with v2.99-R3 * Adding support for comma separated list * Spaces are better than commas * Simplifying flow by not giving option to skip setup. Users can just exit right away, if needed * Updated install flow * switched from xcopy to robocopy * removed unneeded lines * removing cls for now * whitespace changes * remove files not needed. * Renamed files to be consistent with pythonic module nameing convention. * Add model setup back to install * Fixed logo paths for inclusion * more dash to underscore fixes * updated complete install * updating linux installer * fixed missed merge conflict * Whitespace changes. * added back exit * Removing tile specific config for compilation. now using default. * Needed to be recongnized as a module * Removing unused files * Fixed logo paths * updating testcase to align with new module organization. * Updated documentation to reflect 2.99.16 and new model setup flow. * Updated documentation to reflect 2.99.16 and new model setup flow. * updating screenshot * Resizing and removing figs not needed. * Update user_guide_for_windows_users.md * Fixing Super Resolution naming. * Model Loading and Compiling are multithreaded, mainly on SD1.5 INT8 * Adding multithreading for model compilation and load. * removed blank line at the start of the file. * Removed unused function. * fixed botched merge. * fixed botched merge * Bug fixes * Removing redundant print * minor update * Fixed FP16 powermode issue --------- Co-authored-by: arisha07 <arisha.kumar@intel.com> Co-authored-by: Siwoo Park <spdumie@gmail.com> * Correcting capitalization * Npu turbo feature (#40) * Fixing initilization bug * Adding better default config.json support and fixed a bug in the device_list parsing in the case there are more than one GPU in the system. * updating dgpu device choosing logic * Bug fixes for Linux. * Fixed paths * update branch info for LCM for Linux * Fix issue with Vulkan and OV giving more than 1 GPU. * light refactoring, and removing NPU from SuperRes device list (for now). * created function for handling inference result * aligned on lowercase sd_, SD UI tweaks. * Deleting unneeded files. * Reorganzing tree to make installation easier. * Add workaround for caching issue in GPU for SR * updated path due to dir structure changes. * updated to reflect case changes. * Updated windows install. Plugin path is no longer needed to be modified. * Refactor install.sh * Updated documentation to reflect Windows install changes. * Major overhall of installation. Blobs are now created after model download. * Updated windows install documenation * More documenation updates * updated UI elements * bug fixes for SR * syncing with v2.99-R3 * Adding support for comma separated list * Spaces are better than commas * Simplifying flow by not giving option to skip setup. Users can just exit right away, if needed * Updated install flow * switched from xcopy to robocopy * removed unneeded lines * removing cls for now * whitespace changes * remove files not needed. * Renamed files to be consistent with pythonic module nameing convention. * Add model setup back to install * Fixed logo paths for inclusion * more dash to underscore fixes * updated complete install * updating linux installer * fixed missed merge conflict * Whitespace changes. * added back exit * Removing tile specific config for compilation. now using default. * Needed to be recongnized as a module * Removing unused files * Fixed logo paths * updating testcase to align with new module organization. * Updated documentation to reflect 2.99.16 and new model setup flow. * Updated documentation to reflect 2.99.16 and new model setup flow. * updating screenshot * Resizing and removing figs not needed. * Update user_guide_for_windows_users.md * Fixing Super Resolution naming. * Model Loading and Compiling are multithreaded, mainly on SD1.5 INT8 * Adding multithreading for model compilation and load. * removed blank line at the start of the file. * Removed unused function. * fixed botched merge. * fixed botched merge * Bug fixes * Removing redundant print * minor update * Fixed FP16 powermode issue * Fixing issue with pytorch 2.4.0 * Added exit after opton 12. fixed ref-only download. * Adding turbo mode. * relocated art. * Adding wmi for driver version detection on Windows * Added platform info logging for easier tracking * Add back initial SD3.0 support. * Updated Turbo mode and removed Artwork which could cause issues on some systems. * Moving OV version to 2024.3.0 * Gating NPU turbo DEVICE_ARCHITECTURE. * Test case tweaks to add timestamps to images generated. * removing pip upgrade. may cause SSL errors. --------- Co-authored-by: arisha07 <arisha.kumar@intel.com> Co-authored-by: Siwoo Park <spdumie@gmail.com> * Fixing default steps and min guidance. * fixing NPU turbo to not fail if not enabled in the plugin * Adding flash SD3 and hardcoding dev version of OV (for now). * Fix sys.path extend calls to for openvino_utils/tools folder * Updating sd3 implementation from Alpha to sd3-medium * update default prompt * Set openvino release * Removing unused files. * freezing requirements.txt --------- Co-authored-by: Arisha Kumar <arisha.kumar@intel.com> Co-authored-by: RyanMetcalfeInt8 <107415876+RyanMetcalfeInt8@users.noreply.github.com> Co-authored-by: Luke Lin <luke1.lin@intel.com> Co-authored-by: ymangukiya <yamik.mangukiya@intel.com> Co-authored-by: nschaper-intel <neil.schaper@intel.com> Co-authored-by: Siwoo Park <spdumie@gmail.com> Co-authored-by: Metcalfe, Ryan <ryan.metcalfe@intel.com> * config causing issues on some machines. * Need the nightly build for NPU Turbo * Freezing requirements. * updating testcases with new default prompt and random seeds beyond the first image. * Adding NPU Arch detection * removed unused function * Add tile configuration to model setup * Add tile configuration to model setup * updating testcases with new default prompt and random seeds beyond the first image. * Adjusting model to IP mapping * Added guidance scale param * Removed unnecessary print. * Fixing git clone command. * updating threshold * updating tools path * remove unneeded print. * Syncing with v2.99-R3-staging * fixed model configs for FP16 and INT8 * fixed model configs for FP16 and INT8 * typo and bug fix in controlnet models * Once again, re-assigning profile mappings. * fixed seed issue * Fix threashold value. * Adapted stable_diffusion_engine.py and stable_diffusion_engine_tc.py for basic Linux (Ubuntu 22) support * Fixing torch to exactly 2.3.1 * Adjust init image checkbox to not display for LCM. * Update model configs. * freezing torchvision version. --------- Co-authored-by: arisha07 <arisha.kumar@intel.com> Co-authored-by: Siwoo Park <spdumie@gmail.com> Co-authored-by: RyanMetcalfeInt8 <107415876+RyanMetcalfeInt8@users.noreply.github.com> Co-authored-by: Luke Lin <luke1.lin@intel.com> Co-authored-by: ymangukiya <yamik.mangukiya@intel.com> Co-authored-by: nschaper-intel <neil.schaper@intel.com> Co-authored-by: Metcalfe, Ryan <ryan.metcalfe@intel.com> Co-authored-by: Rafael Lago <rafael.lago@intel.com>
gblong1
added a commit
that referenced
this pull request
Sep 20, 2024
* Added new web * Final push * Added in-painting to main branch of open-source * Added model conversion support for SD1.5 Inpainting * Added inital image from canvas support * Modified mask creation step, fixed bug in load model, updated readme * small readme update * small readme update * small readme update * small readme update * Added controlnet-openpose * First version of updated internal version with external & internal controlnet, external inpainting * Optimized pipeline - moving infer_request.wait() * updated pipeline to N=2 controlnet-pose IR * Added Super-Res workflow in SD for acer * Latest optimized pipeline wirh share_outputs = True etc. * updated pipeline to use ergan and set SR resolution to landscape 2240x1400 * keeping final cache.png image * updated to run esrgan on GPU * Added inpainting internal version and updated device list to show NPU instead of VPUX * updated transformer version and removed unwanted debug prints * Update stable-diffusion-ov-server.py * Added model caching for SR model to reduce the load time * Added model caching for SR model to reduce the load time * Added padding as input image is square and output landscape * fixed a bug in SR standalone plugin * Fixed a bug in style transfer and semseg * fixed progress bar update in controlnet-pose, added model caching for other plugins and updated model setup * Updates for VPUX/VPU to NPU transition * Removed direct SR support from SD gui for release * Added controlnet-canny internal blob support * Updates to the path specification to be cross platform compatible * Updating paths to be cross platform compatible * Update to OV 2023.0.2 * Cleanup of _NEW and _org files * Combined StableDiffusion engines into one module * Run Inference becomes Generate, Internal becomes Advanced. * Replaced model conversion with model download from hugging face, some change in directory structure, added canny-edge batch2, scribble batch1 and batch2 * fixed a bug in repo-id for HF download * bug fix around shutil.copytree * uncomment the delete HF model cache * Fixed few more bugs * Fixed a typo * Removed UniPCM scheduler from local file for all batch-size 2 controlnet * Fixed corrupt image issue with landscape and portrait models: * Moved NPU to INT8 and added LCM * Updated import of diffusion pipeline for diffusers 0.23.0 * Initial checkin of working LCM * Updated to OV 2023.1.0 and diffusers 0.23.0. Added accelerate * removed some debug statements. * Moving install to use requirements.txt to ease linux/windows parity Added activation/deactivation of gimpenv3 on Windows during install * Updates for the UI to hide non-needed elements for LCM * Removed old class, other LCM updates * Adding LCM Scheduler and removing unneeded prints. * Updated Latent_Consistency to SD_1.5_lcm * Removed HF pull of scheduler for LCM. Commented out scheduler log print for now, until i find a better way to do it. * updated LCM model dir to be in square_lcm * added lcm in model download * update tensorflow version for scan issue * update onnx version for scan issue * update README * Fixed tabs v spaces * Added model_setup to Linux install script. * Updated to be linux compatible. added functions, and put back the "all" option * Update README.md Fixed Linux instructions, other edits to add LCM as supported. * Update model_setup.py to remove token Models are now public and downloads tested with access_token = None * Fixed device list parsing due to bug found in systmed with dGPU * updated to match public repo * updated to match public repo * Initial commit * Rebase to http://github.com/intel/openvino-ai-plugins-gimp * removed gimpml dir, not needed. * Fixed installer location bug. * initial set of changes to support config files for models to determine device list * Adding driver detection for NPU * more updates for powermodes * fixed few issues, including revision * Adding LCM under my idsid * Updating LCM to use config.json and load blobs for NPU * Updating setup to point to my private repo for testing. * Removed blob and swap flags, as they are no longer needed. * Removed blob and swap flags, as they are no longer needed. * Updated links in README.md * Removing current direcotry echo as not needed. * Initial checkin of SD3 support * Update power mode support checking. Still needs work, though... * Fixing typo in MTL NPU arch naming * Adding config file and code to download models from the revision adding ubuntu distro check * Updating model setup for LNL. * SAI Logo adding for SD3.0 * Bug fixes for Linux. * Added default for config.json, and better dGPU handling * trimming down plugin requirements * Pulling updates from opensource. * Rolled back SAI logo addition * Moved spinner to avoid horizontal shifts in the UI. Moved the license to over by the new logo location. * Update model_setup.py with spectral comment * Update model_setup.py * Update model_setup.py * Update model_setup.py * Update model_setup.py * Update model_setup_config.json * fixed typo * Removed repeated code. * Update for testing configs * Fixed issues with platform detection. * fixing tab alignment * Fixing case issue with SD which was root cause of neg prompt still showing up in LCM menu. * update for merge to main. * Updating testcases * removing unneeded files * Updated test case with all SD models. * Reduced redunant redundancies. * Aligned around image instead of init_image to be consistent with other controlnet engines * Added more engine support * Added FP16 support for NPU * fixing powermode ui logic * Added Decoder info for LCM model. * updating result naming to make comparing the same seed images easier. * Adding blob compilation to model setup * remove key from model setup * Removing chmod call for deprecated features. * update model_setup to compile 2T for Unet INT8 * add CLI options for model weights directory location * removed reliance on driver versions. * removed win32com which is no longer needed. * Create README.md * Update README.md * Model Loading and Compiling are multithreaded, mainly on SD1.5 INT8 * Merge WW30 Snapshot into Main (#38) * Fixing initilization bug * Adding better default config.json support and fixed a bug in the device_list parsing in the case there are more than one GPU in the system. * updating dgpu device choosing logic * Bug fixes for Linux. * Fixed paths * update branch info for LCM for Linux * Fix issue with Vulkan and OV giving more than 1 GPU. * light refactoring, and removing NPU from SuperRes device list (for now). * created function for handling inference result * aligned on lowercase sd_, SD UI tweaks. * Deleting unneeded files. * Reorganzing tree to make installation easier. * Add workaround for caching issue in GPU for SR * updated path due to dir structure changes. * updated to reflect case changes. * Updated windows install. Plugin path is no longer needed to be modified. * Refactor install.sh * Updated documentation to reflect Windows install changes. * Major overhall of installation. Blobs are now created after model download. * Updated windows install documenation * More documenation updates * updated UI elements * bug fixes for SR * syncing with v2.99-R3 * Adding support for comma separated list * Spaces are better than commas * Simplifying flow by not giving option to skip setup. Users can just exit right away, if needed * Updated install flow * switched from xcopy to robocopy * removed unneeded lines * removing cls for now * whitespace changes * remove files not needed. * Renamed files to be consistent with pythonic module nameing convention. * Add model setup back to install * Fixed logo paths for inclusion * more dash to underscore fixes * updated complete install * updating linux installer * fixed missed merge conflict * Whitespace changes. * added back exit * Removing tile specific config for compilation. now using default. * Needed to be recongnized as a module * Removing unused files * Fixed logo paths * updating testcase to align with new module organization. * Updated documentation to reflect 2.99.16 and new model setup flow. * Updated documentation to reflect 2.99.16 and new model setup flow. * updating screenshot * Resizing and removing figs not needed. * Update user_guide_for_windows_users.md * Fixing Super Resolution naming. * Model Loading and Compiling are multithreaded, mainly on SD1.5 INT8 * Adding multithreading for model compilation and load. * removed blank line at the start of the file. * Removed unused function. * fixed botched merge. * fixed botched merge * Bug fixes * Removing redundant print * minor update * Fixed FP16 powermode issue --------- Co-authored-by: arisha07 <arisha.kumar@intel.com> Co-authored-by: Siwoo Park <spdumie@gmail.com> * Npu turbo feature (#40) * Fixing initilization bug * Adding better default config.json support and fixed a bug in the device_list parsing in the case there are more than one GPU in the system. * updating dgpu device choosing logic * Bug fixes for Linux. * Fixed paths * update branch info for LCM for Linux * Fix issue with Vulkan and OV giving more than 1 GPU. * light refactoring, and removing NPU from SuperRes device list (for now). * created function for handling inference result * aligned on lowercase sd_, SD UI tweaks. * Deleting unneeded files. * Reorganzing tree to make installation easier. * Add workaround for caching issue in GPU for SR * updated path due to dir structure changes. * updated to reflect case changes. * Updated windows install. Plugin path is no longer needed to be modified. * Refactor install.sh * Updated documentation to reflect Windows install changes. * Major overhall of installation. Blobs are now created after model download. * Updated windows install documenation * More documenation updates * updated UI elements * bug fixes for SR * syncing with v2.99-R3 * Adding support for comma separated list * Spaces are better than commas * Simplifying flow by not giving option to skip setup. Users can just exit right away, if needed * Updated install flow * switched from xcopy to robocopy * removed unneeded lines * removing cls for now * whitespace changes * remove files not needed. * Renamed files to be consistent with pythonic module nameing convention. * Add model setup back to install * Fixed logo paths for inclusion * more dash to underscore fixes * updated complete install * updating linux installer * fixed missed merge conflict * Whitespace changes. * added back exit * Removing tile specific config for compilation. now using default. * Needed to be recongnized as a module * Removing unused files * Fixed logo paths * updating testcase to align with new module organization. * Updated documentation to reflect 2.99.16 and new model setup flow. * Updated documentation to reflect 2.99.16 and new model setup flow. * updating screenshot * Resizing and removing figs not needed. * Update user_guide_for_windows_users.md * Fixing Super Resolution naming. * Model Loading and Compiling are multithreaded, mainly on SD1.5 INT8 * Adding multithreading for model compilation and load. * removed blank line at the start of the file. * Removed unused function. * fixed botched merge. * fixed botched merge * Bug fixes * Removing redundant print * minor update * Fixed FP16 powermode issue * Fixing issue with pytorch 2.4.0 * Added exit after opton 12. fixed ref-only download. * Adding turbo mode. * relocated art. * Adding wmi for driver version detection on Windows * Added platform info logging for easier tracking * Add back initial SD3.0 support. * Updated Turbo mode and removed Artwork which could cause issues on some systems. * Moving OV version to 2024.3.0 * Gating NPU turbo DEVICE_ARCHITECTURE. * Test case tweaks to add timestamps to images generated. * removing pip upgrade. may cause SSL errors. --------- Co-authored-by: arisha07 <arisha.kumar@intel.com> Co-authored-by: Siwoo Park <spdumie@gmail.com> * Fixing default steps and min guidance. * Fix sys.path extend calls to for openvino_utils/tools folder * WIP versions of the model management server / GUI * model_manager UI: Get model details from server * model manager ui: add install poll threads, and hook up progress bar * model manager: Add remaining model dl routines * model manager: Implement install queueing * model manager ui: Start progress bar thread if install is in progress on new dialog * model manager ui: install cancellation * Merge v2.99-R3 into MAIN (#48) * Fixing initilization bug * Adding better default config.json support and fixed a bug in the device_list parsing in the case there are more than one GPU in the system. * updating dgpu device choosing logic * Bug fixes for Linux. * Fixed paths * update branch info for LCM for Linux * Fix issue with Vulkan and OV giving more than 1 GPU. * light refactoring, and removing NPU from SuperRes device list (for now). * created function for handling inference result * aligned on lowercase sd_, SD UI tweaks. * Deleting unneeded files. * Reorganzing tree to make installation easier. * Add workaround for caching issue in GPU for SR * updated path due to dir structure changes. * updated to reflect case changes. * Updated windows install. Plugin path is no longer needed to be modified. * Refactor install.sh * Updated documentation to reflect Windows install changes. * Major overhall of installation. Blobs are now created after model download. * Updated windows install documenation * More documenation updates * updated UI elements * bug fixes for SR * syncing with v2.99-R3 * Adding support for comma separated list * Spaces are better than commas * Simplifying flow by not giving option to skip setup. Users can just exit right away, if needed * Updated install flow * switched from xcopy to robocopy * removed unneeded lines * removing cls for now * whitespace changes * remove files not needed. * Renamed files to be consistent with pythonic module nameing convention. * Add model setup back to install * Fixed logo paths for inclusion * more dash to underscore fixes * updated complete install * updating linux installer * fixed missed merge conflict * Whitespace changes. * added back exit * Removing tile specific config for compilation. now using default. * Needed to be recongnized as a module * Removing unused files * Fixed logo paths * updating testcase to align with new module organization. * Updated documentation to reflect 2.99.16 and new model setup flow. * Updated documentation to reflect 2.99.16 and new model setup flow. * updating screenshot * Resizing and removing figs not needed. * Update user_guide_for_windows_users.md * Enabling multiple models for download. * Fixing Super Resolution naming. * Model Loading and Compiling are multithreaded, mainly on SD1.5 INT8 * Adding multithreading for model compilation and load. * removed blank line at the start of the file. * Removed unused function. * fixed botched merge. * fixed botched merge * Bug fixes * Removing redundant print * minor update * Fixed FP16 powermode issue * V2.99 r3 staging (#126) * Adding multithreading for compile and load * tweaks for perf * adding back in exit * Fixing naming * Syncing with internal snapshot * Syncing with internal snapshot * Correcting capitalization * Doc update * Update user_guide_for_windows_users.md * Fixed model download bug. * Fix issue with torch 2.4.0 * Auto exit if a user chooses option 12. * Fixing issue with pytorch 2.4.0 * Remove debug statements * Added exit after opton 12. fixed ref-only download. * fixing NPU turbo to not fail if not enabled in the plugin * Adding flash SD3 and hardcoding dev version of OV (for now). * Updating sd3 implementation from Alpha to sd3-medium * Stable Diffusion 3 Medium support * Removing SD2.1 and adding DPU groups config for NPU model compile. * updating default prompt * Correcting SD3 paths * V2.99 r3 staging update (#131) * Initial commit * Initial commit of gimp-ml with semantic seg powered by OV * Added OV based deblur plugin * Added super-resolution OV based plugin supports esrgan & sr_1033 * Initial version for OV Inpainting * Replaced checkboxes with drop down list & added edsr model support to superres * Added ov style transfer filter * Super-res changes * Adding weights folder * Added initial version of stable diffusion * automated stable difussion model paths * Initial commit of gimp-ov * Removed unwanted files * Removed unwanted files * Fixed semseg and removed unwanted code * Removed unwanted dependencies * Added screenshot and removed unwanted files * Updated Readme * Updated Readme * Updated Readme * Updated Readme * Updated Readme * Updated Readme * Updated Readme * Delete LICENSE * Added thirdparty license and copyrights notices * Create LICENSE.md * Updated Readme * Delete testscases/.ipynb_checkpoints directory * Updated Readme * Added missing gdown during install * Added missing gdown during install * Changed license to Apache * Removed VPU device from mainline and deleted deblur plugin * Removed unused function and files after checkmarx scan * Commented out the exc_info to fix the Information_Exporsure issue in checkmarx * Replaced gimpov from the entire code base * Updated the GUI screen shot for readme * Renamed gimpov folder * Replaced GIMP-OV to GIMP-OpenVINO & gimpopenvino * Removed md5 and html related blacklisted items for bandit * Removed use of pickle from the plugin infrastructure * Replace readlines from text with json format for semantic seg * Replaced readlines method with json * Updated OpenVino to 2022.3.0 * Updated transformer version * Added copyright header to all source files * staging for final upstream part1 * final staging part2 * Modify readme * modify readme * Added more gifs * replaced the links * updated readme * updated readme * updated readme * updated sem-seg gif * updated readme * updated readme * updated readme * updated readme * Added new web * Final push * Added in-painting to main branch of open-source * Added model conversion support for SD1.5 Inpainting * Added inital image from canvas support * Modified mask creation step, fixed bug in load model, updated readme * small readme update * small readme update * small readme update * small readme update * Added controlnet-openpose * First version of updated internal version with external & internal controlnet, external inpainting * Optimized pipeline - moving infer_request.wait() * updated pipeline to N=2 controlnet-pose IR * Added Super-Res workflow in SD for acer * Latest optimized pipeline wirh share_outputs = True etc. * updated pipeline to use ergan and set SR resolution to landscape 2240x1400 * keeping final cache.png image * updated to run esrgan on GPU * Added inpainting internal version and updated device list to show NPU instead of VPUX * updated transformer version and removed unwanted debug prints * Update stable-diffusion-ov-server.py * Added model caching for SR model to reduce the load time * Added model caching for SR model to reduce the load time * Added padding as input image is square and output landscape * fixed a bug in SR standalone plugin * Fixed a bug in style transfer and semseg * fixed progress bar update in controlnet-pose, added model caching for other plugins and updated model setup * Updates for VPUX/VPU to NPU transition * Removed direct SR support from SD gui for release * Added controlnet-canny internal blob support * Updates to the path specification to be cross platform compatible * Updating paths to be cross platform compatible * Update to OV 2023.0.2 * Cleanup of _NEW and _org files * Combined StableDiffusion engines into one module * Run Inference becomes Generate, Internal becomes Advanced. * Replaced model conversion with model download from hugging face, some change in directory structure, added canny-edge batch2, scribble batch1 and batch2 * fixed a bug in repo-id for HF download * bug fix around shutil.copytree * uncomment the delete HF model cache * Fixed few more bugs * Fixed a typo * Removed UniPCM scheduler from local file for all batch-size 2 controlnet * Fixed corrupt image issue with landscape and portrait models: * Moved NPU to INT8 and added LCM * Updated import of diffusion pipeline for diffusers 0.23.0 * Initial checkin of working LCM * Updated to OV 2023.1.0 and diffusers 0.23.0. Added accelerate * removed some debug statements. * Moving install to use requirements.txt to ease linux/windows parity Added activation/deactivation of gimpenv3 on Windows during install * Updates for the UI to hide non-needed elements for LCM * Removed old class, other LCM updates * Adding LCM Scheduler and removing unneeded prints. * Updated Latent_Consistency to SD_1.5_lcm * Removed HF pull of scheduler for LCM. Commented out scheduler log print for now, until i find a better way to do it. * updated LCM model dir to be in square_lcm * added lcm in model download * update tensorflow version for scan issue * update onnx version for scan issue * update README * Fixed tabs v spaces * Added model_setup to Linux install script. * Updated to be linux compatible. added functions, and put back the "all" option * Update README.md Fixed Linux instructions, other edits to add LCM as supported. * Update model_setup.py to remove token Models are now public and downloads tested with access_token = None * Fixed device list parsing due to bug found in systmed with dGPU * updated to match public repo * updated to match public repo * Initial commit * Rebase to http://github.com/intel/openvino-ai-plugins-gimp * removed gimpml dir, not needed. * Fixed installer location bug. * initial set of changes to support config files for models to determine device list * Adding driver detection for NPU * more updates for powermodes * fixed few issues, including revision * Adding LCM under my idsid * Updating LCM to use config.json and load blobs for NPU * Updating setup to point to my private repo for testing. * Removed blob and swap flags, as they are no longer needed. * Removed blob and swap flags, as they are no longer needed. * Updated links in README.md * Removing current direcotry echo as not needed. * Initial checkin of SD3 support * Update power mode support checking. Still needs work, though... * Fixing typo in MTL NPU arch naming * Adding config file and code to download models from the revision adding ubuntu distro check * Updating model setup for LNL. * SAI Logo adding for SD3.0 * Bug fixes for Linux. * Added default for config.json, and better dGPU handling * trimming down plugin requirements * Pulling updates from opensource. * Rolled back SAI logo addition * Moved spinner to avoid horizontal shifts in the UI. Moved the license to over by the new logo location. * Update model_setup.py with spectral comment * Update model_setup.py * Update model_setup.py * Update model_setup.py * Update model_setup.py * Update model_setup_config.json * fixed typo * Removed repeated code. * Update for testing configs * Fixed issues with platform detection. * fixing tab alignment * Fixing case issue with SD which was root cause of neg prompt still showing up in LCM menu. * update for merge to main. * Updating testcases * removing unneeded files * Updated test case with all SD models. * Reduced redunant redundancies. * Aligned around image instead of init_image to be consistent with other controlnet engines * Added more engine support * Added FP16 support for NPU * fixing powermode ui logic * Added Decoder info for LCM model. * updating result naming to make comparing the same seed images easier. * Adding blob compilation to model setup * remove key from model setup * Removing chmod call for deprecated features. * update model_setup to compile 2T for Unet INT8 * add CLI options for model weights directory location * removed reliance on driver versions. * removed win32com which is no longer needed. * Create README.md * Update README.md * Model Loading and Compiling are multithreaded, mainly on SD1.5 INT8 * Adding multithreading for compile and load * tweaks for perf * adding back in exit * Fixing naming * Syncing with internal snapshot * Syncing with internal snapshot * Merge WW30 Snapshot into Main (#38) * Fixing initilization bug * Adding better default config.json support and fixed a bug in the device_list parsing in the case there are more than one GPU in the system. * updating dgpu device choosing logic * Bug fixes for Linux. * Fixed paths * update branch info for LCM for Linux * Fix issue with Vulkan and OV giving more than 1 GPU. * light refactoring, and removing NPU from SuperRes device list (for now). * created function for handling inference result * aligned on lowercase sd_, SD UI tweaks. * Deleting unneeded files. * Reorganzing tree to make installation easier. * Add workaround for caching issue in GPU for SR * updated path due to dir structure changes. * updated to reflect case changes. * Updated windows install. Plugin path is no longer needed to be modified. * Refactor install.sh * Updated documentation to reflect Windows install changes. * Major overhall of installation. Blobs are now created after model download. * Updated windows install documenation * More documenation updates * updated UI elements * bug fixes for SR * syncing with v2.99-R3 * Adding support for comma separated list * Spaces are better than commas * Simplifying flow by not giving option to skip setup. Users can just exit right away, if needed * Updated install flow * switched from xcopy to robocopy * removed unneeded lines * removing cls for now * whitespace changes * remove files not needed. * Renamed files to be consistent with pythonic module nameing convention. * Add model setup back to install * Fixed logo paths for inclusion * more dash to underscore fixes * updated complete install * updating linux installer * fixed missed merge conflict * Whitespace changes. * added back exit * Removing tile specific config for compilation. now using default. * Needed to be recongnized as a module * Removing unused files * Fixed logo paths * updating testcase to align with new module organization. * Updated documentation to reflect 2.99.16 and new model setup flow. * Updated documentation to reflect 2.99.16 and new model setup flow. * updating screenshot * Resizing and removing figs not needed. * Update user_guide_for_windows_users.md * Fixing Super Resolution naming. * Model Loading and Compiling are multithreaded, mainly on SD1.5 INT8 * Adding multithreading for model compilation and load. * removed blank line at the start of the file. * Removed unused function. * fixed botched merge. * fixed botched merge * Bug fixes * Removing redundant print * minor update * Fixed FP16 powermode issue --------- Co-authored-by: arisha07 <arisha.kumar@intel.com> Co-authored-by: Siwoo Park <spdumie@gmail.com> * Correcting capitalization * Npu turbo feature (#40) * Fixing initilization bug * Adding better default config.json support and fixed a bug in the device_list parsing in the case there are more than one GPU in the system. * updating dgpu device choosing logic * Bug fixes for Linux. * Fixed paths * update branch info for LCM for Linux * Fix issue with Vulkan and OV giving more than 1 GPU. * light refactoring, and removing NPU from SuperRes device list (for now). * created function for handling inference result * aligned on lowercase sd_, SD UI tweaks. * Deleting unneeded files. * Reorganzing tree to make installation easier. * Add workaround for caching issue in GPU for SR * updated path due to dir structure changes. * updated to reflect case changes. * Updated windows install. Plugin path is no longer needed to be modified. * Refactor install.sh * Updated documentation to reflect Windows install changes. * Major overhall of installation. Blobs are now created after model download. * Updated windows install documenation * More documenation updates * updated UI elements * bug fixes for SR * syncing with v2.99-R3 * Adding support for comma separated list * Spaces are better than commas * Simplifying flow by not giving option to skip setup. Users can just exit right away, if needed * Updated install flow * switched from xcopy to robocopy * removed unneeded lines * removing cls for now * whitespace changes * remove files not needed. * Renamed files to be consistent with pythonic module nameing convention. * Add model setup back to install * Fixed logo paths for inclusion * more dash to underscore fixes * updated complete install * updating linux installer * fixed missed merge conflict * Whitespace changes. * added back exit * Removing tile specific config for compilation. now using default. * Needed to be recongnized as a module * Removing unused files * Fixed logo paths * updating testcase to align with new module organization. * Updated documentation to reflect 2.99.16 and new model setup flow. * Updated documentation to reflect 2.99.16 and new model setup flow. * updating screenshot * Resizing and removing figs not needed. * Update user_guide_for_windows_users.md * Fixing Super Resolution naming. * Model Loading and Compiling are multithreaded, mainly on SD1.5 INT8 * Adding multithreading for model compilation and load. * removed blank line at the start of the file. * Removed unused function. * fixed botched merge. * fixed botched merge * Bug fixes * Removing redundant print * minor update * Fixed FP16 powermode issue * Fixing issue with pytorch 2.4.0 * Added exit after opton 12. fixed ref-only download. * Adding turbo mode. * relocated art. * Adding wmi for driver version detection on Windows * Added platform info logging for easier tracking * Add back initial SD3.0 support. * Updated Turbo mode and removed Artwork which could cause issues on some systems. * Moving OV version to 2024.3.0 * Gating NPU turbo DEVICE_ARCHITECTURE. * Test case tweaks to add timestamps to images generated. * removing pip upgrade. may cause SSL errors. --------- Co-authored-by: arisha07 <arisha.kumar@intel.com> Co-authored-by: Siwoo Park <spdumie@gmail.com> * Fixing default steps and min guidance. * fixing NPU turbo to not fail if not enabled in the plugin * Adding flash SD3 and hardcoding dev version of OV (for now). * Fix sys.path extend calls to for openvino_utils/tools folder * Updating sd3 implementation from Alpha to sd3-medium * update default prompt * Set openvino release * Removing unused files. * freezing requirements.txt --------- Co-authored-by: Arisha Kumar <arisha.kumar@intel.com> Co-authored-by: RyanMetcalfeInt8 <107415876+RyanMetcalfeInt8@users.noreply.github.com> Co-authored-by: Luke Lin <luke1.lin@intel.com> Co-authored-by: ymangukiya <yamik.mangukiya@intel.com> Co-authored-by: nschaper-intel <neil.schaper@intel.com> Co-authored-by: Siwoo Park <spdumie@gmail.com> Co-authored-by: Metcalfe, Ryan <ryan.metcalfe@intel.com> * config causing issues on some machines. * Need the nightly build for NPU Turbo * Freezing requirements. * updating testcases with new default prompt and random seeds beyond the first image. * Adding NPU Arch detection * removed unused function * Add tile configuration to model setup * Add tile configuration to model setup * updating testcases with new default prompt and random seeds beyond the first image. * Adjusting model to IP mapping * Added guidance scale param * Removed unnecessary print. * Fixing git clone command. * updating threshold * updating tools path * remove unneeded print. * Syncing with v2.99-R3-staging * fixed model configs for FP16 and INT8 * fixed model configs for FP16 and INT8 * typo and bug fix in controlnet models * Once again, re-assigning profile mappings. * fixed seed issue * Fix threashold value. * Adapted stable_diffusion_engine.py and stable_diffusion_engine_tc.py for basic Linux (Ubuntu 22) support * Fixing torch to exactly 2.3.1 * Adjust init image checkbox to not display for LCM. * Update model configs. * freezing torchvision version. --------- Co-authored-by: arisha07 <arisha.kumar@intel.com> Co-authored-by: Siwoo Park <spdumie@gmail.com> Co-authored-by: RyanMetcalfeInt8 <107415876+RyanMetcalfeInt8@users.noreply.github.com> Co-authored-by: Luke Lin <luke1.lin@intel.com> Co-authored-by: ymangukiya <yamik.mangukiya@intel.com> Co-authored-by: nschaper-intel <neil.schaper@intel.com> Co-authored-by: Metcalfe, Ryan <ryan.metcalfe@intel.com> Co-authored-by: Rafael Lago <rafael.lago@intel.com> * model manager ui: Trigger update of SD model selection combo upon completion of an install * model management server: Refactor supported model / installable model map, along with download routines * model management server: Implement file download exclude patterns * stable diffusion: Populate the model select drop-down with model_list retrieved from model manager * model manager: tweak model names * stable diffusion: Display 'full' model name in model selection drop-down * stable diffusion engine: swap deprecated download_tokenizer call to from_pretrained/save_pretrained sequence * model management server: update SD3.0 entries * Adding support for W8A16 model. * removing model which doesn't exist * model manager server: Update model install routine based on latest changes to model_setup.py * model management ui: move ModelManagementWindow to dedicated .py * model management server: Change name of OpenVINOModelInstaller class to 'ModelManager' * model manager: Move ModelManager class to a dedicated .py * model manager: Trigger error window pop-up when model installation fails * model manager: Remove test entries from UI * model manager: Remove Portrait / Landscape options from UI installable list * model manager: Write installation info (hf repo id, commit-id) into installation folder at end of install procedure * model manager: For sd_1.5_square_int8a16, confirm IR bin exists before presenting it as a usable option * model manager: Remove unneceaary print statements, fix error dialog upon cancellation * model_setup.py: Use an instance of ModelManager to populate user selection list, as well as perform install routines * Update to install.bat to remove model setup * moving model install button to the left. * SD selectable even without a layer present * model manager: record NPU driver version used to compile blobs into install_info.json * model manager: Require install_info.json to be present for a model to be deemed as 'installed' * model manager: 'Update' operation available for installed models that could require recompilation * model manager: Fix undeclared full_install_path * Updating install scripts and adding powershell. * stable diffusion engine: Fix issue in int8a16 if all devices are 'GPU' * GIMP-side stable diffusion plugin: Don't allow use of controlnet if n_layers==0 * Backing out error checking due to pip return codes. * Removing unneeded print. * Fixed issue with dir existance. Fixed bug in python3 pointer. * Adding missing imports. * Removing unnecessary print * model manager: Explicitly tag install routines that have NPU compilation routines * fixed alignment bug in model_setup * Fine tuning print messages * Fixed Precision reported for LCM * Fixed logic around power modes to ensure button sensitivity is correct. * Removed commented out lines which were experiments. * Move install_base_models routine from model_setup.py to complete_install.py * Completing merge. * model manager: Fix issue where an install entry doesn't show up in UI if it's currently installing * Updated the readme and windows doc * Fixed format in user guide * Fixed format in user guide * Remove int8 variants of inpainting, controlnet models * need to treat the path as a raw string to avoid unicode errors * updated user guide for win * Adding Stable Diffusion 3 guilde * Fixed typo and added detail about install_info.json * fixed a typo in the install_info.json * Added command line model setup instructions in standalone readme: * Fixed format in standalone readme * Fixed format in standalone readme * Fixed format in standalone readme * Fixed format in standalone readme * Fixed format in standalone readme * Fixed format in standalone readme * updated figure in standalone readme * Updating to support SD1.5 FP16 on Ultra Series 1 systems. * model manager: Handle potential race condition in server startup / connection * stable diffusion server: Add a retry mechanism for socket binding * stable diffusion server: Perform explicit close of the socket upon exit --------- Co-authored-by: Kumar <arisha.kumar@intel.com> Co-authored-by: RyanMetcalfeInt8 <107415876+RyanMetcalfeInt8@users.noreply.github.com> Co-authored-by: Luke Lin <luke1.lin@intel.com> Co-authored-by: ymangukiya <yamik.mangukiya@intel.com> Co-authored-by: nschaper-intel <neil.schaper@intel.com> Co-authored-by: Siwoo Park <spdumie@gmail.com> Co-authored-by: Metcalfe, Ryan <ryan.metcalfe@intel.com> Co-authored-by: Rafael Lago <rafael.lago@intel.com>
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.
No description provided.