Skip to content

Commit 3afecf7

Browse files
committed
Fix dumb bug
1 parent 4220642 commit 3afecf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exllamav2/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ def process_module(module, x, last_state):
639639
attn_params = ExLlamaV2Attention.Params(batch_size, seq_len, past_len, input_mask, position_offsets)
640640
last_state = None
641641

642-
if hasattr(self, 'layers'):
642+
if hasattr(self, 'layers_list'):
643643
for i, idx in enumerate(self.layers_list):
644644
module = self.modules[idx]
645645
x, last_state = process_module(module, x, last_state)

0 commit comments

Comments
 (0)