"vscode:/vscode.git/clone" did not exist on "587f89fe5a8e2bcb389fb4919dc33c330320fa41"
Commit ebfcf0a9 authored by comfyanonymous's avatar comfyanonymous
Browse files

Fix issue.

parent 85865158
......@@ -185,7 +185,7 @@ def should_use_fp16():
if torch.cuda.is_bf16_supported():
return True
props = torch.cuda.get_device_properties()
props = torch.cuda.get_device_properties("cuda")
if props.major < 7:
return False
......
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