fix dtype
diff --git a/fooocus_extras/ip_adapter.py b/fooocus_extras/ip_adapter.py
index 668d69b5d..aa555495c 100644
--- a/fooocus_extras/ip_adapter.py
+++ b/fooocus_extras/ip_adapter.py
@@ -227,10 +227,10 @@ def patcher(n, context_attn2, value_attn2, extra_options):
 
                 for ip_conds, cn_stop, cn_weight in tasks:
                     if current_step < cn_stop:
-                        ip_k_c = ip_conds[ip_index * 2].to(device=ip_adapter.load_device, dtype=ip_adapter.dtype)
-                        ip_v_c = ip_conds[ip_index * 2 + 1].to(device=ip_adapter.load_device, dtype=ip_adapter.dtype)
-                        ip_k_uc = ip_unconds[ip_index * 2].to(device=ip_adapter.load_device, dtype=ip_adapter.dtype)
-                        ip_v_uc = ip_unconds[ip_index * 2 + 1].to(device=ip_adapter.load_device, dtype=ip_adapter.dtype)
+                        ip_k_c = ip_conds[ip_index * 2].to(q)
+                        ip_v_c = ip_conds[ip_index * 2 + 1].to(q)
+                        ip_k_uc = ip_unconds[ip_index * 2].to(q)
+                        ip_v_uc = ip_unconds[ip_index * 2 + 1].to(q)
 
                         ip_k = torch.cat([(ip_k_c, ip_k_uc)[i] for i in cond_or_uncond], dim=0)
                         ip_v = torch.cat([(ip_v_c, ip_v_uc)[i] for i in cond_or_uncond], dim=0)
diff --git a/fooocus_version.py b/fooocus_version.py
index 1a1ed238d..8be74caf1 100644
--- a/fooocus_version.py
+++ b/fooocus_version.py
@@ -1 +1 @@
-version = '2.1.08'
+version = '2.1.09'
