-
-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Extension]: Agent Scheduler not working #1506
Comments
Issue is happening with both on Auto1111 installation that is near-identical with extensions and settings as well :( |
I checked and I have CLIP models installed |
delete the folder clip-interrogator-ext on extensions-builtin, install this one : it installs by default in the extensions folder, move it in extensions-builtin. |
Give me a day and I'll check. |
I personally uninstalled the agent scheduler because it was throwing errors at startup and was not working anymore. I am sure it is not a problem with automatic. I did not try reinstalling and it's quite possible that a hard rest on the extension's repo might have helped, but as I do not use it, I just let it go. One with the same problem might want to try hard resetting and cleaning the extension's repo. |
If you don't use it, feel free to do whatever you like. |
i've just tried interrogator (4d865c54) and agent scheduler (9180642e), latest updates for both and both are working fine on my system. @HarrisTerry can you create separate issue for interrogator (if issue persists) and we'll use this one for agent scheduler - cannot deal with two unrelated things in a same thread. and post actual log leading up to
can you show them?
if you write prompt, click enqueue and go to agent scheduler tab, what do you see there? before running reinstall, its much simpler/faster to delete config first to use default values. reinstall is very rarely needed and if issue is config, it will still use that same config after reinstall. |
@vladmandic idk if this has anything to do with it, but i get this error with the newest version(my console gets spammed with that error):
|
Could be related, don't know since issue was created without logs. This looks like bug (race condition) in extension where extension is trying to read it's options just before it actually initialized them for the first time. Can you create issue upstream with your back trace and this info? Author normally pays attention to that pretty fast. |
Hmm, I just reinstalled and pressed "no" for default model, pasted in the models I already had downloaded and got this same error as OP.
Now I reinstalled using webui.bat --reinstall This is the log from what is happening now:
Note: When completely installing from scratch in a new folder and downloading the default model it starts.
So - after letting it run with spamming AttributeErrors for two minutes or so both installations managed to launch. |
startup error with latest agent-scheduler is tracked under #1518 |
Usually, when you click the button to place an order, the word "Enqueue" changes to "Queued". But for me, nothing happens and the table still doesn't show up in the extension tab. I've tried deleting the "config.json" file, but that didn't fix the problem. Version Platform Description Version: c80b1eb Tue Jun 27 10:28:47 2023 -0400 |
@Eagle07-Sudo are you on latest version of extension? post version here. |
Yep, both of them have been updated. The sd-webui-agent-scheduler is at version 84310be8, last updated on Tue Jun 27 2023 at 12:35. The stable-diffusion-webui is at version c80b1eb, last updated on Tue Jun 27 2023 at 10:28:47 -0400. I checked the error log in my Microsoft Edge browser and found four errors. The first three errors occurred when I launched the app, and the fourth error happened after I clicked "Enqueue". Here's a screenshot of the errors: |
@Eagle07-Sudo the question is why as i've tested with edge 114 (latest release) and 117 (latest canary) and this does not happen. |
Sorry for keep asking, although it seems like this issue has become specific to my case only. However, none of the solutions below work for me:
How can I solve a such problem? Additional note: I have been experiencing this problem for only a few days. |
what is the full url of the js script that is not loading? screenshot crops it |
@Eagle07-Sudo its not just you, I have the exact issue. I gave up worrying about it lol, but the exact same thing happens - nothing when I click the button. I have tons of extensions installed, however, and atm I doubt I am going to uninstall one at a time to find a culprit. This and the Interrogator were broken, now the Interrogator works.... I just figured eventually Agent Scheduler would be back online! 18:29:13-238849 INFO Starting SD.Next Running on local URL: http://127.0.0.1:7860 |
@HarrisTerry you have exactly the same problem with js script rejected in the browser inspector? |
I have the same issue in regards to the extension doing nothing and the
button doing nothing, sorry for any confusion
…On Tue, Jun 27, 2023 at 8:15 PM Vladimir Mandic ***@***.***> wrote:
its not just you, I have the exact issue.
@HarrisTerry <https://github.com/HarrisTerry> you have exactly the same
problem with js script rejected in the browser inspector?
—
Reply to this email directly, view it on GitHub
<#1506 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ3EMWDM5YGADJ2SIV3VEU3XNNZRVANCNFSM6AAAAAAZTDWOD4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I got the same problem. I found the solution in the sd-webui-agent-scheduler troubleshooting. |
Here is that soultion, I am wondering what Vlado thinks of it, as I am always wary of messing with my registry "I tried removing the venv folder and letting it reinitialize but no luck. After some investigation I found the cause of my issue to be a registry error. Computer\HKEY_CLASSES_ROOT.mjs had the Content Type set to text/plain. I reset it to application/javascript and rebooted and everything is working now. Open the Registry Editor Thoughts? |
@SignalFlagZ Thank you so much for sharing this helpful solution! I followed the steps mentioned in this guide, then I restarted my computer and cleared the browser's cache and cookies once again. And guess what? It worked perfectly! I'm really grateful for your assistance. |
its a valid solution, but instead of forcing os/browser to do the right thing, it can be handled better in the extension itself, i've created upstream issue SipherAGI/sd-webui-agent-scheduler#54 for that. |
closing as recommendations have been implemented upstream. |
Issue Description
OK so as of now, I am having issues with two extensions:
Agent Scheduler - doing nothing. Enque does nothing, no idea what's happening, just does nothing.
Interrogator: Says Loading CLIP Interrogator 0.5.4... but it never does anything, just endlessly tics the time away. I read in a thread Transformers was needed for it to work, I am not sure if that is xformers but I know my SDNext startup says I do not have that, should that be autoinstalled?
Anyhow, those two are not working at all for me.
Version Platform Description
Win11, 3070ti 8GB, 64GB RAM, 12700k 5ghz
Already up to date.
Using VENV: D:\AI\Vlad1111\automatic\venv
07:56:21-839534 INFO Starting SD.Next
07:56:21-844855 INFO Python 3.10.9 on Windows
07:56:21-873225 INFO Version: 4867daf Fri Jun 23 08:00:51 2023 -0400
07:56:22-244599 INFO nVidia CUDA toolkit detected
07:56:25-642828 INFO Torch 2.0.0+cu118
07:56:25-651832 INFO Torch backend: nVidia CUDA 11.8 cuDNN 8700
07:56:25-653832 INFO Torch detected GPU: NVIDIA GeForce RTX 3070 Ti VRAM 8192 Arch (8, 6) Cores 48
07:56:25-746510 WARNING Modified files: ['webui.bat']
07:56:25-781243 INFO Disabled extensions-builtin: ['TemporalKit', 'sd-webui-panorama-viewer']
07:56:25-781591 INFO Enabled extensions-builtin: ['a1111-sd-webui-lycoris', 'clip-interrogator-ext', 'LDSR', 'Lora',
'multidiffusion-upscaler-for-automatic1111', 'ScuNET', 'sd-dynamic-thresholding',
'sd-extension-aesthetic-scorer', 'sd-extension-steps-animation', 'sd-extension-system-info',
'sd-webui-agent-scheduler', 'sd-webui-controlnet', 'sd-webui-model-converter', 'seed_travel',
'stable-diffusion-webui-images-browser', 'stable-diffusion-webui-rembg', 'SwinIR']
07:56:25-790663 INFO Disabled extensions: ['TemporalKit', 'sd-webui-panorama-viewer']
07:56:25-791663 INFO Enabled extensions: ['a1111-mini-paint', 'a1111-sd-webui-haku-img',
'a1111-sd-webui-tagcomplete', 'adetailer', 'deforum-for-automatic1111-webui',
'instruct-pix2pix', 'sd-dynamic-prompts', 'sd-webui-3d-open-pose-editor', 'sd-webui-ar',
'sd-webui-aspect-ratio-helper', 'sd-webui-cutoff', 'sd_webui_SAG',
'stable-diffusion-webui-state', 'ultimate-upscale-for-automatic1111']
07:56:25-808954 INFO No changes detected: Quick launch active
07:56:25-818084 INFO Extension preload: 0.0s D:\AI\Vlad1111\automatic\extensions-builtin
07:56:25-820084 INFO Extension preload: 0.0s D:\AI\Vlad1111\automatic\extensions
07:56:25-841084 INFO Server arguments: ['--autolaunch']
No module 'xformers'. Proceeding without it.
07:56:36-655177 INFO Libraries loaded
07:56:36-657177 INFO Using data path: D:\AI\Vlad1111\automatic
07:56:36-660742 INFO Available VAEs: D:\AI\Stable Diffusion\stable-diffusion-webui\models\VAE 4
07:56:36-678762 INFO Available models: D:\AI\Stable Diffusion\stable-diffusion-webui\models\Stable-diffusion 30
07:56:38-264914 INFO ControlNet v1.1.225
ControlNet v1.1.225
ControlNet preprocessor location: D:\AI\Vlad1111\automatic\extensions-builtin\sd-webui-controlnet\annotator\downloads
07:56:38-521337 INFO ControlNet v1.1.225
ControlNet v1.1.225
[-] ADetailer initialized. version: 23.6.3, num models: 8
07:56:40-505185 INFO Libraries loaded
Libraries loaded
07:56:40-884745 INFO Loading UI theme: name=gradio/default style=Dark
add tab
Deforum ControlNet support: enabled
Loading general settings...
reading custom settings from deforum_settings.txt
legacy_colormatch is missing from settings file, so we are setting it to True for backwards compatability. You are welcome to test your file with that setting being disabled for better color coherency.
Running on local URL: http://127.0.0.1:7860
07:56:44-262798 INFO Local URL: http://127.0.0.1:7860/
07:56:44-265071 INFO Initializing middleware
07:56:44-768383 INFO Model metadata saved: D:\AI\Vlad1111\automatic\metadata.json 1
Loading weights: D:\AI\Stable Diffusion\stable-diffusion-webui\models\Stable-diffusion\absolutereality_v10.safetensors
07:56:45-619298 INFO Setting Torch parameters: dtype=torch.float16 vae=torch.float16 unet=torch.float16
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading weights: D:\AI\Stable Diffusion\stable-diffusion-webui\models\VAE\vae-ft-mse-840000-ema-pruned.safetensors ━ -…
07:56:50-724131 INFO Applying scaled dot product cross attention optimization
07:56:50-798463 INFO Embeddings: loaded=77 skipped=3
07:56:50-803464 INFO Model loaded in 5.8s (load=0.6s config=0.1s create=0.2s apply=3.5s vae=0.8s move=0.6s
embeddings=0.1s)
07:56:51-003512 INFO Model load finished: {'ram': {'used': 9.53, 'total': 63.8}, 'gpu': {'used': 3.12, 'total':
8.0}, 'retries': 0, 'oom': 0} cached=1
07:56:51-285517 INFO Startup time: 25.4s (torch=7.1s gradio=1.3s libraries=2.4s codeformer=0.1s scripts=4.0s
onchange=0.1s ui=3.2s launch=0.2s app-started=0.5s checkpoint=6.5s)
07:56:51-287517 INFO Launching browser
URL link of the extension
https://github.com/pharmapsychotic/clip-interrogator-ext
URL link of the issue reported in the extension repository
No response
Acknowledgements
The text was updated successfully, but these errors were encountered: