Comments (7)
after i copy and change some line from TheLastBen's Fast SD latest commit it start working. But i need to launch it twice to get it working, since some file only exist after the first launch. Here is how it looks now:
!pip install -q https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15.dev0+189828c.d20221207-cp38-cp38-linux_x86_64.whl
!git clone https://github.com/camenduru/stable-diffusion-webui
!git clone https://github.com/deforum-art/deforum-for-automatic1111-webui /content/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui
!git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser
!git clone https://github.com/camenduru/stable-diffusion-webui-huggingface /content/stable-diffusion-webui/extensions/stable-diffusion-webui-huggingface
%cd /content/stable-diffusion-webui
!wget https://huggingface.co/camenduru/sd15/resolve/main/v1-5-pruned-emaonly.ckpt -O /content/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.ckpt
!sed -i 's@"multiple_tqdm": true,@\"multiple_tqdm": false,@' /content/stable-diffusion-webui/config.json
!sed -i '902s@.*@ self.logvar = self.logvar.to(self.device)@' /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/diffusion/ddpm.py
!python launch.py --share --force-enable-xformers
Is there any method to make it start working on first launch?
from stable-diffusion-webui-colab.
thanks @NA-ID ❤ I will check
from stable-diffusion-webui-colab.
AUTOMATIC1111/stable-diffusion-webui#3958 (comment)
from stable-diffusion-webui-colab.
Is there any method to make it start working on first launch?
hi @NA-ID you can use like this
!sed -i -e '''/prepare_environment()/a\ os.system\(f\"""sed -i -e ''\"s/self.logvar\\[t\\]/self.logvar\\[t.item()\\]/g\"'' /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/diffusion/ddpm.py""")''' /content/stable-diffusion-webui/launch.py
from stable-diffusion-webui-colab.
logvar_t = self.logvar[t].to(self.device)
to logvar_t = self.logvar[t.item()].to(self.device)
from stable-diffusion-webui-colab.
Stability-AI/stablediffusion#119
from stable-diffusion-webui-colab.
example usages
https://github.com/camenduru/stable-diffusion-webui-colab/blob/main/stable_diffusion_1_5_webui_colab.ipynb
https://github.com/camenduru/stable-diffusion-webui-colab/blob/main/stable_diffusion_v2_webui_colab.ipynb
from stable-diffusion-webui-colab.
Related Issues (20)
- How to setup extensions in colab stable diffusion webui? (failing to setup Animatediff…)
- [Bug]: I do not know how to use. HOT 2
- [Bug]: controlnet HOT 6
- [Bug]: Unable to use self-uploaded VAE models
- [Bug]: I can't load the lora model
- [Bug]: Does anybody know why sometimes this is happening? HOT 1
- [Bug]: not available HOT 6
- [Bug]: Wrong version of torchvision/pytorch
- [Bug]: After installing via Google Colab, running the script suggests that TensorRT is not found. HOT 1
- [Bug]: Cannot create image
- [Bug]: Cannot select model. (Stuck in looding)
- [Bug]: TypeError: kill() missing 1 required positional argument: 'self' HOT 7
- [Bug]: AttributeError: module 'modules.ui_components' has no attribute 'InputAccordion' HOT 6
- [Bug]: error HOT 3
- [Bug]:: xFormers can't load C++/CUDA extensions.
- [Bug]: ControlNet is gone in stable release, in nightly it's still there. HOT 1
- [Bug]: lora dreambooth reported an error
- 🚨[Bug]: ADetailer plug-in cannot be displayed in the webui page
- [Bug]: what‘s happen,can not work HOT 3
- [Bug]: TypeError: AsyncConnectionPool.__init__() got an unexpected keyword argument 'socket_options'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stable-diffusion-webui-colab.