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: