From 6cc8b6d7d98d7f918ed91bee3d121228d5705771 Mon Sep 17 00:00:00 2001 From: V-E-D Date: Wed, 16 Apr 2025 00:30:46 +0530 Subject: [PATCH] fix typo __getitem__ --- bitsandbytes/functional.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitsandbytes/functional.py b/bitsandbytes/functional.py index 44203708b..cf3dd3342 100644 --- a/bitsandbytes/functional.py +++ b/bitsandbytes/functional.py @@ -584,7 +584,7 @@ def __init__( self.state2 = state2 self.nested = state2 is not None - def __get_item__(self, idx): + def __getitem__(self, idx): """ ensures compatibility with older quant state scheme with nested lists. assumes the following layout: