Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
bitsandbytes
Commits
b9827962
Unverified
Commit
b9827962
authored
Apr 16, 2025
by
Vedant
Committed by
GitHub
Apr 15, 2025
Browse files
fix typo __getitem__ (#1597)
parent
0cafa7f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bitsandbytes/functional.py
bitsandbytes/functional.py
+1
-1
No files found.
bitsandbytes/functional.py
View file @
b9827962
...
@@ -584,7 +584,7 @@ class QuantState:
...
@@ -584,7 +584,7 @@ class QuantState:
self
.
state2
=
state2
self
.
state2
=
state2
self
.
nested
=
state2
is
not
None
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.
ensures compatibility with older quant state scheme with nested lists.
assumes the following layout:
assumes the following layout:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment