log cleanup

This commit is contained in:
Vladimir Mandic
2023-10-24 08:47:06 -04:00
parent b834e3ad0b
commit bc80c14704
7 changed files with 16 additions and 25 deletions
+10 -7
View File
@@ -5,33 +5,31 @@
Service release addressing all zero-day issues reported so far...
**Fixes**
- fix freeu for backend original and add it to xyz grid
- fix **freeu** for backend original and add it to xyz grid
- fix loading diffuser models in huggingface format from non-standard location
- fix default styles looking in wrong location
- fix missing upscaler folder on initial startup
- fix handling of relative path for models
- fix simple live preview device mismatch
- fix batch img2img
- fix diffusers dpm++ 2m, dpm++ 1s, deis samplers
- fix diffusers samplers: dpm++ 2m, dpm++ 1s, deis
- fix new style filename template
- fix image name template using model name
- fix model path using relative path
- fix `torch-rocm` and `tensorflow-rocm` version detection, thanks @xangelix
- fix chainner upscalers color clipping
- fix **chainner** upscalers color clipping
- fix for base+refiner workflow in diffusers mode: number of steps, diffuser pipe mode
- fix for prompt encoder with refiner in diffusers mode
- fix prompts-from-file saving incorrect metadata
- fix before-hires step
- fix diffusers switch from invalid model
- directml and ipex updates
- **directml** and **ipex** updates
- force second requirements check on startup
- remove lyco, multiple_tqdm
- enhance extension compatibility for exensions directly importing codeformers
- enhance extension compatibility for exensions directly accessing processing params
- css fixes
- clearly mark external themes in ui
- new option: *settings -> images -> keep incomplete*
can be used to skip vae decode on aborted/skipped/interrupted image generations
- update `openvino`, thanks @disty0
- update `typing-extensions`
@@ -39,7 +37,12 @@ Service release addressing all zero-day issues reported so far...
- remove external clone of items in `/repositories`
- add **lora oft** support, thanks @antis0007 and @ai-casanova
- **upscalers compile** option, thanks @disty0
- **upscalers**
- **compile compile** option, thanks @disty0
- **chainner** add high quality models from [Helaman](https://openmodeldb.info/users/helaman)
- **chainner** switch to `torchvision.transforms` for all image decode operations
- new option: *settings -> images -> keep incomplete*
can be used to skip vae decode on aborted/skipped/interrupted image generations
**Themes**
+1 -13
View File
@@ -77,7 +77,7 @@ function markIfModified(setting_name, value) {
tab_nav_indicator.classList.toggle('saved', saved.size > 0);
if (changed_items.size > 0) tab_nav_indicator.title += `click to reset ${changed_items.size} unapplied changes in this tab\n`;
if (saved.size > 0) tab_nav_indicator.title += `${saved.size} custom values\n${unsaved.size} default values}`;
elem.scrollIntoView({ behavior: 'smooth', block: 'center' });
elem.scrollIntoView({ behavior: 'smooth', block: 'center' }); // TODO why is scroll happening on every change if all pages are visible?
}
onAfterUiUpdate(async () => {
@@ -120,18 +120,6 @@ onAfterUiUpdate(async () => {
};
});
onOptionsChanged(() => {
const elem = gradioApp().getElementById('sd_checkpoint_hash');
const sd_checkpoint_hash = opts.sd_checkpoint_hash || '';
const shorthash = sd_checkpoint_hash.substring(0, 10);
if (elem && elem.textContent !== shorthash) {
elem.textContent = shorthash;
elem.title = sd_checkpoint_hash;
elem.href = `https://google.com/search?q=${sd_checkpoint_hash}`;
}
});
onOptionsChanged(() => {
const setting_elems = gradioApp().querySelectorAll('#settings [id^="setting_"]');
setting_elems.forEach((elem) => {
+1 -1
View File
@@ -178,7 +178,7 @@ def list_models():
shared.opts.data['sd_model_checkpoint'] = checkpoint_info.title
elif shared.cmd_opts.ckpt != shared.default_sd_model_file and shared.cmd_opts.ckpt is not None:
shared.log.warning(f"Checkpoint not found: {shared.cmd_opts.ckpt}")
shared.log.info(f'Available models: {shared.opts.ckpt_dir} items={len(checkpoints_list)} time={time.time()-t0:.2f}s')
shared.log.info(f'Available models: path="{shared.opts.ckpt_dir}" items={len(checkpoints_list)} time={time.time()-t0:.2f}s')
checkpoints_list = dict(sorted(checkpoints_list.items(), key=lambda cp: cp[1].filename))
if len(checkpoints_list) == 0:
+1 -1
View File
@@ -98,7 +98,7 @@ def refresh_vae_list():
vae_dict[name] = os.path.dirname(filepath)
else:
vae_dict[name] = filepath
shared.log.info(f"Available VAEs: {vae_path} items={len(vae_dict)}")
shared.log.info(f'Available VAEs: path="{vae_path}" items={len(vae_dict)}')
return vae_dict