Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
9ba44099
Commit
9ba44099
authored
Jul 18, 2023
by
comfyanonymous
Browse files
It's actually possible to torch.compile the unet now.
parent
51d54775
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
comfy/ldm/modules/attention.py
comfy/ldm/modules/attention.py
+1
-1
No files found.
comfy/ldm/modules/attention.py
View file @
9ba44099
...
...
@@ -36,7 +36,7 @@ def uniq(arr):
def
default
(
val
,
d
):
if
exists
(
val
):
return
val
return
d
()
if
isfunction
(
d
)
else
d
return
d
def
max_neg_value
(
t
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment