aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8878 from butaixianran/masterAUTOMATIC11112023-03-251-1/+5
|\ | | | | Fix None type error for TI module
| * Fix None type error for TI modulebutaixianran2023-03-241-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When user using model_name.png as a preview image, textural_inversion.py still treat it as an embeding, and didn't handle its error, just let python throw out an None type error like following: ```bash File "D:\Work\Dev\AI\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 155, in load_from_file name = data.get('name', name) AttributeError: 'NoneType' object has no attribute 'get' ``` With just a simple `if data:` checking as following, there will be no error, breaks nothing, and now this module can works fine with user's preview images. Old code: ```python data = extract_image_data_embed(embed_image) name = data.get('name', name) ``` New code: ```python data = extract_image_data_embed(embed_image) if data: name = data.get('name', name) else: # if data is None, means this is not an embeding, just a preview image return ``` Also, since there is no more errors on textual inversion module, from now on, extra network can set "model_name.png" as preview image for embedings.
* | Merge pull request #8866 from brkirch/mps-torch-2-0-nn-linear-workaroundsAUTOMATIC11112023-03-252-1/+34
|\ \ | | | | | | Add PyTorch 2.0 support for macOS, fix image generation on macOS 13.2.X
| * | Add workaround for MPS layer_norm on PyTorch 2.0brkirch2023-03-241-1/+3
| | | | | | | | | | | | On PyTorch 2.0, with MPS layer_norm only accepts float32 inputs. This was fixed shortly after 2.0 was finalized so the workaround can be applied with an exact version match.
| * | Add workaround for broken nn.Linear on macOS 13.2brkirch2023-03-242-0/+31
| |/ | | | | | | Credit to danieldk (https://github.com/explosion/curated-transformers/pull/124) for the workaround this is based on.
* | Merge pull request #8782 from FNSpd/masterAUTOMATIC11112023-03-253-3/+4
|\ \ | | | | | | --upcast-sampling support for CUDA
| * | Update devices.pyFNSpd2023-03-241-1/+1
| | |
| * | Update sd_hijack_optimizations.pyFNSpd2023-03-241-1/+1
| | |
| * | Update sd_hijack_unet.pyFNSpd2023-03-241-1/+1
| | |
| * | Update lora.pyFNSpd2023-03-211-0/+1
| | |
| * | Update sd_hijack_optimizations.pyFNSpd2023-03-211-1/+1
| | |
| * | Update sd_hijack_unet.pyFNSpd2023-03-211-1/+1
| | |
| * | Update devices.pyFNSpd2023-03-211-1/+1
| |/
* | Merge branch 'gradio-3-22'AUTOMATIC2023-03-250-0/+0
|\ \
| * | fix generate forever and other context menusAUTOMATIC2023-03-251-1/+1
| | |
| * | restore interrupt/stop button stylingAUTOMATIC2023-03-251-0/+4
| | |
| * | fix clipping in lightbox image viewerAUTOMATIC2023-03-251-60/+25
| | |
| * | bump gradio to 3.23AUTOMATIC2023-03-255-5/+11
| | | | | | | | | | | | fix broken image dragging
| * | fix extra networks uiAUTOMATIC2023-03-212-4/+7
| | |
| * | enable queue by defaultAUTOMATIC2023-03-215-16/+34
| | | | | | | | | | | | more stylistic changes
| * | hide delete button for single-item dropdownAUTOMATIC2023-03-214-12/+50
| | | | | | | | | | | | more stylistic changes
| * | fix ctrl+up/down attention editAUTOMATIC2023-03-213-4/+14
| | | | | | | | | | | | | | | fix dropdown obscured by live preview stylistic changes
| * | initial gradio 3.22 supportAUTOMATIC2023-03-2015-625/+289
| | |
* | | fix generate forever and other context menusAUTOMATIC2023-03-251-1/+1
| | |
* | | restore interrupt/stop button stylingAUTOMATIC2023-03-251-0/+4
| | |
* | | fix clipping in lightbox image viewerAUTOMATIC2023-03-251-60/+25
| | |
* | | bump gradio to 3.23AUTOMATIC2023-03-255-5/+11
| | | | | | | | | | | | fix broken image dragging
* | | fix extra networks uiAUTOMATIC2023-03-252-4/+7
| | |
* | | enable queue by defaultAUTOMATIC2023-03-255-16/+34
| | | | | | | | | | | | more stylistic changes
* | | hide delete button for single-item dropdownAUTOMATIC2023-03-254-12/+50
| | | | | | | | | | | | more stylistic changes
* | | fix ctrl+up/down attention editAUTOMATIC2023-03-253-4/+14
| | | | | | | | | | | | | | | fix dropdown obscured by live preview stylistic changes
* | | initial gradio 3.22 supportAUTOMATIC2023-03-2515-625/+289
| |/ |/|
* | Merge pull request #8503 from mcmonkey4eva/filename-length-limit-fixAUTOMATIC11112023-03-141-0/+5
|\ \ | |/ |/| Add correction file filename length limits on *nix systems
| * update `fullfn` properlyAlex "mcmonkey" Goodwin2023-03-121-0/+1
| |
| * add safety check in case of short extensionsAlex "mcmonkey" Goodwin2023-03-121-1/+1
| | | | | | | | so eg if a two-letter or empty extension is used, `.txt` would break, this `max` call protects that.
| * relocate filename length limit to better spotAlex "mcmonkey" Goodwin2023-03-121-3/+4
| |
| * initial fix for filename length limits on *nix systemsAlex "mcmonkey" Goodwin2023-03-111-0/+3
| |
* | fix an error loading Lora with empty values in metadataAUTOMATIC2023-03-141-1/+1
| |
* | Merge pull request #8589 from vladmandic/unipcAUTOMATIC11112023-03-142-3/+4
|\ \ | | | | | | add progressbar to unipc sampler
| * | add pbar to unipcVladimir Mandic2023-03-132-3/+4
| | |
* | | Merge pull request #8588 from hananbeer/fix/undefined_extra_network_dataAUTOMATIC11112023-03-141-1/+2
|\ \ \ | | | | | | | | initialize extra_network_data before use
| * | | initialize extra_network_data before usehigh_byte2023-03-131-1/+2
| | | |
* | | | Merge pull request #8607 from willtakasan/patch-2AUTOMATIC11112023-03-141-2/+2
|\ \ \ \ | | | | | | | | | | Update ui_extra_networks.py
| * | | | Update ui_extra_networks.pywilltakasan2023-03-141-2/+2
|/ / / / | | | | | | | | I updated it so that no error message is displayed when setting a webp for the preview image.
* | / / Add view metadata button for Lora cards.AUTOMATIC2023-03-147-2/+152
| |/ / |/| |
* | | display correct timings after restarting UIAUTOMATIC2023-03-122-0/+15
| | |
* | | attempt to fix memory monitor with multiple CUDA devicesAUTOMATIC2023-03-121-4/+8
| | |
* | | revert webui.sh from #8492AUTOMATIC2023-03-121-14/+14
| | |
* | | change extension index link to the new dedicated repo instead of wikiAUTOMATIC2023-03-121-1/+1
| | |
* | | Merge pull request #8548 from vladmandic/total-tqdmAUTOMATIC11112023-03-121-0/+1
|\ \ \ | | | | | | | | force refresh tqdm before close