"...git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "9f4485c16fd08039bf1fced5e43d75a405a763d3"
Commit 39e75862 authored by comfyanonymous's avatar comfyanonymous
Browse files

Fix regression from last commit.

parent 50dc39d6
......@@ -428,8 +428,8 @@ class BasicTransformerBlock(nn.Module):
def _forward(self, x, context=None, transformer_options={}):
extra_options = {}
block = None
block_index = 0
block = transformer_options.get("block", None)
block_index = transformer_options.get("block_index", 0)
transformer_patches = {}
transformer_patches_replace = {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment