Commit Graph

1201 Commits

Author SHA1 Message Date
ZeroCool940711
857608c5f6 ... 2022-09-30 15:46:02 -07:00
Travis Fletcher
dff2d6e60f
Amd gpu docker (#1366)
# Description
AMD support can be built by prefixing your compose commands with 
`docker compose -f docker-compose.yml -f docker-compose.amd.yml ...`

or, by setting 
```
export COMPOSE_FILE=docker-compose.yml:docker-compose.amd.yml
```
in your `.profile` or through a tool like `direnv`


Closes: Discord #installation-packing:AMD, at least for Linux hosts

# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
2022-10-01 01:42:35 +03:00
Alejandro Gil
b66cb302ce
Improved img2txt layout and performance. (#1368) 2022-09-30 13:17:19 -07:00
Alejandro Gil
ebbd65a52c
Merge branch 'dev' into dev 2022-09-30 13:17:08 -07:00
ZeroCool940711
20a89a1233 Add more print statements to provide more info on whats happening behind the scenes. 2022-09-30 13:04:08 -07:00
ZeroCool940711
d8a8687852 Improved img2txt layout and performance. 2022-09-30 12:41:01 -07:00
hlky
f1a98997d6
Update img2txt.py 2022-09-30 19:54:01 +01:00
hlky
aa858e0114
Update img2txt.py 2022-09-30 19:52:14 +01:00
ZeroCool940711
3bb432162e Added open clip dependency which is needed for some CLIP models. 2022-09-30 08:47:30 -07:00
hlky
084fa9732f
Update img2txt.py 2022-09-30 10:40:02 +01:00
Alejandro Gil
9a88f524ba
Removed some left over comments on webui_streamlit.py (#1367) 2022-09-30 02:37:35 -07:00
ZeroCool940711
51b7c9ac31 Removed some left over comments on webui_streamlit.py 2022-09-30 02:05:16 -07:00
ZeroCool940711
8673363d71 Moved the css loading to be on sd_utils.py 2022-09-30 02:04:52 -07:00
ZeroCool940711
50bc2bb545 Fixed typo on the model manager 2022-09-30 02:04:32 -07:00
Travis Fletcher
aaa3be16e0
Img2text docker package updates (#1364)
# Description

Docker package sync

Closes: N/A

# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
2022-09-30 01:13:21 +03:00
Alejandro Gil
4cefd5463c
Img2txt is working now (#1360)
Img2txt is working and ready to use but needs more than 8GB of VRAM to
work for now. I will be trying to improve that as the next step.
2022-09-29 08:58:56 -07:00
ZeroCool940711
5445287bcf Img2txt working now but needs more than 8GB og VRAM to work. Will be trying to improve it as the next step. 2022-09-29 08:52:46 -07:00
ZeroCool940711
466cfde3fa More fixes for img2txt 2022-09-29 07:27:56 -07:00
Alejandro Gil
5a48782f13
Fixed custom models not loading on txt2img, img2img and txt2vid. (#1356) 2022-09-29 03:31:00 -07:00
ZeroCool940711
03c2693040 Merge remote-tracking branch 'origin/dev' into dev 2022-09-29 03:30:09 -07:00
ZeroCool940711
625ba555e3 Fixed custom models not loading on txt2img, img2img and txt2vid. 2022-09-29 03:29:44 -07:00
Alejandro Gil
9694811455
Made sure the txt2vid tab shows a loading animation when the models are loading. (#1355) 2022-09-29 01:09:41 -07:00
ZeroCool940711
ae263cb55e Made sure the txt2vid tab shows a loading animation when the models are loading. 2022-09-29 01:07:32 -07:00
ZeroCool940711
07d935b445 More fixes to img2txt 2022-09-29 01:07:32 -07:00
ZeroCool940711
f925e05e9e Added placeholder image for img2txt. 2022-09-29 01:07:32 -07:00
ZeroCool940711
063ed04781 Moved img2txt txt files to a subfolder on the data folder to keep things organized. 2022-09-28 22:44:25 -07:00
ZeroCool940711
8652603368 Hide anchor links buttons on titles. 2022-09-28 22:43:41 -07:00
hlky
3291384521
docs 2022-09-29 02:04:16 +01:00
Thomas Mello
621b04b158
chore: update docs (#1351)
* added front matter
* fixed links
* logo is removed until further consideration
2022-09-29 01:32:57 +01:00
Alejandro Gil
f678efb4e2
Img2txt dependencies and necessary files. (#1354) 2022-09-28 12:37:15 -07:00
Alejandro Gil
510d103a83
Temporary fix for the jumpy UI and tabs resetting to the first one. (#1353) 2022-09-28 10:02:08 -07:00
Alejandro Gil
3e40bab7f7
Changed the default streamlit import for hydralit as we will be using hydralit as replacement for the default streamlit library, hydralit provides better control over css as well as having a lot more options. (#1352) 2022-09-28 09:33:54 -07:00
Thomas Mello
3dd798dc1a
chore: update docs (#1351)
* added front matter
* fixed links
* logo is removed until further consideration
2022-09-28 14:18:56 +03:00
Joshua Kimsey
0cc41b903b
Initial overhaul of documentation (#1262)
Added documents for Streamlit and Gradio.
Added new screenshots for each respective version of the UI. Changed
`upscalers` to `image enhancers`.

Documents currently finished:
- linux-installation.md
- image-enhancers.md
- ReadMe

Documents currently still WIP:
- streamlit-interface.md
- gradio-interface.md

Documents still awaiting changes:
- windows-installation.md (I'll need help for this one)
- custom-models.md
- cli.md

Feedback is welcomed and needed on any changes that should happen for
the documents already finished.

(Also fixed small bug with the `webui_streamlit.yaml` file)

# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation

Co-authored-by: ZeroCool <ZeroCool940711@users.noreply.github.com>
Co-authored-by: Thomas Mello <work.mello@gmail.com>
2022-09-28 13:13:51 +03:00
Alejandro Gil
7bd785d28f
Bump gradio from 3.3.1 to 3.4 and transformers from 4.22.1 to 4.22.2 (#1348)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 20:34:57 -07:00
hlky
eb374e9084
Update environment.yaml 2022-09-27 22:03:56 +01:00
Alejandro Gil
1f4b564de4
Removed the models in case of OOM so we can reload them. (#1343) 2022-09-27 11:51:17 -07:00
Alejandro Gil
519d7c661f
Added new implementation of the textual inversion page. (#1342) 2022-09-27 11:36:48 -07:00
Travis Fletcher
f4676517d8
Added source to Docker image (#1329)
# Description
This will allow the image to be used outside of the repo (such as in a
service like runpod, or by a novice user who doesn't want to pull the
git repo and instead use `docker run ...`) once we start pushing the
images to Docker Hub.

Closes: Nothing, yet. This is a step in the direction of
`#installation-packing:Docker` in Discord.

# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
2022-09-27 16:07:29 +03:00
ZeroCool
8f2ed2f350
Added message on the text to video tab for specifying how to add the huggingface token if its missing. (#1339)
# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
2022-09-27 00:57:28 -07:00
ZeroCool
11155b39db
Bump transformers from 4.21.1 to 4.22.1 and pytorch-lightning from 1.7.6 to 1.7.7 (#1338)
# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-26 23:20:54 -07:00
ZeroCool
6bfb6a57ec
Changed realesrgan dependency to use pip instead. (#1337)
Changed realesrgan dependency to use pip instead of having to clone the
repository on the src folder, this should reduce the amount of stuff
that is on the src folder and that causes issues when updating.

# Checklist:

- [x ] I have changed the base branch to `dev`
- [ x] I have performed a self-review of my own code
2022-09-26 22:44:15 -07:00
ZeroCool
4d1d10bd48
Resolve #1333 -- Fix "TextInv Train Config Improper Load" (#1334)
* Fixed config args being double-loaded and not replacing the defaults.

Closes: #1333

# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
2022-09-26 22:03:56 -07:00
ZeroCool
633b761661
Merge branch 'dev' into dev-inv-conf 2022-09-26 21:55:10 -07:00
ZeroCool
382ec7b054
Fixed streamlit not opening on the browser automatically on run. (#1336) 2022-09-26 21:53:55 -07:00
ZeroCool
249ea4b0de
Merge branch 'sd-webui:dev' into dev 2022-09-26 21:53:26 -07:00
ZeroCool940711
fc994081e1 Fixed streamlit not opening on the browser automatically on run. 2022-09-26 21:53:06 -07:00
ZeroCool
1b35fc0bc8
Create dependabot.yml (#1335) 2022-09-26 21:49:35 -07:00
ZeroCool940711
877fb51f50 Removed "naclbit/trinart_stable_diffusion_v2" and "osanseviero/BigGAN-deep-128" from the list of models shown on the txt2vid custom list of models. 2022-09-26 21:49:10 -07:00
ZeroCool
773302af13
Bump realesrgan from 0.2.8 to 0.3.0 (#3)
Bumps [realesrgan](https://github.com/xinntao/Real-ESRGAN) from 0.2.8 to
0.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/xinntao/Real-ESRGAN/releases">realesrgan's
releases</a>.</em></p>
<blockquote>
<h2>Real-ESRGAN v0.3.0 Release Note</h2>
<p>🚀 Long time no see ☄️</p>
<p> <strong>Highlights</strong></p>
<p> <a
href="b827be13a1">add
realesr-general-x4v3 and realesr-general-wdn-x4v3</a>. They are very
tiny models for general scenes, and they may more robust. But as they
are tiny models, their performance may be limited.
 <a
href="576aaddfaf">support
denoise strength for realesr-general-x4v3</a>. You can use the
<strong>-dn</strong> option to adjust the denising strength. Denoise
strength. 0 for weak denoise (keep noise), 1 for strong denoise ability.
Only used for the realesr-general-x4v3 model.
 <a
href="61e81d3108">update
inference_video: support auto download</a>. You do not need to download
models explicitly. If the models are not download, they will be
downloaded automatically.</p>
<p> <a
href="cdc14b74a5">support
ffmpeg stream for inference_realesrgan_video</a>
 <a
href="8cb9bd403e">fix
colorspace bug &amp; support multi-gpu and multi-processing</a>
 <a
href="6b15fc6936">Added
GPU selection feature to python inference</a>
 <a
href="e5e79fbde3">deal
with flv format</a></p>
<p>📢📢📢</p>
<p><a
href="https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-x4v3.pth">https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-x4v3.pth</a></p>
<p><a
href="https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-wdn-x4v3.pth">https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-wdn-x4v3.pth</a></p>
<!-- raw HTML omitted -->
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="fa4c8a03ae"><code>fa4c8a0</code></a>
add github release workflow, v0.3.0</li>
<li><a
href="37a7c5726d"><code>37a7c57</code></a>
update readme, v0.2.9</li>
<li><a
href="382d5be582"><code>382d5be</code></a>
Merge branch 'master' of github.com:xinntao/Real-ESRGAN</li>
<li><a
href="61e81d3108"><code>61e81d3</code></a>
update inference_video: support auto download</li>
<li><a
href="8f5744bc51"><code>8f5744b</code></a>
Update README.md - Added Upscayl under GUI Apps list (<a
href="https://github-redirect.dependabot.com/xinntao/Real-ESRGAN/issues/423">#423</a>)</li>
<li>See full diff in <a
href="https://github.com/xinntao/Real-ESRGAN/compare/v0.2.8...v0.3.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=realesrgan&package-manager=pip&previous-version=0.2.8&new-version=0.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
2022-09-26 21:30:38 -07:00