2.1.802
Default inpaint engine changed to v2.6. You can still use inpaint engine v1 in dev tools. Fix some VRAM problems.
This commit is contained in:
parent
7e222cf3e1
commit
d3d63d5bf6
@ -23,9 +23,7 @@ fcbh_cli.parser.set_defaults(
|
||||
|
||||
fcbh_cli.args = fcbh_cli.parser.parse_args()
|
||||
|
||||
# (beta, enabled by default. )
|
||||
# (Probably disable by default because of issues like https://github.com/lllyasviel/Fooocus/issues/724)
|
||||
if fcbh_cli.args.enable_smart_memory:
|
||||
fcbh_cli.args.disable_smart_memory = False
|
||||
# (Disable by default because of issues like https://github.com/lllyasviel/Fooocus/issues/724)
|
||||
fcbh_cli.args.disable_smart_memory = not fcbh_cli.args.enable_smart_memory
|
||||
|
||||
args = fcbh_cli.args
|
||||
|
@ -1 +1 @@
|
||||
version = '2.1.801'
|
||||
version = '2.1.802'
|
||||
|
0
models/inpaint/put_inpaint_here
Normal file
0
models/inpaint/put_inpaint_here
Normal file
@ -280,7 +280,7 @@ def update_all_model_names():
|
||||
|
||||
|
||||
def downloading_inpaint_models(v):
|
||||
assert v in ['v1', 'v2.5', 'v2.6']
|
||||
assert v in modules.flags.inpaint_engine_versions
|
||||
|
||||
load_file_from_url(
|
||||
url='https://huggingface.co/lllyasviel/fooocus_inpaint/resolve/main/fooocus_inpaint_head.pth',
|
||||
|
@ -31,3 +31,6 @@ default_ip = cn_ip
|
||||
default_parameters = {
|
||||
cn_ip: (0.5, 0.6), cn_ip_face: (0.9, 0.75), cn_canny: (0.5, 1.0), cn_cpds: (0.5, 1.0)
|
||||
} # stop, weight
|
||||
|
||||
inpaint_engine_versions = ['v1', 'v2.5', 'v2.6']
|
||||
default_inpaint_engine_version = 'v2.6'
|
||||
|
@ -77,7 +77,7 @@ After you download the file, please uncompress it, and then run the "run.bat".
|
||||
In the first time you launch the software, it will automatically download models:
|
||||
|
||||
1. It will download [default models](#models) to the folder "Fooocus\models\checkpoints" given different presets. You can download them in advance if you do not want automatic download.
|
||||
2. Note that if you use inpaint, at the first time you inpaint an image, it will download [Fooocus's own inpaint control model from here](https://huggingface.co/lllyasviel/fooocus_inpaint/resolve/main/inpaint.fooocus.patch) as the file "Fooocus\models\inpaint\inpaint.fooocus.patch" (the size of this file is 1.28GB).
|
||||
2. Note that if you use inpaint, at the first time you inpaint an image, it will download [Fooocus's own inpaint control model from here](https://huggingface.co/lllyasviel/fooocus_inpaint/resolve/main/inpaint_v26.fooocus.patch) as the file "Fooocus\models\inpaint\inpaint_v26.fooocus.patch" (the size of this file is 1.28GB).
|
||||
|
||||
After Fooocus 2.1.60, you will also have `run_anime.bat` and `run_realistic.bat`. They are different model presets (and requires different models, but thet will be automatically downloaded). [Check here for more details](https://github.com/lllyasviel/Fooocus/discussions/679).
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
# 2.1.802
|
||||
|
||||
* Default inpaint engine changed to v2.6. You can still use inpaint engine v1 in dev tools.
|
||||
* Fix some VRAM problems.
|
||||
|
||||
# 2.1.799
|
||||
|
||||
* Added 'Extreme Speed' performance mode (based on LCM). The previous complicated settings are not needed now.
|
||||
|
4
webui.py
4
webui.py
@ -304,7 +304,9 @@ with shared.gradio_root:
|
||||
minimum=-1, maximum=1.0, step=0.001, value=-1,
|
||||
info='Set as negative number to disable. For developer debugging.')
|
||||
|
||||
inpaint_engine = gr.Dropdown(label='Inpaint Engine', value='v1', choices=['v1', 'v2.5', 'v2.6'],
|
||||
inpaint_engine = gr.Dropdown(label='Inpaint Engine',
|
||||
value=flags.default_inpaint_engine_version,
|
||||
choices=flags.inpaint_engine_versions,
|
||||
info='Version of Fooocus inpaint model')
|
||||
|
||||
with gr.Tab(label='Control Debug'):
|
||||
|
Loading…
Reference in New Issue
Block a user