Closed GrishDaProgrammer closed 1 year ago
Tried, but couldn't replicate unfortunately.
Windows 11, same git commits as yours.
How this looks at yours?
From webui settings -->ModelScopeTxt2Vid section.
Same settings, GPU on half precision and not saving the model to VRAM.
Also getting the same error. Was working fine before latest update. Windows 11
try to delete those 2 files from your root of webui folder:
then relaunch webui and retest.
Same error after deleting above files and restarting
It works now after going to the settings and checking “keep model in VRAM…..”
It works now after going to the settings and checking “keep model in VRAM…..”
Thanks!
The combo of removing (then restarting A111) config.json ui-config.json
&
Running with Keep model in VRAM checked avoids the bug.
Is there an existing issue for this?
Are you using the latest version of the extension?
What happened?
All txt2img generations resulting in:
Exception occurred: argument of type 'NoneType' is not iterable
I have triple checked the installation instructions and re-downloaded the models, in an attempt to prevent simple oversight.
Steps to reproduce the problem
ModelScope text2video extension for auto1111 webui Git commit: c8335de9 (Mon Mar 27 19:49:45 2023) Starting text2video Pipeline setup config namespace(framework='pytorch', task='text-to-video-synthesis', model={'type': 'latent-text-to-video-synthesis', 'model_args': {'ckpt_clip': 'open_clip_pytorch_model.bin', 'ckpt_unet': 'text2video_pytorch_model.pth', 'ckpt_autoencoder': 'VQGAN_autoencoder.pth', 'max_frames': 16, 'tiny_gpu': 1}, 'model_cfg': {'unet_in_dim': 4, 'unet_dim': 320, 'unet_y_dim': 768, 'unet_context_dim': 1024, 'unet_out_dim': 4, 'unet_dim_mult': [1, 2, 4, 4], 'unet_num_heads': 8, 'unet_head_dim': 64, 'unet_res_blocks': 2, 'unet_attn_scales': [1, 0.5, 0.25], 'unet_dropout': 0.1, 'temporal_attention': 'True', 'num_timesteps': 1000, 'mean_type': 'eps', 'var_type': 'fixed_small', 'losstype': 'mse'}}, pipeline={'type': 'latent-text-to-video-synthesis'}) device cuda Working in txt2vid mode 0%| | 0/1 [00:00<?, ?it/s]latents torch.Size([1, 4, 24, 32, 32]) tensor(0.0008, device='cuda:0') tensor(1.0006, device='cuda:0') DDIM sampling tensor(1): 100%|██████████████████████████████████████████████████████████████████████████████████| 31/31 [00:43<00:00, 1.40s/it] Traceback (most recent call last):██████████████████████████████████████████████████████████████████████████████| 31/31 [00:43<00:00, 1.30s/it] File "C:\Users\XXX\stable-diffusion-webui\extensions\sd-webui-modelscope-text2video\scripts\modelscope-text2vid.py", line 160, in process samples, = pipe.infer(prompt, n_prompt, steps, frames, seed + batch if seed != -1 else -1, cfg_scale, File "C:\Users\XXX\stable-diffusion-webui\extensions\sd-webui-modelscope-text2video\scripts\t2v_pipeline.py", line 255, in infer if 'CPU' in cpu_vae: TypeError: argument of type 'NoneType' is not iterable Exception occurred: argument of type 'NoneType' is not iterable
What should have happened?
No response
WebUI and Deforum extension Commit IDs
webui commit id - 955df77 txt2vid commit id -c8335de9
What GPU were you using for launching?
3060 -12 gb
On which platform are you launching the webui backend with the extension?
No response
Settings
Console logs
Additional information
Windows 10 running locally.