Skip to content
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

sd-webui-agent-scheduler Extension not working in SD Forge version: f2.0.1v1.10.1-previous-418-g0f3309eb (works OK in A1111) #1782

Open
raffetazarius opened this issue Sep 10, 2024 · 2 comments

Comments

@raffetazarius
Copy link

Extension: https://github.com/ArtVentureX/sd-webui-agent-scheduler
AFAIK this is the predominant scheduler for A1111 (and offshoots thereof).


I've attempted to uninstall and reinstall the extension with no success.

I'm getting the below error when SD Forge starts up - excerpt from startup Terminal feed relevant to this issue - full script is

I'm on MacBook M3 Max 40-core GPU 128GB RAM on MacOS 14.6.1.
Footer of SD Forge says: version: f2.0.1v1.10.1-previous-418-g0f3309eb  •  python: 3.10.13  •  torch: 2.4.0.dev20240406  •  xformers: N/A  •  gradio: 4.40.0  •  checkpoint: db51618546

[-] ADetailer initialized. version: 24.8.0, num models: 16
Using sqlite file: /Users/privateuser/stable-diffusion-webui-forge/extensions/sd-webui-agent-scheduler/task_scheduler.sqlite3
*** Error loading script: task_scheduler.py
    Traceback (most recent call last):
      File "/Users/privateuser/stable-diffusion-webui-forge/modules/scripts.py", line 525, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "/Users/privateuser/stable-diffusion-webui-forge/modules/script_loading.py", line 13, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "/Users/privateuser/stable-diffusion-webui-forge/extensions/sd-webui-agent-scheduler/scripts/task_scheduler.py", line 24, in <module>
        from agent_scheduler.task_runner import TaskRunner, get_instance
      File "/Users/privateuser/stable-diffusion-webui-forge/extensions/sd-webui-agent-scheduler/agent_scheduler/task_runner.py", line 26, in <module>
        from .db import TaskStatus, Task, task_manager
      File "/Users/privateuser/stable-diffusion-webui-forge/extensions/sd-webui-agent-scheduler/agent_scheduler/db/__init__.py", line 6, in <module>
        from .task import TaskStatus, Task, TaskManager
      File "/Users/privateuser/stable-diffusion-webui-forge/extensions/sd-webui-agent-scheduler/agent_scheduler/db/task.py", line 22, in <module>
        from ..models import TaskModel
      File "/Users/privateuser/stable-diffusion-webui-forge/extensions/sd-webui-agent-scheduler/agent_scheduler/models.py", line 53, in <module>
        class Txt2ImgApiTaskArgs(StableDiffusionTxt2ImgProcessingAPI):
      File "/Users/privateuser/stable-diffusion-webui-forge/extensions/sd-webui-agent-scheduler/agent_scheduler/models.py", line 71, in Txt2ImgApiTaskArgs
        class Config(StableDiffusionTxt2ImgProcessingAPI.__config__):
      File "/Users/privateuser/stable-diffusion-webui-forge/venv/lib/python3.10/site-packages/pydantic/_internal/_model_construction.py", line 237, in __getattr__
        raise AttributeError(item)
    AttributeError: __config__

---
CHv1.8.11: Set Proxy: 

SD Forge startup.txt

@raffetazarius
Copy link
Author

The extension works OK in my "vanilla" (non-Forge) A1111 installation:

version: v1.8.0  •  python: 3.10.14  •  torch: 2.1.0  •  xformers: N/A  •  gradio: 3.41.2  •  checkpoint: ec60932651

@raffetazarius
Copy link
Author

Filed here with the extension developer ArtVentureX - ArtVentureX/sd-webui-agent-scheduler#253

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant