mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-03-22 14:20:39 -07:00
ci(M01): expose sgm.modules.diffusionmodules.model and openaimodel
Made-with: Cursor
This commit is contained in:
parent
28d006b1ab
commit
e280ac5d71
1 changed files with 4 additions and 1 deletions
|
|
@ -68,7 +68,10 @@ def main() -> None:
|
|||
"class CrossAttention:\n def forward(self, *a, **k): pass\n"
|
||||
"\nSDP_IS_AVAILABLE = True\nXFORMERS_IS_AVAILABLE = False\n",
|
||||
)
|
||||
touch(os.path.join(REPOS, gm, "sgm", "modules", "diffusionmodules", "__init__.py"))
|
||||
touch(
|
||||
os.path.join(REPOS, gm, "sgm", "modules", "diffusionmodules", "__init__.py"),
|
||||
"from . import model, openaimodel\n",
|
||||
)
|
||||
touch(
|
||||
os.path.join(REPOS, gm, "sgm", "modules", "diffusionmodules", "model.py"),
|
||||
"class AttnBlock:\n def forward(self, *a, **k): pass\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue