We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2174ce5 + e0be7a8 commit d4f02b8Copy full SHA for d4f02b8
modules/sd_hijack_optimizations.py
@@ -54,7 +54,7 @@ class SdOptimizationXformers(SdOptimization):
54
priority = 100
55
56
def is_available(self):
57
- return shared.cmd_opts.force_enable_xformers or (shared.xformers_available and torch.cuda.is_available() and (6, 0) <= torch.cuda.get_device_capability(shared.device) <= (9, 0))
+ return shared.cmd_opts.force_enable_xformers or (shared.xformers_available and torch.cuda.is_available() and (6, 0) <= torch.cuda.get_device_capability(shared.device) <= (12, 0))
58
59
def apply(self):
60
ldm.modules.attention.CrossAttention.forward = xformers_attention_forward
0 commit comments