💦 CREATE AND FUCK YOUR OWN AI CUMSLUT 🔥 TRY NOW ♥
Create AI Cumsluts 💦
StreamDiffusionTD-0.1.4.tox 43.4 KB
February 15, 2024

StreamDiffusionTD 0.1.4

( 0.1.4 ) Fixes config / model error which would happen when first loading 0.1.3 due to not removing items from config.
Apologies if that caused any confusion, but glad it was pointed out to me so I could catch after only a few hours. Thank you to all who report bugs !!

Operator has been updated in the 0.1.3 post. 

Comments (36)

o
oscar dominguez · March 8, 2024

I have this problem and I don't know how to solve it: Process Process-4: Traceback (most recent call last): File "C:\test\StreamDiffusion\streamdiffusionTD\..\utils\wrapper.py", line 417, in _load_model pipe: StableDiffusionPipeline = StableDiffusionPipeline.from_pretrained( File "C:\test\StreamDiffusion\venv\lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 1090, in from_pretrained cached_folder = cls.download( File "C:\test\StreamDiffusion\venv\lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 1649, in download info = model_info( File "C:\test\StreamDiffusion\venv\lib\site-packages\huggingface_hub\utils\_validators.py", line 110, in _inner_fn validate_repo_id(arg_value) File "C:\test\StreamDiffusion\venv\lib\site-packages\huggingface_hub\utils\_validators.py", line 164, in validate_repo_id raise HFValidationError( huggingface_hub.utils._validators.HFValidationError: Repo id must use alphanumeric chars or '-', '_', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: 'C:\test\StreamDiffusion\sd_xl_turbo_1.0_fp16.safetensors'. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\multiprocessing\process.py", line 314, in _bootstrap self.run() File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) File "C:\test\StreamDiffusion\streamdiffusionTD\main_ndi.py", line 212, in image_generation_process stream = StreamDiffusionWrapper( File "C:\test\StreamDiffusion\streamdiffusionTD\..\utils\wrapper.py", line 152, in __init__ self.stream: StreamDiffusion = self._load_model( File "C:\test\StreamDiffusion\streamdiffusionTD\..\utils\wrapper.py", line 422, in _load_model pipe: StableDiffusionPipeline = StableDiffusionPipeline.from_single_file( File "C:\test\StreamDiffusion\venv\lib\site-packages\diffusers\loaders\single_file.py", line 261, in from_single_file pipe = download_from_original_stable_diffusion_ckpt( File "C:\test\StreamDiffusion\venv\lib\site-packages\diffusers\pipelines\stable_diffusion\convert_from_ckpt.py", line 1745, in download_from_original_stable_diffusion_ckpt pipe = pipeline_class( TypeError: StableDiffusionPipeline.__init__() got an unexpected keyword argument 'text_encoder_2'

R
Roberto Alesi · March 17, 2024

Did you solve it?

各
各均 鄭 · February 22, 2024

seems that I can't change resolution like v0.1.2~~

D
DotSimulate · February 23, 2024

if using tensorrt you are stuck to 512x512.

N
Nick Candler · February 22, 2024

Hi! I have been trying to install this for hours. TouchDesigner's python interpreter is set to 3.11 in my version, but my conda env is 3.10.1 If I don't set the system path to my environment with python==3.10.1, I get no errors in the module, but I get an error on when I try to install SD saying no python 3.10.1 executable can be found. If I set my sys.path to my conda environment with python=3.10.1, the error disappears but instead I fail to import numpy. This is the error: "Please note and check the following: * The Python version is: Python3.11 from "C:\Program Files\Derivative\TouchDesigner\bin\TouchDesigner.exe" * The NumPy version is: "1.24.1" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: No module named 'numpy.core._multiarray_umath'" I suspect it's an issue between TD's chosen interpreter and my environment libraries..... but I can't figure it out.

M
Mark · February 22, 2024

Hi DotSimulate, I'm having problems when I try to Start Stream I get errors where it can't fine "par". I don't know how to get it working. https://drive.google.com/file/d/1QgmSWEiR26hnwxP3Gy6LpNcV5RF-iNJ4/view Thank you.

D
DotSimulate · February 22, 2024

Im guessing that you are on 2023 experimental release and not TD post ofifical 2023 release. Upgrading to official 2023 should fix.

I
Indra's Mirror · February 21, 2024

Edit: Solved - figured it out, I'm stll only getting around 11 FPS, is there a way to boost it? or is that kind of the standard? Hi Dot, thank you so much for your SD tox in TD, it's been amazing, I just had a question, I'm getting about 10-15 FPS with SD-Turbo and Dreamshaper 8, when I try run it with Custom LCM, it doesnt seem to work. When loading Custom LCM it only lets me select a folder, do I select my LCM lora folder and run it with the LCM lora active in Lora?

D
DotSimulate · February 21, 2024

For the LCM or VAE, they need to be in diffuser format and you should link the folder. The fourth pulse in the Install page will download the two locally and will should you the file structure.

L
Lorenzo Forges · February 21, 2024

Hi, thanks for the reply. anyway I checked and I have already installed venv in the base folder.

L
Lorenzo Forges · February 21, 2024

Hi there! when i start the stream i get an error saying: Traceback (most recent call last): file "C:\Streamdiffusion\streamdiffusionID\main_ndi.py", line 20, in from utils.viewer import receive_images ModuleNotFoundError: no module named 'utils'

D
DotSimulate · February 21, 2024

Make sure to have the Basefolder set correctly to your working install of StreamDiffusion (folder with venv inside). if venv doesn't exist, you need to hit the Install SD pulse and wait for it to download all of the required python libraries.

J
Julii Haid · February 20, 2024

raise HFValidationError( huggingface_hub.utils._validators.HFValidationError: Repo id must use alphanumeric chars or '-', '_', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: ''. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Usuario\AppData\Local\Programs\Python\Python310\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() File "C:\Users\Usuario\AppData\Local\Programs\Python\Python310\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) File "C:\StreamDiffusion\StreamDiffusion\streamdiffusionTD\main_ndi.py", line 212, in image_generation_process stream = StreamDiffusionWrapper( File "C:\StreamDiffusion\StreamDiffusion\streamdiffusionTD\..\utils\wrapper.py", line 152, in __init__ self.stream: StreamDiffusion = self._load_model( File "C:\StreamDiffusion\StreamDiffusion\streamdiffusionTD\..\utils\wrapper.py", line 422, in _load_model pipe: StableDiffusionPipeline = StableDiffusionPipeline.from_single_file( File "C:\StreamDiffusion\StreamDiffusion\venv\lib\site-packages\diffusers\loaders\single_file.py", line 235, in from_single_file raise ValueError( ValueError: The provided path is either not a file or a valid huggingface URL was not provided. Valid URLs begin with https://huggingface.co/, huggingface.co/, hf.co/, https://hf.co/

D
DotSimulate · February 21, 2024

ffor the Model ID / Path parameter in StreamDiffusionTD tox, make sure to use forward slash in huggingface id or the full file path to a 1.5 .safetensors model file path. In the 0.1.3 release post, I have instructions on how to load the sd-turbo model locally, but for now I would advise using the normal huggingface id or 1.5 model if it is working. Everytime the stream starts, it normally checks model info with the huggingface api, which has caused a few issue for some when starting the stream, such as the one you hit.

d
dvdbrg · February 20, 2024

hi there ! is it possible to do img2img with streamdiffusion ? i was playing with the weights but it seems it sticking to the prompt.

B
Blubber Kumpel · February 20, 2024

yes it is

J
Janus · February 19, 2024

after pressing on Install TensorRT I have this error: note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for tensorrt Failed to build tensorrt ERROR: Could not build wheels for tensorrt, which is required to install pyproject.toml-based projects Error running command: -m pip install --pre --extra-index-url https://pypi.nvidia.com tensorrt==9.0.1.post11.dev4 --no-cache-dir Traceback (most recent call last): File "C:\Users\matte\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\matte\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "D:\StreamDiffusion\venv\lib\site-packages\streamdiffusion\tools\install-tensorrt.py", line 54, in fire.Fire(install) File "D:\StreamDiffusion\venv\lib\site-packages\fire\core.py", line 141, in Fire component_trace = _Fire(component, args, parsed_flag_args, context, name) File "D:\StreamDiffusion\venv\lib\site-packages\fire\core.py", line 475, in _Fire component, remaining_args = _CallAndUpdateTrace( File "D:\StreamDiffusion\venv\lib\site-packages\fire\core.py", line 691, in _CallAndUpdateTrace component = fn(*varargs, **kwargs) File "D:\StreamDiffusion\venv\lib\site-packages\streamdiffusion\tools\install-tensorrt.py", line 33, in install run_pip( File "D:\StreamDiffusion\venv\lib\site-packages\streamdiffusion\pip_utils.py", line 52, in run_pip return run_python(f"-m pip {command}", env) File "D:\StreamDiffusion\venv\lib\site-packages\streamdiffusion\pip_utils.py", line 46, in run_python raise RuntimeError(f"Error running command: {command}") RuntimeError: Error running command: -m pip install --pre --extra-index-url https://pypi.nvidia.com tensorrt==9.0.1.post11.dev4 --no-cache-dir TensorRT installation finished

J
Janus · February 20, 2024

Solved!

S
So You Think You’re an Artist · February 19, 2024

digging around a bit, i think we want to use models that are tagged "stableDiffusionPipeline" such as runwayml/stable-diffusion-v1-5 or stablediffusionapi/juggernaut-xl-v8 the version of juggernaut I was trying to use is a RunDiffusion model

S
So You Think You’re an Artist · February 19, 2024

What are the requirements for the models? I was able to get Realistic_Vision_V6 to load, which is an SD1.5 model, but it doesn't want to load an SDXL1.0 model such as JuggernautXL_V8

D
DotSimulate · February 19, 2024

yep it supports 1.5 models and sd-turbo (which is 2.1 based)

f
fawce · February 18, 2024

Great stuff, works like a dream 🤘🏻

D
Davey Donaldson · February 17, 2024

hey so I cannot get the stream to start on any of these, is there a troubleshooting info?? I have followed the youtube video but I just cannot get the stream to start, any help is always appreciated

S
Santiago Torres G. · February 16, 2024

Hey DotSimulate, magnificent work doing this integration, thanks a lot man. It'd be great to have a tutorial so we can learn how to setup this new version.

G
Giulio Pernice · February 16, 2024

hi awesome work i have a problem with not squared resolution can you help me?

D
DotSimulate · February 21, 2024

if using tensorrt, 512x512 is the only resolution supported.

F
FHZ · February 16, 2024

Awesome work man!, Like to join the discord :)

