git remote add upstream https://github.com/vladmandic/sdnext
git fetch upstream
git checkout -b qwen upstream/feat/qwen-image-2.1
# add fork difference
git submodule add https://github.com/liutyi/sdnext-scheduler extensions-builtin/sdnext-scheduler
sed -i 's/exec ipexrun.*/exec ipexrun xpu launch.py "\$@"/g' webui.sh
sed -i 's/"samples_filename_pattern":.*/"samples_filename_pattern": OptionInfo("[date]-[seq]-[model_name]-[width]x[height]-Seed[seed]-CFG[cfg]-AG[pag]-STEP[steps]", "Images filename pattern", component_args=hide_dirs),/g' ./modules/ui_definitions.py
sed -i 's/"ui_request_timeout":.*/"ui_request_timeout": OptionInfo(300000, "UI request timeout", gr.Slider, {"minimum": 1000, "maximum": 300000, "step": 10}),/g' ./modules/ui_definitions.py
sed -i 's/"theme_type":.*/"theme_type": OptionInfo("Standard", "Theme type", gr.Radio, {"choices": ["Modern", "Standard", "None"]}),/g' ./modules/ui_definitions.py
git add .
git commit -m "Standart theme, long filenames, long UI timeout, ipexrun fix"
# push branch
git push origin qwen
|