fix formatting

This commit is contained in:
Ean Garvey
2023-06-21 09:26:33 -05:00
parent 918eba6524
commit bf6fcc353a

View File

@@ -304,13 +304,12 @@ def set_init_device_flags():
or ("vulkan" not in args.device and "cuda" not in args.device)
):
args.use_tuned = False
elif (
args.height != args.width
and 'rdna2' in args.iree_vulkan_target_triple
args.height != args.width and "rdna2" in args.iree_vulkan_target_triple
):
args.use_tuned = False
elif base_model_id not in [
"Linaqruf/anything-v3.0",
"dreamlike-art/dreamlike-diffusion-1.0",