Skip to content

Commit

Permalink
hako-mikan#316: hirresscaler expects a 4th parameter, h appears to be…
Browse files Browse the repository at this point in the history
… the correct variable to use here based on local tests.
  • Loading branch information
b65sol committed Jul 9, 2024
1 parent 4802fac commit 108a379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def main_forward(module,x,context,mask,divide,isvanilla = False,userpp = False,t

global pmaskshw,pmasks

if inhr and not hiresfinished: hiresscaler(height,width,attn)
if inhr and not hiresfinished: hiresscaler(height,width,attn,h)

if userpp and step > 0:
for b in range(attn.shape[0] // 8):
Expand Down

0 comments on commit 108a379

Please sign in to comment.