Remove tmp code

This commit is contained in:
Sergey Borisov 2024-08-06 04:32:24 +03:00 committed by Kent Keirsey
parent 68f993998a
commit 17ff8196cb

View File

@ -218,8 +218,8 @@ class LoKRLayer(LoRALayerBase):
self.w1 = values.get("lokr_w1", None) self.w1 = values.get("lokr_w1", None)
if self.w1 is None: if self.w1 is None:
self.w1_a = values.get("lokr_w1_a", None) self.w1_a = values["lokr_w1_a"]
self.w1_b = values.get("lokr_w1_b", None) self.w1_b = values["lokr_w1_b"]
else: else:
self.w1_b = None self.w1_b = None
self.w1_a = None self.w1_a = None