Update nodes.py

This commit is contained in:
Extraltodeus
2024-06-08 02:21:29 +02:00
committed by GitHub
parent 26152e1343
commit d94c3d1ca5
+1 -4
View File
@@ -43,10 +43,7 @@ class temperature_patcher():
if self.eval_string != "":
out = eval(self.eval_string)
else:
if self.model_name == "SDXL":
out *= math.log(q.size(-2)*(q.size(-1)**2/ldim), ldim)
else:
out *= math.log(q.size(-2), ldim)
out *= math.log(q.size(-2), ldim)
out = (
out.transpose(1, 2).reshape(b, -1, heads * dim_head)