S
So You Think You’re an Artist · February 15, 2024

another error with the tensorrt. {SOLVED] I also had this error trying to install StreamDiffusion directly using their instructions on the github repo. RuntimeError: Error running command: -m pip install --pre --extra-index-url https://pypi.nvidia.com tensorrt==9.0.1.post11.dev4 --no-cache-dir the error on line 34: StreamDiffusion\venv\lib\site-packages\streamdiffusion\toos\install-tensorrt.py and this appears to go all the way up the chain to Nvidia. if you goto the https://pypi.org/project/tensorrt/9.0.1.post11.dev4/ site you'll find this: WARNING: This project is not functional and is a placeholder from NVIDIA. To install, please execute the following: pip install --no-cache-dir --extra-index-url https://pypi.nvidia.com tensorrt replacing the erroneous line with the one from pypi installed tensorrt 9.3.0.post12.dev1

D
DotSimulate · February 15, 2024

I have a pull request in the repo for that. Will likely fork the repo soon so I can have more adjustment overall. https://github.com/cumulo-autumn/StreamDiffusion/pull/122

S
So You Think You’re an Artist · February 15, 2024

When I click on "Install SD" (after cloning the git repo) nothing happens. I see two windows open and close very quicky. no venv folder gets created. I tried clicking on "Download/Update SD" and update repo and I also see a window flash onscreen very briefly. the textport reported: ==================================== Installation Details: ------------------------------------ Python 3.10 executable: C:\Users\tsepe\AppData\Local\Microsoft\WindowsApps\python.exe CUDA version: cu121 Base folder for venv: C:/Users/tsepe/Documents/StreamDiffusionProject/StreamDiffusion Installing packages for: StreamDiffusionTD ==================================== Writing batch file for installation... Executing batch file: StreamDiffusion\Install_StreamDiffusion.bat StreamDiffusion installation initiated with detected Python 3.10 and CUDA version. python >>> The start and install bat files were created in the folder but it seems the Install_StreamDiffusion.bat didn't want to run from TD. So I opened a command prompt and ran it directly so I could watch the output.

D
DotSimulate · February 15, 2024

Did it run the installation .bat when running outside TD?

영
영태 김 · February 15, 2024

When I run it, this error appears. What is the reason? NotImplementedError: Cannot copy out of meta tensor; no data!

D
DotSimulate · February 15, 2024

I would need more of the message. Could you send via message

A
Andrea Tamburrini · February 15, 2024

when installing venv + all req there is an issue due to nvidia-pyindex. I ll try try fresch install

I
Imri Shavit · February 16, 2024

Resolved? same issue

j
json parser · February 15, 2024

Thanks as always mate!